Rémi Verschelde
a2459c7d35
Merge pull request #61610 from TokageItLab/importer-retarget-registered-gdhumanoid
2022-07-02 00:17:21 +02:00
Kirill
924658a849
Stretch image on resize in asset description dialog
2022-07-01 17:17:40 +03:00
Rémi Verschelde
0800d475a4
Merge pull request #62540 from MinusKube/debugger-array-crash
...
Add/fix support for RID, Callable and Signal in editor properties
2022-06-30 23:04:08 +02:00
Voylin
cebdfd1bbd
Fixing Print_rich which only displays correctly in terminal
...
There was an issue that the type was not passed through correctly. These couple of lines fix this issue and make print_rich work as expected.
2022-07-01 04:34:19 +09:00
Silc Renew
dc43cfc830
implement bone renamer in importer
2022-07-01 03:55:28 +09:00
MinusKube
d56185146d
Add editor properties for Callable and Signal
2022-06-30 17:39:10 +02:00
Rémi Verschelde
1e082914e2
Merge pull request #62299 from Calinou/texture-preview-add-mipmap-memory-usage
...
Mention mipmap and memory usage in the texture editor preview
2022-06-30 13:12:09 +02:00
Rémi Verschelde
fd3970f762
Merge pull request #62531 from Faless/fix/4.x_assetlib_is_available
2022-06-30 10:06:17 +02:00
Fabio Alessandrelli
0e504e4191
[AssetLib] Fix crash in Web editor.
...
Add EditorAssetLibrary::is_available which always returns false in the
Web editor and use it in EditorNode for detection.
2022-06-30 01:26:08 +02:00
Rémi Verschelde
047cdc9a9f
Merge pull request #62511 from Chaosus/fix_doc_title_property
...
Fix `help_title_font_size` editor property to correctly apply to docs
2022-06-30 01:25:24 +02:00
Rémi Verschelde
a7e589df38
Merge pull request #62084 from smix8/path_debug_options_4.x
...
Add Path2D/3D debug options
2022-06-29 20:36:43 +02:00
Hugo Locurcio
87c989f98d
Mention mipmap and memory usage in the texture editor preview
...
This is important to quickly determine if a texture is using
unexpectedly high amounts of memory, or to troubleshoot
why mipmap sampling modes have no effect on it.
- Improve readability by increasing outline size and reducing
font size to match the rest of the editor UI.
2022-06-29 17:38:50 +02:00
Yuri Rubinsky
c6f57c30c3
Fix `help_title_font_size` editor property to correctly apply to docs
2022-06-29 15:08:54 +03:00
Rémi Verschelde
5235ce4379
i18n: Sync editor translations with Weblate
...
(cherry picked from commit f29241fa1e
)
2022-06-29 12:12:43 +02:00
Rémi Verschelde
caa9ec8aca
Merge pull request #62489 from qarmin/more_renames
...
More function/class renames in converter
2022-06-28 23:39:33 +02:00
Rafał Mikrut
3ca45b8200
More function/class renames in converter
2022-06-28 18:21:11 +02:00
Voylin
c6291bcd8a
Adding print_rich for printing with BBCode
2022-06-29 00:41:29 +09:00
Rémi Verschelde
4c14bf7482
Merge pull request #62470 from vnen/gdscript-export-nodes
...
GDScript: Enable exporting nodes to the inspector
2022-06-28 08:07:00 +02:00
Rémi Verschelde
b863c40356
Merge pull request #62468 from V-Sekai/core-const-expressions
...
Add a const call mode to Object, Variant and Script.
2022-06-28 01:08:24 +02:00
George Marques
9490146a16
GDScript: Enable exporting nodes to the inspector
...
Also fix an small issue in the property editor for NodePath trying to
use the meta property when not needed.
2022-06-27 18:42:52 -03:00
K. S. Ernest (iFire) Lee
9ddebc0c22
Add a const call mode to Object, Variant and Script.
...
For this to work safely (user not call queue_free or something in the expression), a const call mode was added to Object and Variant (and optionally Script).
This mode ensures only const functions can be called, making it safe to use from the editor.
Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-27 13:33:06 -07:00
Hendrik Brucker
99ce0df3b1
Refactor bezier interpolation functions
2022-06-27 19:42:43 +02:00
Rémi Verschelde
c41e4b10c3
Merge pull request #61954 from KoBeWi/scene_factory 🏭
2022-06-27 14:56:53 +02:00
Rémi Verschelde
bbca1d6530
Fixup #62318 after ResourceCache changes
2022-06-27 14:02:21 +02:00
Rémi Verschelde
09c584990c
Merge pull request #62318 from reduz/simplify-subresource-saving
...
Simplify Subresource Saving
2022-06-27 13:50:49 +02:00
Rémi Verschelde
fbc3777467
Merge pull request #62185 from reduz/export-node-pointer-path
...
Add ability to export Node pointers as NodePaths
2022-06-27 11:14:36 +02:00
Rémi Verschelde
af694245f5
Merge pull request #62221 from ConteZero/drag_and_drop_option
...
Add an option to drag'n'drop selected text in ``TextEdit``
2022-06-26 16:02:52 +02:00
ConteZero
5d56efcaa4
Add an option to drag'n'drop selected text in TextEdit
2022-06-26 15:22:02 +02:00
Rémi Verschelde
16b23ee372
Merge pull request #62248 from Calinou/editor-icons-add-multiplayer-nodes
...
Add editor icons for MultiplayerSpawner and MultiplayerSynchronizer
2022-06-26 08:51:45 +02:00
Rémi Verschelde
2b349141dc
Merge pull request #62250 from Calinou/editor-icons-add-abstract-icons
...
Add editor icons for abstract nodes that can now be added in the editor
2022-06-26 08:49:58 +02:00
Hugo Locurcio
283356c7ee
Add editor icons for MultiplayerSpawner and MultiplayerSynchronizer
...
Co-authored-by: Hendrik Brucker <hendrik.brucker@mail.de>
2022-06-26 05:35:55 +02:00
Hugo Locurcio
8a31a2d25c
Add editor icons for abstract nodes that can now be added in the editor
2022-06-26 05:08:44 +02:00
Rémi Verschelde
295a79c125
Merge pull request #62406 from YeldhamDev/custom_scene_fix
...
Fix error about transient window when running a custom scene
2022-06-25 23:15:36 +02:00
Michael Alexsander
d6f5c5429f
Fix error about transient window when running a custom scene
2022-06-25 16:41:10 -03:00
reduz
b7c41f9ba1
Add ability to export Node pointers as NodePaths
...
This PR implements:
* A new hint: PROPERTY_HINT_NODE_TYPE for variant type OBJECT, which can take specific node types as hint string.
* The editor will show it as a node path, but will set it as a pointer to a node from the current scene if you select a path.
* When scene is saved, the node path is saved, then restored as a pointer.
NOTE: This is a proof of concept and this approach will most likely not work. The reason if that, if the node referenced is deleted, then when trying to edit this the node will become invalid.
Potential workarounds: Since this uses the Variant API, it should obtain the pointer from the Variant object ID. Yet, this would either only really work in GDScript or it would need to be implemented with workarounds in every language.
Alternative ways to make this work: Nodes could export an additional property with a node path (like for which_node, it could be which_node_path).
Another alternative: Path editing could happen as a hidden metadata (ignoring the pointer).
2022-06-25 15:50:15 +02:00
Rémi Verschelde
b192073001
Merge pull request #62309 from reduz/remake-resource-thread-safety
...
Remake ResourceCache thread safety code and API
2022-06-25 14:09:28 +02:00
Rémi Verschelde
dd3de622d8
Merge pull request #62372 from MarcusElg/nosliderrename
...
Rename @export_range's noslider option to no_slider
2022-06-25 14:03:44 +02:00
Hugo Locurcio
5da61d8a4c
Add MJPEG to the list of editor capitalizations
2022-06-24 22:24:21 +02:00
Marcus Elg
6c1ac9f3be
Rename export_range's noslider option to no_slider
2022-06-24 10:45:34 +02:00
Rémi Verschelde
a2b20c15be
Merge pull request #61698 from raulsntos/icon_color-editor-theme
...
Add icon colors to editor theme
2022-06-24 09:09:30 +02:00
Rémi Verschelde
6260ab6a4d
Merge pull request #62349 from KoBeWi/crash_pattern
...
Fix crash when drawing invalid tiles
2022-06-23 22:47:21 +02:00
reduz
9eb5f2a0d7
Simplify Subresource Saving
...
Redo edited subresource (and resource) saving in a much more simplified way.
I think this should work (unless I am missing something) and be faster than what is there.
It should also supersede #55885 .
I am not 100% entirely convinced that this approach works, but I think it should so please test.
2022-06-23 21:25:20 +02:00
Raul Santos
842a3efe84
Add icon colors to editor theme
...
Add `icon_normal_color`, `icon_pressed_color`, and
`icon_disabled_color` to `Button`, `OptionButton`,
`CheckButton`, and `CheckBox`.
2022-06-23 20:02:27 +02:00
Rémi Verschelde
c32285733d
Merge pull request #62323 from Maran23/window-title-changed-data-fix
2022-06-23 15:47:50 +02:00
kobewi
2ccef6616e
Fix crash when drawing invalid tiles
2022-06-23 14:34:23 +02:00
Rémi Verschelde
91b984a507
Merge pull request #61966 from Rindbee/fix-internal-nodes-owned
...
Fix setting owner on internal nodes when save branch as scene
2022-06-23 14:08:12 +02:00
Rémi Verschelde
21b51fdf7e
Merge pull request #61826 from guilhermefelipecgs/fix_leak
...
Fix ObjectDB instances leaked on state machine when editor closes
2022-06-23 09:58:51 +02:00
Haoyu Qiu
084fdee4a2
Add missing TTR in dialog title
2022-06-23 13:13:42 +08:00
Marius Hanl
3b20b9d32a
Update the window title when the project settings were changed or when the unsaved cache was changed (either by editing something or by saving)
...
This makes sure that:
1.) The title is always up-to-date with project settings
2.) The title always reflects the changes made in the editor by showing or hiding the '(*)'
2022-06-22 23:53:52 +02:00
reduz
e772b65d92
Remake resource thread safety and API
...
* Ensures thread safety when resources are destroyed.
* Simplified API by always forcing `ResourceCache::get_ref`, which needs less hacks and is fully thread safe.
* Removed RWLock for resources because its not possible to use for the new logic. Should not be a problem.
Supersedes #57533
2022-06-22 13:46:46 +02:00