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
Juan Linietsky
0aa7242624
WIP new AudioServer, with buses, effects, etc.
2017-01-21 19:01:00 -03:00
Ferenc Arn
6f4f9aa6de
Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible.
...
Also inlined some more math functions.
2017-01-16 13:36:33 -06:00
Rémi Verschelde
f44ee891be
Style: Fix statements ending with ';;'
2017-01-16 08:49:52 +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
de8cc309d6
Renamed button functions to be more verboes, same with Range unit value -> ratio
2017-01-13 14:08:30 -03: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
83cb84753f
Renamed most signals so they refer to:
...
-An action being requested to the user in present tense: (ie, draw, gui_input, etc)
-A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
2017-01-12 00:51:08 -03:00
Juan Linietsky
e9bb65db81
-All types have editable script now in properties
...
-Changed clip to a property in Control which can be set by the user
2017-01-09 15:50:59 -03:00
Juan Linietsky
94ee7798ce
-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter
2017-01-08 19:54:19 -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
920947f297
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
2017-01-08 16:28:12 -03:00
Juan Linietsky
0f7af4ea51
-Changed most project settings in the engine, so they have major and minor categories.
...
-Changed SectionedPropertyEditor to support this
-Renamed Globals singleton to GlobalConfig, makes more sense.
-Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-05 09:16:00 -03:00
Juan Linietsky
b085c40edf
-Conversion of most properties to a simpler syntax, easier to use by script
...
-Modified help to display properties
GDScript can still not make use of them, though.
2017-01-04 01:16:14 -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
b530904038
Merge pull request #7341 from bruno-ortiz/master
...
Bugfixes for Tree node
2017-01-02 15:53:43 +01:00
Rémi Verschelde
f50afe81d8
Merge pull request #7385 from bojidar-bg/tree-range-drag-lock
...
Fix #7098 by not accepting right clicks while dragging the range
2017-01-02 14:38:25 +01:00
Bruno Ortiz
4b9a96859b
Making deselect work for TreeItem when select_mode is SELECT_SINGLE and item_selected is now properly emitted
2017-01-02 11:26:37 -02: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
Bojidar Marinov
d40eb1565e
Fix #7098 by not accepting right clicks while dragging the range
2016-12-28 23:20:54 +02:00
volzhs
f33e21e7af
Show visual notice for visibility on Scene Dock
2016-12-28 22:12:08 +09:00
eska
31f929caa2
Clarify a NULL comparison
...
'TreeItem::get_children()' does not return the child count, but rather
a pointer to the children.
This comparison caused an error during WebAssembly builds using the
LLVM backend path.
2016-11-13 15:27:17 +01:00
volzhs
fd9aebd4fa
Fix to focus or rename node by double click
2016-11-01 22:26:29 +09:00
Rémi Verschelde
28b0e9a56c
Merge pull request #6553 from pkowal1982/treecheckbox
...
Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK
2016-10-09 13:54:36 +02:00
Pawel Kowal
dd4f2a2ccb
Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK
2016-09-19 23:07:24 +02:00
Pawel Kowal
9e5aaa27bc
Add scrolling to Tree control in Drag and Drop mode
2016-09-17 21:29:55 +02:00
Juan Linietsky
fb4d6d1db0
More visual script improvements
...
-Added anti-aliasing on lines
-Improved draw performance enormously
-Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30 23:46:41 -03:00
Rémi Verschelde
01d5163b6f
Merge pull request #6220 from volzhs/issue-5789
...
Make LineEdit not to cover whole line when rename node
2016-08-29 19:04:49 +02:00
Rémi Verschelde
23cb5efe7c
Merge pull request #5956 from djrm/tree_behavior
...
Double click on scene tree element to focus currently selected node
2016-08-29 18:28:05 +02:00
volzhs
2e5a4cb5ca
Show last added action on Input Map and implement InputEvent "=="
2016-08-28 15:18:13 +09: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
volzhs
ff22db3b21
Make LineEdit not to cover whole line when rename node
2016-08-23 05:46:11 +09:00
Juan Linietsky
9151eb591d
Changed the way the step decimals are computed to a safer way, fixes many issues.
2016-07-26 17:25:10 -03:00
Ovnuniarchos
10be575aa1
TreeItem.set_button exposed.
2016-07-16 22:36:19 +02:00
Franklin Sobrinho
5708006340
Fix tree drawing the pressed stylebox in all buttons in the column
2016-07-10 19:03:43 -03:00
Juan Linietsky
1d6be8b00d
Changed tree so shift-selection skips folded children, closes #5515
2016-07-09 13:15:45 -03:00
Rémi Verschelde
454b210242
Remove unused variables (third pass) + dead code
...
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:16:21 +02:00
Franklin Sobrinho
5c3c87206b
Fix TreeItem range editing by dragging on the inspector
2016-07-04 12:14:49 -03:00
Juan Linietsky
89bb72b2d3
Only emit item_selected once per Tree row, closes #5280
2016-06-30 17:52:32 -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
1555608276
fix how some display values are shown, fixes #4953
2016-06-11 22:16:40 -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
Juan Linietsky
bed3efb17e
New reworked AnimatedSprite!
...
-New SpriteFrames editor, with support for drag&drop, multiple animation
sets, animation speed and loop.
-New AnimatedSprite, with support for all the new features!
AnimatedSprite3D has not been updated yet.
-Added support for drag&drop to other editors, such as resourcepreload,
sample library, etc.
2016-05-14 23:48:45 -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
Ignacio Etcheverry
1e752c0120
Fix wrong return and argument types in documentation
2016-05-04 15:35:09 +02:00
Franco Eusébio Garcia
a735573327
Add math/script expression evaluation in editor ( #3620 )
...
Rebase of #453
2016-05-01 10:33:32 +02:00
Saracen
44fe74bfc3
Fix cursor getting locked on tree control if tree is cleared while modifying numerical element.
2016-03-17 23:10:09 +00:00