Commit graph

76 commits

Author SHA1 Message Date
Pedro J. Estébanez
9b2e2935d0 Refactor node naming APIs used by editor
Make 'name_num_separator' a project setting
Make all node operations separator-aware
2016-10-08 21:49:16 +02:00
Pedro J. Estébanez
88a32c11f1 Fix reparent undo not renaming back 2016-10-08 21:49:15 +02:00
Juan Linietsky
f51b202566 Modified resource menu for node scripts so it always goes through the new script wizard. 2016-09-12 19:32:09 -03:00
Daniel J. Ramirez
70c9979cce Double click on scene tree element to focus currently selected node
In 3D it will focus in the first viewport
Enable double click for trees
2016-08-27 17:15:49 -05:00
Juan Linietsky
b77200728e -Added yield nodes to visual script
-Added input selection nodes to visual script
-Added script create icon for those who miss it, will only appear when it can be used.
2016-08-07 19:22:33 -03:00
Juan Linietsky
d8af6330e5 More progress on visual script editing 2016-08-03 11:28:43 -03:00
Paulb23
d7910f44d8 Added Scene tree dock shortcuts 2016-08-01 17:02:40 +01:00
Rémi Verschelde
990a23e48e Merge pull request #5821 from TheHX/issue-5795
Improved FileSystem dock "Instance" option
2016-07-23 22:53:41 +02:00
Juan Linietsky
3aeafcae04 Removed support for saving paths as relative, closes #5728
Editor now has good refactoring tools, so this function is mostly obsolete
2016-07-22 10:39:46 -03:00
Franklin Sobrinho
53beeb774b "FileSystem" dock now instance all selected scenes in one action 2016-07-21 11:10:44 -03:00
Franklin Sobrinho
2a97d79a64 Fix crash when dropping scene as a sibling of the root node 2016-07-18 15:00:14 -03:00
Franklin Sobrinho
c6a0b0dab3 Fix custom types showing on wrong dialogs
* The custom types are visible when the dialog is shown
2016-07-10 08:19:15 -03:00
Rémi Verschelde
3fcb9b1ec1 Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:59 +02:00
Rémi Verschelde
1b9433594e SceneTreeDock: Fix wrong argument in _has_visible_children
Seen while checking for unused variables, which `child` was.
2016-07-07 08:37:38 +02:00
Juan Linietsky
a41a70ea3e Many fixes to scene tree node dragging, closes #5341 2016-06-30 23:19:44 -03:00
Juan Linietsky
ba5bc57816 Figured out a way to fix event propagation for shortcuts and some other cases so they properly stop shortcuts if a modal window is open, closes #4848 2016-06-27 20:14:59 -03:00
Juan Linietsky
d76ee09774 property remove parent owned nodes when using replace, fixes #4128 2016-06-20 22:57:07 -03:00
Daniel J. Ramirez
bcd55503b4 Added shortcuts to scene tree dock 2016-06-19 14:35:20 -05:00
Juan Linietsky
9b9580f568 -fix bug in scene tree dragndrop reparenting, closes #4712, closes #4633, closes #4628
-avoid editor scrollable areas to scroll if touchscreen ui hint is turned on
2016-06-18 15:30:44 -03:00
Juan Linietsky
1785f6939f Ability to discard instancing from menu, closes #4903 2016-06-11 23:00:06 -03:00
Juan Linietsky
3ae61f2292 Created a NodeDock with signals and groups 2016-06-04 13:19:08 -03:00
Juan Linietsky
26332479d3 Signals became a tab
added icons to contextual scene tree menu
2016-06-03 21:03:22 -03:00
Juan Linietsky
8be2fabbe5 Changed import workflow
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Juan Linietsky
e843e74d39 General docks clean up
-Moved path box above in fs dock
-Remove up/down button and added reordering with DND of favorites
-Changed zoom icon to be centered vertically
-Made filter for files always visible
-Added some options to TextureFrame for better alignment/stretching
2016-05-23 23:24:32 -03:00
volzhs
9e1ee568a6 use node name as filename when save scene
fix #4723
2016-05-23 22:27:58 +09:00
Hubert Jarosz
33403d91f7
remove trailing whitespace 2016-05-21 15:29:25 +02:00
Rémi Verschelde
00d8f86044 i18n: Second pass at proofreading
Mostly removing commented out strings, plus a few critical ones
that should not be translated.
2016-05-21 01:27:27 +02:00
Rémi Verschelde
94c34ff890 i18n: Proofreading of all strings
Done to ensure that no important identifiers are translatable,
to fix compound strings using the new vformat() function, and
some general English proofreading here and there.
2016-05-21 00:21:57 +02:00
Juan Linietsky
c195c0df6b -Added configuration warning system for nodes
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00
Rémi Verschelde
68dc685f1f Merge pull request #4652 from Paulb23/node_duplication_position
Node duplication positions under duplicated node, issue #964
2016-05-17 09:14:23 +02:00
Juan Linietsky
a0dd7ec171 Missing translatable strings 2016-05-16 13:19:55 -03:00
Juan Linietsky
f9d615ee87 Contextualized Scene Tree menu
-Added context menu to Scene Tree Dock
-Removed Buttons
-Added a filter to search for nods more easily in the dock
2016-05-16 12:23:58 -03:00
Juan Linietsky
a2c4c17085 Experimental Right Mouse Button menu for SceneTree
Will eventually replace the buttons of that dock, so please test it!
2016-05-15 23:41:48 -03:00
Paulb23
aee156dc02 Node duplication positions under duplicated node, issue 964 2016-05-13 20:05:52 +01:00
Juan Linietsky
0c57a58056 ability to drag scenes from filesystem to tree for instancing 2016-05-11 20:57:52 -03:00
Juan Linietsky
d7318f6965 -begun implementing drag & drop editor wide
-filesystem dock dnd support
-property list dnd support
-scene tree dnd support
2016-05-11 11:59:03 -03:00
Juan Linietsky
567cb691ec Modified editor strings to be translatable in the future 2016-05-03 22:25:37 -03:00
Ignacio Etcheverry
3029f5ee02 Keep editable instances data when replacing tree root node 2016-04-12 20:49:43 +02:00
hodes
7a1d7af332 Enables the possibility of editing on multiple plugins at same time on same object type. 2016-04-02 20:39:35 -03:00
Juan Linietsky
74a48a0140 -Massive editor dialog cleanup
-Added a bottom menu list
2016-01-17 20:03:57 -03:00
Rémi Verschelde
d64a9526cd Merge pull request #2928 from akien-mga/pr-subscene-icon-in-dock
Moved subscene creation from scene menu to an icon on the scene dock
2016-01-15 14:34:39 +01:00
Juan Linietsky
eab1e5b596 small hack to make collisionobjects work with replace, fixes #2992 2016-01-12 05:54:45 -03:00
Juan Linietsky
84f96eb523 -New reparent option "keep global transform" on reparent dialog. It is enabled by default. Closes #2284 2016-01-02 11:57:47 -03:00
George Marques
5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Rémi Verschelde
bf5453e429 Remove padding in bottom HBoxContainer of scene tree dock
This way the new "Create new scene from node(s)" button does not make the bar overflow
2015-12-19 10:41:45 +01:00
Rémi Verschelde
20efb48101 Moved subscene creation from scene menu to an icon on the scene dock
Based on @Fiona's PR #2220.
The previous "subscene" concept is also renamed to "new scene", as those subscene are just like regular scenes.
2015-11-27 21:42:48 +01:00
neikeq
62b9659c41 Import Sub-Scene as root's child if no node is selected 2015-11-23 20:22:42 +01:00
Juan Linietsky
fe449a6235 Merge pull request #2445 from TheHX/issue_2113
Possible fix for crash on replacing Path2D node (#2113)
2015-11-19 00:22:53 -03:00
Juan Linietsky
35959f9c5a -fixes to ring buffer (fixes network error)
-fixes to invalid disabling of commands on scene tree dock
2015-10-21 16:52:43 -03:00
Juan Linietsky
85a611d1cd -fixes disability to remove instanced nodes when reopening scene. Fixes #2610 2015-10-17 15:48:42 -03:00