Commit Graph

62 Commits

Author SHA1 Message Date
Tomasz Chabora a019641e73 Deselect hidden nodes on filter 2019-05-26 20:05:02 +02:00
PouleyKetchoupp 3f174c86d0 Fixed scene tree update after changing node name in tool script 2019-05-24 15:27:22 +02:00
Rémi Verschelde e0574e1d98 Fix typos with codespell
Using codespell 1.15.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-05-19 13:10:35 +02:00
Sintinium d1fa546dc9 Undo support for locking and grouping for both 2D and 3D 2019-04-26 18:16:59 -05:00
Rémi Verschelde db3dd67d47
Merge pull request #28130 from JFonS/add_3d_grouping
Add grouping to 3D editor
2019-04-21 09:30:15 +02:00
JFonS 42043a22e8 Add grouping to 3D editor 2019-04-17 18:24:28 +02:00
Michael Alexsander Silva Dias 75bbd8259a Fix styling in 'SceneTreeDialog'
Fixes #28029.
2019-04-15 20:21:51 -03:00
Juan Linietsky 9f4b5a91c0 Reorganized connection dialog for much improved ease of use.
-Removed dest path field
-Added a "Source" signal
-Added an "Advanced" button to hide complexity
-Fix bug on Tree to make sure "ensure visible" works on hidden trees
-Fix bug on TextEdit to ensure signals created with script not open sill focus the right line
2019-04-11 23:23:24 -03:00
qarmin 2bc6ad670b Fix toggle visibility in SceneTreeDialog 2019-03-13 11:19:51 +01:00
Michael Alexsander Silva Dias 73aaf06be7 Cleanup relationship line coding after 5f079e2 2019-03-06 14:33:26 -03:00
Juan Linietsky 5f079e2ef9 -Make tileset and meshlibrary edit in a separate inspector, fixes #26671
-Made relationship lines appear based on theme settings, not previous hack
-Fix drawing of relationship lines (was broken)
-Fix double initialization of theme settings
2019-03-06 12:12:42 -03:00
Ankit Priyarup ee560dd987 Invalid node name should check if new_name is empty then cancel rename, fixes 25226 2019-01-29 22:21:50 +05:30
Rémi Verschelde b16c309f82 Update copyright statements to 2019
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Michael Alexsander Silva Dias b86b497cec General fixes for the AnimationTree editor 2018-12-17 21:03:58 -02:00
Rémi Verschelde 7ac67bfec1
Merge pull request #23464 from GameCoderStudios/master
Ability to pick child nodes of scenes instances marked with "Editable…
2018-12-14 18:41:47 +01:00
Juan Linietsky 0f7a86ca52 If using relationship lines (now default) hide guides. 2018-11-18 22:00:31 -03:00
Angeloss c15919fd6b Ability to pick child nodes of scenes instances marked with "Editable children" to the "Add animation track/Pick node to be animated" dialog. 2018-11-02 17:29:03 -06:00
Silvano Cerza 839f3d5eeb Warning dialog is now shown if trying to set Node name to empty string
If the user tried to change a Node name to an empty string in the Scene
Tree Editor an error would be returned to console, now a warning dialog
is shown with a clear message
2018-10-30 12:44:54 +01:00
QbieShay 9de3924fea fixed visibility toggle with node selection
before this PR toggling visibility of not selected nodes would toggle
the visibility of the whole selection.
This PR changes this behaviour, so if visibility is toggled on a node
that it is not selected, the visibility toggle will happen only on this
node.
No changes to the behaviour of when one of the selected nodes has
visibility toggled: they still toggle all together
2018-10-14 19:33:34 +02:00
willnationsdev 5436abefe4 Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
Rémi Verschelde 277b24dfb7 Make core/ includes absolute, remove subfolders from include path
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
Rémi Verschelde 52466d57e9 Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
Alexander Holland b7db3a69b8 Fix update 2D view on selections in scene tree 2018-08-23 14:27:06 +02:00
Juan Linietsky eeab3502d5 Changes to how node paths are selected from property, allowing setting a hint. 2018-06-27 20:50:25 -03:00
Juan Linietsky b659fd6d74 Entirely new (and much improved) animation editor. 2018-06-07 12:52:00 -03:00
Michael Alexsander Silva Dias 589f18a374 Minor changes to the Scene and Canvas editors' tooltips. 2018-05-29 13:21:26 -03:00
volzhs bcb24a0bb7 Respect visibility change by Scene dock when using Sync Scene Changes
Fix #18757 with keeping a feature introduced at 8343c9fbd
2018-05-15 23:13:48 +09:00
volzhs 6758b6c131 Check invalid node name 2018-05-03 00:00:06 +09:00
Poommetee Ketson 2de1dfa42f Update icons when theme changed 2018-02-25 23:04:16 +07:00
volzhs 36aa62802a Draw relationship line on scene tree dock if option is on 2018-02-20 22:26:40 +09:00
Rémi Verschelde 3fd4a35ce6
Merge pull request #15235 from sersoong/master-batchtoggle
Enhanced Toggle Visibility button in scene tree editor
2018-02-18 17:20:15 +01:00
Rémi Verschelde e4213e66b2 Add missing copyright headers and fix formatting
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
sersoong 8343c9fbd9 Enhanced Toggle Visibility button 2018-01-04 09:01:51 +08:00
Rémi Verschelde b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Rémi Verschelde f73f10dd7e
Merge pull request #14652 from hoelzl/pr-moved-instanced-children
Prevent users from moving instanced children
2017-12-16 00:38:52 +01:00
Daniel J. Ramirez dcad7042dc Updated icons
[ciskip]
2017-12-14 15:49:27 -06:00
Matthias Hoelzl ce24b149d3 Prevent users from moving instanced children 2017-12-14 17:49:02 +01:00
Stefano Bonicatti cad2fc7ba9 Fix SceneTreeEditor crashing when calling _deselect_items
The crash can be triggered for instance by trying to reparent a node
and clicking on the background of the Reparent Node window.
2017-12-10 22:41:54 +01:00
Dmitry Koteroff b8b5bb6577 Scene Tree Dock: added ability to deselect items when clicking on empty space 2017-11-26 18:30:48 +03:00
Rémi Verschelde d1831915bf
Merge pull request #12359 from kubecz3k/spatial-lock
ability to lock spatial nodes transform in editor
2017-11-20 16:02:20 +01:00
Juan Linietsky a5c3e3084a When script changes, defer tree updating. Fixes #9704 2017-11-15 10:41:31 -03:00
Jakub Grzesik 518d907914 ability to lock spatial nodes transform in editor 2017-11-11 12:56:37 +01:00
Daniel J. Ramirez dbc37afcd9 Added and improved some icons, plus some other minor visual fixes. 2017-10-12 14:43:11 -05:00
Daniel J. Ramirez b622c92fad Removed most of the custom colors from the interface. 2017-09-25 21:43:20 -05:00
letheed 5ad9be4c24 Rename pos to position in user facing methods and variables
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:

* pos -> position
* rot -> rotation
* loc -> location

C++ variables are left as is.
2017-09-20 13:11:10 +02:00
Rémi Verschelde bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Andreas Haas 6134d8741d Editor: Add some more translatable strings. 2017-08-25 18:49:45 +02:00
Hein-Pieter van Braam cacced7e50 Convert Object::cast_to() to the static version
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.

This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.

It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Andreas Haas a80371ce0a
SceneTreeEditor: Fix node_selected signal emission.
Fixes #10131
2017-08-20 00:20:27 +02:00
Daniel J. Ramirez 273d2ab9d4 Several ui improvements (mostly margins)
Improved colors

Added some missing icons
2017-08-08 11:44:37 -05:00