Commit graph

70 commits

Author SHA1 Message Date
Rémi Verschelde
49c065d29c Refactoring: rename tools/editor/ to editor/
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00
Hein-Pieter van Braam
411ee71b4d Rename the _MD macro to D_METHOD
This new name also makes its purpose a little clearer

This is a step towards fixing #56
2017-02-13 12:50:02 +01:00
Andreas Haas
a043ce7304
2D Editor: Don't show lock icons for hidden nodes.
Now we only draw those icons for visible Nodes.
Fixes #7518
2017-01-19 17:11:00 +01:00
Ray Koopa
faa13adad3 Fix editor method calls to is_visible for Spatial and CanvasItem and is_visible itself for Spatial 2017-01-18 22:00:00 +01:00
Rémi Verschelde
3890256fc5 Style: Cleanups, added headers, renamed files
Made sure files in core/ and tools/ have a proper Godot license header
when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h}
to rect3.{cpp,h} and class_db.{cpp,h} respectively.

Also added a proper header to core/io/base64.{c,h} after clarifying
the licensing with the original author (public domain).
2017-01-16 08:04:23 +01:00
Rémi Verschelde
93ab45b6b5 Style: Fix whole-line commented code
They do not play well with clang-format which aligns the `//` part
with the rest of the code block, thus producing badly indented commented code.
2017-01-14 14:52:23 +01:00
Juan Linietsky
04c749a1f0 New API for visibility in both CanvasItem and Spatial
visible (property) - access set_visible(bool) is_visible()
is_visible_in_tree() - true when visible and parents visible
show() hide() - for convenience
2017-01-13 10:45:50 -03:00
Juan Linietsky
da477b76a9 some class renames
TextureFrame -> TextureRect
Patch9Frame -> NinePatchRect
ColorFrame -> ColorRect
2017-01-12 18:28:12 -03:00
Juan Linietsky
bc26f90581 Type renames:
Matrix32 -> Transform2D
	Matrix3 -> Basis
	AABB -> Rect3
	RawArray -> PoolByteArray
	IntArray -> PoolIntArray
	FloatArray -> PoolFloatArray
	Vector2Array -> PoolVector2Array
	Vector3Array -> PoolVector3Array
	ColorArray -> PoolColorArray
2017-01-11 00:52:51 -03:00
Juan Linietsky
48097f6df3 Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container! 2017-01-10 01:49:55 -03:00
Juan Linietsky
fa170cbc58 PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188 2017-01-08 18:18:54 -03:00
Juan Linietsky
99ceddd11e Editor settings categories are now tidy and beautiful! 2017-01-05 19:41:36 -03:00
Juan Linietsky
118eed485e ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00
Rémi Verschelde
3f3f5a5359 Merge remote-tracking branch 'origin/gles3' into gles3-on-master
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52:26 +01:00
Rémi Verschelde
3e1b5ad223 Merge pull request #7382 from volzhs/fix-visibility
Able to change visibility when ancestor node is hidden
2017-01-02 14:17:42 +01:00
Rémi Verschelde
c7bc44d5ad Welcome in 2017, dear changelog reader!
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
2017-01-01 22:03:33 +01:00
volzhs
f33e21e7af Show visual notice for visibility on Scene Dock 2016-12-28 22:12:08 +09:00
volzhs
792ff11642 Able to change visibility when ancestor node is hidden 2016-12-28 14:27:27 +09:00
volzhs
a192e0785e Show selected node in Scene dock when parent node is folded
Fix #7228
2016-12-02 11:27:17 +09:00
Andreas Haas
a3944e66da
Ability to drag script files from Filesystem dock to SceneTree dock.
Allows to attach scripts by dragging them onto the target Node.
2016-10-27 16:32:41 +02:00
Juan Linietsky
22d83bc9f6 Begining of GLES3 renderer:
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
volzhs
c333659ebc Fix typo for word_wrap 2016-09-30 03:28:05 +09:00
Juan Linietsky
d8af6330e5 More progress on visual script editing 2016-08-03 11:28:43 -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
60f1656fff Fix signals/group button on Scene dock 2016-07-16 18:22:44 -03:00
Juan Linietsky
5065e46381 Change method of storing folding, solves problems with inheritance, closes #3395 2016-06-28 13:10:15 -03:00
UgisBrekis
d97e46ffb6 Adds the ability to draw parent-children relationship lines in scene tree editor
Can be turned on/off in editor settings + line color change available as
well
2016-06-15 18:10:19 +01:00
Juan Linietsky
20b4567829 Merge pull request #5177 from vnen/string-subsequence
Add subsequence search to tools
2016-06-13 13:25:56 -03:00
George Marques
68868aabc6
Add subsequence search to tools
Add it to the following searches:
- Create node.
- Scene tree.
- Inspector properties.
- Classes list in help.
- Quick open.
2016-06-12 14:53:03 -03:00
Juan Linietsky
1785f6939f Ability to discard instancing from menu, closes #4903 2016-06-11 23:00:06 -03:00
Juan Linietsky
d61b91cbe0 -Heavily improved editor startup and exit performance 2016-06-07 22:10:09 -03:00
Juan Linietsky
3ae61f2292 Created a NodeDock with signals and groups 2016-06-04 13:19:08 -03: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
8cb2e1be1b Merge pull request #4690 from volzhs/dnd-visual
Scenetree Nodes drag and drop visual representation
2016-05-17 17:24:36 +02:00
volzhs
3dd722d92f Scenetree Nodes drag and drop visual representation
fixes #4684
2016-05-17 23:27:35 +09:00
volzhs
afd5186ca3 use case insensitive for searching nodes in Scene tree dock
fixes #4674
2016-05-17 23:03:46 +09: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
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
Hubert Jarosz
4a4f247914
remove trailing whitespace 2016-03-09 00:00:52 +01:00
Juan Linietsky
595de75641 -Allow renaming root node of inherited scene 2016-02-09 16:30:50 -03:00
Franklin Sobrinho
081df6e8ba Fix crash when renaming nodes using focus loss 2016-01-26 13:25:04 -03:00
Juan Linietsky
6c27df8df6 -Fixes a bunch of stdout errors, closes #2763 closes #2731 2016-01-23 19:51:51 -03:00
Juan Linietsky
72fcb8a35b -Moved all the "root" input handling for GUI from individual Controls to Viewport.
-Should fix several reported bugs when controls don't have a common parent

This may have added new bugs, so please report if so!
2016-01-16 22:41:10 -03:00
George Marques
5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Franklin Sobrinho
4523a591d3 Double-click item for reparent and choose a node in NodePath dialog 2015-12-13 08:47:54 -03:00
Franklin Sobrinho
553ec52300 Fix message - ERROR: get_path: Condition ' !is_inside_tree() ' is true - when closing the editor 2015-11-28 16:58:10 -03:00