kobewi
8f52320310
Only switch to node when not dragging it
...
(cherry picked from commit 95bbffff48
)
2022-05-24 00:06:20 +02:00
Haoyu Qiu
78ec40e9ff
Fix incorrect separators in Scene tree menu
2022-05-22 23:19:21 +08:00
kobewi
e1c74ae83f
Implement Scene Unique Nodes
2022-04-26 13:55:48 +02:00
Vitika9
77a386aa08
Removed extra separator in absence of ChangeType and Rename
...
(cherry picked from commit 46ca4737f1
)
2022-03-28 23:44:56 +02:00
Haoyu Qiu
b1044b9b86
Add property name style toggle to Inspector
2022-03-28 17:10:41 +08:00
fire540
a5b9f9f1ed
[3.x] Fix Create Root Node dialog expanding in favorites tab
2022-01-21 11:45:43 -06:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Rémi Verschelde
02d9ac1071
i18n: Sync template with current 3.x codebase
...
Weblate will now track the state of `3.x` to prepare for the 3.5 release.
2022-01-07 13:30:21 +01:00
Rémi Verschelde
94184d8039
Merge pull request #56426 from V-Sekai/foreign_scene_child_node_fix_3_x
2022-01-06 12:51:50 +01:00
SaracenOne
2056e8b028
Prevent saving branches in foreign scenes
2022-01-06 10:16:18 +00:00
kobewi
664f36308a
Add drag and drop for NodePaths
...
(cherry picked from commit acf563e59f
)
2022-01-06 00:23:08 +01:00
kobewi
f874df58f7
Allow to copy foreign nodes
...
(cherry picked from commit bd6e9e0d6e
)
2021-12-21 11:27:44 +01:00
Pedro J. Estébanez
4f38a9e4d6
Stop asuming a default value of NIL means there's no default
...
(cherry picked from commit 18663aa305
)
2021-12-21 11:27:14 +01:00
Hugo Locurcio
0f4b0cb3dd
Use Enter instead of F2 as an editor renaming shortcut on macOS
2021-11-12 20:50:38 +01:00
Rémi Verschelde
6f4858f184
Modules: Make sure to include modules_enabled.gen.h
where needed
...
Fixes #51677 .
Co-authored-by: Arkadiusz Marcin Kołek <aksoftware91@gmail.com>
2021-11-12 13:45:33 +01:00
Pedro J. Estébanez
76b7d23a10
Unify determination of default property values
2021-11-08 11:17:49 +01:00
kleonc
047108a4ca
SceneTreeDock Ensure to deactivate multi edit when selection changes to a single node
...
(cherry picked from commit 5d25115e80
)
2021-09-29 11:05:05 +02:00
Aaron Franke
6c4928fe69
[3.x] Allow disabling the RegEx module in the editor
2021-09-21 08:49:17 -05:00
kobewi
0da326c8b3
Save branch as scene by dropping to filesystem
...
(cherry picked from commit d4f4cfbb40
)
2021-09-20 13:03:29 +02:00
Lightning_A
63581fccc3
Focus the scene tree dock after hitting one of the "Create Root Node:" buttons
...
(cherry picked from commit 285024e806
)
2021-08-12 16:43:23 +02:00
kobewi
d2034fc269
Fix Change Node Type after Add Node Here
...
(cherry picked from commit 31a81562a8
)
2021-07-24 00:52:32 +02:00
Rémi Verschelde
b4282c8435
Merge pull request #50700 from KoBeWi/3.drop
...
[3.x] Assign value to property by dropping to scene tree
2021-07-22 12:42:13 +02:00
kobewi
559b3a59bb
Assign value to property by dropping to scene tree
2021-07-21 15:40:19 +02:00
PouleyKetchoupp
8185c5fe8a
Optimize NodePath update when renaming or deleting nodes in the editor
...
Now the process uses a Map to lookup node pointers instead of iterating
over all modified node paths in a list and comparing them for each
property to check.
The process also avoids checking properties with empty node paths and
does an early exit on deleted nodes to avoid checking the node and its
descendants.
Also made a minor change in NodePath::rel_path_to() to avoid resizing a
Vector many times for long paths (with copy-on-write each time). Now
it's down to 2 resize calls in any case.
2021-07-09 11:43:05 -07:00
kobewi
ff7cae4c4c
Allow to create a node at specific position
2021-07-07 13:19:59 +02:00
PouleyKetchoupp
5a66ab1ef4
Coding style fix in editor NodePath update
...
Added r_ prefix for reference arguments that can be modified.
(cherry picked from commit 62ce81ec15
)
2021-07-06 11:10:47 +02:00
PouleyKetchoupp
daa0977c68
NodePath properly updated in the editor in more cases
...
Fix more cases of node path needing an update when nodes are renamed or
moved in the editor.
Built-in node properties:
Before, node paths were checked only for script export variables. Now
all properties are checked from the node, which includes built-in node
properties.
Allows proper node path updates for nodes like remote transform, physics
joints, etc.
Arrays and dictionaries:
Node paths nested in array and dictionary properties are now also
updated in the editor.
Also update the documentation to be clear about node path update in the
editor and at runtime.
Co-authored-by: latorril <latorril@gmail.com>
(cherry picked from commit 3e4e530523
)
2021-07-06 11:10:47 +02:00
Marcel Admiraal
5a58516231
Remove duplicate ERR_PRINTS macro
2021-06-16 11:56:25 +01:00
kobewi
6ce63017d5
Don't remap resources belonging to instance
...
(cherry picked from commit 8e8398209e
)
2021-06-07 22:35:38 +02:00
Kyle
b47cd82f76
Add ctrl+shift+a to instance scene in scenetree dock
...
Adds another key shortcut to instance a scene in the scentree dock. Complements ctrl+a to add a node.
(cherry picked from commit ea5445655c
)
2021-05-09 17:47:38 +02:00
Kyle
629c3e2a0a
Remove extra separator
...
Removes an extra separator when Scene Tree Editing is disabled. Discussed in #48518
(cherry picked from commit e168baf433
)
2021-05-09 17:14:36 +02:00
Kyle
f711464030
Fixed cut/copy/paste visibility
...
Fixes #48514 by moving the visibility of these buttons into their own if statement that depends on if scene tree editing is allowed. Previously it was under the script editing setting which is unexpected as it works with nodes and the scene tree.
(cherry picked from commit 10d5d4d3cd
)
2021-05-09 17:14:36 +02:00
Rémi Verschelde
140350d767
Style: Enforce braces around if blocks and loops
...
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2021-05-05 15:02:01 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Rémi Verschelde
64a63e0861
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
3d15f04668
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
6e600cb3f0
Style: Set clang-format Standard to c++14
2021-05-04 14:45:15 +02:00
Rémi Verschelde
880b830ca8
Merge pull request #46292 from hilfazer/nested_scene_instances_duplication
2021-04-29 13:31:27 +02:00
Rafał Mikrut
06976c3e84
[3.x] Fix crashes when using _input functions
2021-04-27 16:51:29 +02:00
Hugo Locurcio
58393b544b
Tweak error messages for the Save Branch as Scene editor option
...
See https://github.com/godotengine/godot-proposals/issues/2433 .
(cherry picked from commit 4c8f458c90
)
2021-04-26 13:07:59 +02:00
Bhuvan Vemula
1c1ec81455
instance-scene: make parent as edited_scene if no parent selected.
...
(cherry picked from commit 9eb3546f38
)
2021-04-23 21:52:21 +02:00
Hugo Locurcio
8e54573dfc
Add a tooltip to document performance issues of the Remote scene tree
...
(cherry picked from commit 6d2f5ee244
)
2021-04-14 13:29:59 +02:00
hilfazer
8a7d0d3ce0
Prevent 'Change Type' on nodes from an instanced scene
...
(cherry picked from commit e28cc34db8
)
2021-02-26 15:26:31 +01:00
hilfazer
c76e832b1c
Support for duplication of nested instanced scenes
2021-02-21 18:34:52 +01:00
kobewi
637117c8d1
[3.2] Add node copy-paste
2021-02-13 14:27:36 +01:00
kobewi
9b4c18ac59
Unify single and multiscene instancing
...
(cherry picked from commit 881c8da0a0
)
2021-01-26 17:00:14 +01:00
Rémi Verschelde
bc47a8ae00
Merge pull request #39533 from hilfazer/editable-children-bugfixes
...
Fix Editable Children issues with node renaming, moving, duplicating and instancing.
2021-01-18 12:31:12 +01:00
Rémi Verschelde
49646383f1
Update copyright statements to 2021
...
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
(cherry picked from commit b5334d14f7
)
2021-01-13 16:17:06 +01:00
Pedro J. Estébanez
2997a3aa23
Fix cases of resources destroyed too early
2021-01-06 20:25:05 +01:00