Giwayume
9432efb7d0
Fix texture atlas generation when source sprite is larger than generated atlas
2021-11-18 10:05:59 -05:00
kobewi
6f929395d9
Add [theme_item] tag to editor help
2021-11-18 15:32:23 +01:00
Hugo Locurcio
8fb7e622a6
Rename built-in SGN()
macro to SIGN()
...
This matches the name of the GDScript function (except it's uppercase
here).
2021-11-16 20:40:49 +01:00
Nathan Lovato
a5d0a74b65
Make bezier handle type a property of keyframes, update interface
...
- Replaced unused code related to old close icon with a button
- Add bezier handle options to right-click menu
- Remove mirror handle mode, only keep balanced
- Update animation reference
2021-11-16 09:26:35 -05:00
Rémi Verschelde
bef20f53cf
Merge pull request #54422 from ibrahn/project-manager-nophys
2021-11-16 11:06:46 +01:00
Rémi Verschelde
974afa7262
Merge pull request #54926 from Chaosus/fix_debugger_reset
2021-11-16 08:42:00 +01:00
Hugo Locurcio
14d8ea767d
Tweak the built-ins color highlighting in the shader editor (take 2)
...
The new color is more distinguishable from other variables and
symbols.
2021-11-15 23:40:57 +01:00
Yuri Roubinsky
a673e8ae18
Fix debugger tab which don't resetting after pressing clear button
2021-11-15 20:51:25 +03:00
Rémi Verschelde
c24c7cac57
Revert "Load assets before enabling editor plugins"
...
This reverts commit 1963c63b91
.
Fixes #52968 , fixes #52995 .
2021-11-15 16:08:19 +01:00
Rémi Verschelde
0121ce97df
Merge pull request #54953 from Calinou/animation-editor-use-different-icon-eased-keys
2021-11-15 14:06:33 +01:00
Hugo Locurcio
d7cd44418d
Use a different icon for eased keyframes in the animation editor
...
This makes easing tracks easier to recognize, in a way similar
to curved lines in the Path2D editor.
2021-11-15 13:16:21 +01:00
Rémi Verschelde
5341e6010e
Allow dehardcoding documentation branch and URL in docs links
...
This makes it possible to change the branch of the documentation that
URLs are pointing to without having to modify all class reference
files.
In the XML class reference, the `$DOCS_URL` placeholder should be used,
and will be replaced automatically in the editor and when generating
the RST class reference.
The documentation branch string is set in `version.py`.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-11-15 13:02:21 +01:00
Rémi Verschelde
9e1c190ce1
Merge pull request #54851 from Calinou/skeleton-2d-editor-swap-rest-pose-actions
2021-11-15 10:56:37 +01:00
reduz
cd2a499084
Add path to functions that return iporter options
...
-Allows displaying custom options for specific file format variants
-Added support for scene format import to retrieve custom options
This PR is necessary for #54886 to be implemented properly.
2021-11-14 14:06:10 -03:00
Aaron Franke
ed9c7bf450
Allow creating .gitignore and .gitattributes when creating a new project
...
Also allow creating these files later, and also allow disabling creating the default environment in editor settings.
2021-11-12 21:27:31 -06:00
Aaron Franke
3c0fdcc8ac
Use "enum class" for input enums
2021-11-12 15:37:54 -06:00
Rémi Verschelde
4f85cad013
Merge pull request #54924 from Calinou/editor-macos-rename-shortcut-enter
2021-11-12 22:33:19 +01:00
Camille Mohr-Daurat
74facb6d39
Merge pull request #54803 from goostengine/shape-cast-2d
...
Add `ShapeCast2D` node
2021-11-12 13:28:44 -07:00
Hugo Locurcio
7cc33b14c9
Use Enter instead of F2 as an editor renaming shortcut on macOS
2021-11-12 20:50:23 +01:00
Andrii Doroshenko (Xrayez)
f979d5977a
Add ShapeCast2D
node
2021-11-12 21:29:30 +02:00
Aaron Franke
2ad3d1bd7a
Make OpenSimplex and VisualScript modules not depend on the editor
2021-11-12 12:03:54 -06:00
Gilles Roudière
1224d7a25c
Implement texture padding in TileSetAtlasSources
2021-11-12 15:14:10 +01:00
Rémi Verschelde
57ae154e86
Merge pull request #53987 from groud/tile_data_inspector_plugin
2021-11-12 15:10:54 +01:00
Rémi Verschelde
88c4380737
Modules: Make sure to include modules_enabled.gen.h where needed
2021-11-12 13:42:58 +01:00
Rémi Verschelde
a54bd6e868
Merge pull request #53914 from Chaosus/shader_default_texture_param
2021-11-12 12:23:34 +01:00
Yuri Roubinsky
826e781bfa
Fix default_texture_param in shader pipeline to support uniform arrays
2021-11-12 12:53:40 +03:00
kobewi
688f42c691
Fix node naming in scene tree dock
2021-11-11 22:30:41 +01:00
Rémi Verschelde
9547d6d543
Merge pull request #54874 from lyuma/fix_other_importer
2021-11-11 13:43:31 +01:00
Lyuma
37c11e4159
Fix import_scene_from_other_importer and import_animation_from_other_importer
2021-11-11 03:24:51 -08:00
Rémi Verschelde
2beaae4b6f
String: Remove erase
method, bindings can't mutate String
2021-11-11 11:23:32 +01:00
Hugo Locurcio
4ff1431993
Swap rest pose actions in the Skeleton2D editor
...
The texts were changed before, but the actions weren't swapped around.
This led to unexpected behavior.
2021-11-10 23:39:59 +01:00
Rémi Verschelde
7211012c4f
Merge pull request #54745 from KoBeWi/find_in_scenes
2021-11-10 22:08:24 +01:00
Rémi Verschelde
68664c0239
Merge pull request #54836 from pycbouh/inspector-plugins-fixes-and-groups
2021-11-10 22:06:30 +01:00
Rémi Verschelde
a6412e132a
Merge pull request #54660 from Chaosus/vs_particles_mesh_emitter
2021-11-10 19:55:25 +01:00
Rémi Verschelde
35c4cad7ad
Merge pull request #54838 from groud/fix_editor_import_plugin
2021-11-10 18:09:57 +01:00
Gilles Roudière
8de0f969bf
Fix EditorImportPlugin logic for checking unimplemented methods
2021-11-10 16:33:11 +01:00
Yuri Sizov
2e4d18c929
Fix EditorInspectorPlugin virtual bindings and add parse_group callback
2021-11-10 17:56:59 +03:00
Rémi Verschelde
284b50cf30
Merge pull request #54662 from KoBeWi/now_with_reloading
...
Properly reload built-in tool scripts
2021-11-09 23:00:35 +01:00
Rémi Verschelde
06a33e590f
Merge pull request #53819 from TokageItLab/re-implement-ping-pong
...
Reimplement ping-pong animation and reverse playback
2021-11-09 22:11:04 +01:00
kobewi
75e8eafa72
Properly reload built-in tool scripts
2021-11-09 21:58:06 +01:00
Rémi Verschelde
efea3128c3
Merge pull request #54808 from Calinou/editor-frametime-display-more-decimals
...
Display 2 decimals instead of 1 in editor frametime labels
2021-11-09 21:52:37 +01:00
Rémi Verschelde
46780aaa0f
Merge pull request #54694 from briansemrau/rem-silly-obj-error
...
Prevent obj importer from printing misleading error
2021-11-09 21:49:11 +01:00
Rémi Verschelde
e3f3fc517a
Merge pull request #54653 from KoBeWi/built_in_scripts_deserved_that
...
Improve save handling for built-in scripts
2021-11-09 21:46:58 +01:00
K. S. Ernest (iFire) Lee
081c1ceda4
Merge pull request #51341 from V-Sekai/fps-30
...
Default to 30 animation fps for better quality.
2021-11-09 10:55:15 -08:00
Hugo Locurcio
f61ee47a2e
Display 2 decimals instead of 1 in editor frametime labels
...
When comparing different graphics settings or optimizations,
this makes precise measurements and frametime comparisons easier.
2021-11-09 17:17:55 +01:00
K. S. Ernest (iFire) Lee
f4204ac8e0
Default to 30 animation fps for better quality.
2021-11-09 08:13:45 -08:00
Rémi Verschelde
eb98fd9442
Merge pull request #54788 from rcorre/orbit_clamp
2021-11-09 14:15:48 +01:00
Ryan Roden-Corrent
3bd7c4f2a9
Clamp rotation for up/down orbiting shortcuts.
...
This prevents the viewport from going upside-down.
This was suggested at:
https://github.com/godotengine/godot/pull/51984#issuecomment-948614191 :
> For 3.4, I think we can just clamp the angle value when using the
> camera orbiting shortcuts. We can investigate what to do with panning
> and freelook in 3.5 and 4.0.
2021-11-09 06:50:39 -05:00
Rémi Verschelde
d9a74fd07f
Merge pull request #54372 from bruvzg/text_edit_ui
2021-11-09 00:13:25 +01:00
Rémi Verschelde
6c4737341d
Merge pull request #54649 from bruvzg/shadows
2021-11-09 00:07:41 +01:00
bruvzg
ba9d737363
Fix incorrect encoding (Latin-1 instead of UTF-8) used in _error_handler
functions.
2021-11-08 23:45:08 +02:00
Hendrik Brucker
ed0337c0b9
Several Gradient improvements
2021-11-08 19:11:36 +01:00
Rémi Verschelde
665fa3d839
Merge pull request #52943 from RandomShaper/property_pin_control_natural
2021-11-08 18:53:08 +01:00
Yuri Roubinsky
4a32754e78
Merge pull request #54715 from goostengine/gradient-texture-1d-rename
2021-11-08 20:52:24 +03:00
Pedro J. Estébanez
8d6f80d367
Add property value pinning
2021-11-08 17:42:30 +01:00
kobewi
953a9be2d9
Improve Add Node Here popup
2021-11-08 14:02:33 +01:00
Rémi Verschelde
0b0f7fa9ef
Merge pull request #54275 from Calinou/editor-tweak-animation-editor-icon-colors
2021-11-08 13:32:32 +01:00
kobewi
31644fe280
Properly handle scenes in Find in Files
2021-11-08 02:28:55 +01:00
kobewi
134e4d168b
Improve save handling for built-in scripts
2021-11-07 23:51:12 +01:00
kobewi
8144ac79cf
Fix editor saving blank scenes (for real)
2021-11-07 16:38:56 +01:00
Pedro J. Estébanez
1806ec7c14
Unify determination of default property values
2021-11-07 15:27:47 +01:00
Andrii Doroshenko (Xrayez)
6742a338a8
Rename GradientTexture
to GradientTexture1D
...
1. Explicit and unambiguous when comparing to `GradientTexture2D`
2. Consistent with other class names where 1D is used in the engine.
2021-11-07 15:11:04 +02:00
Brian Semrau
bd0d15c5be
Prevent obj importer from printing misleading error
2021-11-06 22:12:36 -04:00
kobewi
313ef412f5
Fix preview sun and environment names
2021-11-07 00:40:15 +01:00
kobewi
0f7d7c9ffb
Show mouse position when clicking ruler tool
2021-11-07 00:00:52 +01:00
Yuri Roubinsky
80b563672b
Added MeshEmitter
node for particles in visual shader
2021-11-06 17:45:38 +03:00
bruvzg
5f9cd9ccbc
Fix Label and RichTextLabale text shadows and shadow outlines.
2021-11-06 10:22:09 +02:00
Rémi Verschelde
13aaa73124
Merge pull request #54573 from nekomatata/query-parameters
2021-11-05 21:52:39 +01:00
Brian Semrau
a90e318a19
Fix previews sometimes displaying wrong/blank image
2021-11-05 12:58:14 -04:00
Rémi Verschelde
56cfebbe98
Merge pull request #54599 from Chaosus/vs_particles_2d_emitters
2021-11-05 12:01:36 +01:00
Yuri Roubinsky
dcdf59cd73
Added 2D boolean hint for particle emitters in visual shaders
2021-11-05 12:45:57 +03:00
Brian Semrau
ac24070056
Use Callable in RS::request_frame_drawn_callback
2021-11-05 01:59:38 -04:00
PouleyKetchoupp
acbd24ea84
Use parameter classes instead of arguments for all physics queries
...
Same as what is already done for shape queries, applied to point and ray
queries. Easier to document and more flexible to add more parameters.
Also expose intersect_point method to script in 3D.
Remove intersect_point_on_canvas in 2D, replaced with a parameter.
2021-11-04 11:44:39 -07:00
David Cambré
c977adbd3b
Update usabilaty of the CustomPropertyEditor
...
Structure button layout so there is no more overlap.
2021-11-04 16:42:08 +01:00
kobewi
9abb07efb4
Ignore external editor for built-in scripts
2021-11-04 14:30:04 +01:00
kobewi
e393c2a734
Add is_built_in() method to Resource
2021-11-04 12:45:58 +01:00
kobewi
64a2681cf0
Allow to name built-in scripts upon creation
2021-11-04 02:34:35 +01:00
Hugo Locurcio
c012fbc8b2
Rename PROPERTY_USAGE_NOEDITOR
to PROPERTY_USAGE_NO_EDITOR
...
This is consistent with other constants that include `NO`,
such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03 23:06:17 +01:00
Rémi Verschelde
a2803f3d86
Merge pull request #54072 from KoBeWi/hrcr_is_ded
2021-11-03 17:31:48 +01:00
Rémi Verschelde
bbee193957
Merge pull request #52781 from KoBeWi/node's_favorite_shader
2021-11-03 16:33:50 +01:00
kobewi
07065d67e1
Infer shader type based on edited node
2021-11-03 15:27:38 +01:00
Rémi Verschelde
804406fcaf
i18n: Sync classref translations with Weblate
...
German (de) is now above the threshold for inclusion.
(cherry picked from commit 0b694eb8e7
)
2021-11-03 15:06:09 +01:00
Rémi Verschelde
3447e0dd19
i18n: Sync editor translations with Weblate
...
Latvian (lv) is now above the threshold for inclusion.
(cherry picked from commit 74bcf37f90
)
2021-11-03 15:06:02 +01:00
Silc 'Tokage' Renew
953a7bce7e
reimplement ping-pong
2021-11-03 13:39:33 +09:00
Yuri Sizov
67cbca341a
Add a flag to EditorResourcePicker to differentiate selection contexts
2021-11-02 14:35:15 +03:00
Chained Lupine
79d4edfca7
Fix crash in ResourceImporterTexture::_save_stex if webp disabled
...
Fixes #51535 .
2021-11-02 09:17:54 +01:00
Rémi Verschelde
0fbf53dbc5
Merge pull request #54387 from Calinou/editor-translations-increase-zlib-compression-level
2021-11-01 23:22:55 +01:00
Rémi Verschelde
29a66f7b04
Merge pull request #54491 from Calinou/project-manager-fix-vulkan-choice
...
Fix new projects always being created with OpenGL
2021-11-01 23:07:21 +01:00
Rémi Verschelde
529968df30
Merge pull request #54396 from groud/implement_terrain_other_brushes
2021-11-01 22:27:06 +01:00
Hugo Locurcio
665d29c16d
Fix new projects always being created with OpenGL
...
Only Vulkan is fully implemented for now, so OpenGL isn't available
in the project manager yet.
This also makes the rendering driver checks use lowercase names
everywhere for consistency.
2021-11-01 22:04:36 +01:00
Rémi Verschelde
0bf3204d89
Merge pull request #54379 from Anutrix/editor-default-float-step
2021-11-01 18:12:54 +01:00
Rémi Verschelde
4d96d37ca2
Merge pull request #54476 from bruvzg/monterey_create_instance
2021-11-01 14:12:33 +01:00
Rémi Verschelde
eae34230c8
Merge pull request #54419 from Chaosus/vs_cut
2021-11-01 14:05:46 +01:00
Rémi Verschelde
54bedc4674
Merge pull request #54475 from groud/fix_tileset_editor_drag_and_drop
2021-11-01 12:27:20 +01:00
bruvzg
0b6b8427c8
[macOS] Add create_instance
function to spawn editor copies.
...
[macOS] Modify `create_project` function to detect and run app bundles using NSWorkspace to ensure app window is registered and activated correctly.
2021-11-01 11:48:23 +02:00
Gilles Roudière
699f020f1d
Fix TileSet editor drag and drop not working
2021-11-01 10:22:41 +01:00
Rémi Verschelde
efbbd14af3
Merge pull request #54443 from briansemrau/threadsafe-toast
...
Make editor toasts threadsafe
2021-11-01 09:37:11 +01:00
Rémi Verschelde
0b667e6c27
Merge pull request #54288 from Razoric480/fix-key-up-down-idle-frame
2021-10-31 23:20:10 +01:00
Rémi Verschelde
1dd742777a
Merge pull request #53452 from aaronfranke/who-let-the-docs-out
2021-10-31 23:18:32 +01:00
Rémi Verschelde
16dc607f8a
Merge pull request #54307 from Calinou/add-opengl-renderer-squash
...
Add OpenGL renderer (squashed)
2021-10-31 18:30:38 +01:00