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
Juan Linietsky
8b1dcbfe4d
-Made editor support SSL certs by default (embedded them)
...
-Made asset sharing support https
-Many fixes to HTTPRequest
-Added an asset installer dialog
-Visual cleanups to asset sharing tab
-Fixed some issues in ScrollContainer, hope it does not break things
-Asset sharing tab is not visible (hidden on purpose) for now.
2016-03-12 10:46:38 -03:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Juan Linietsky
6349c50f5a
-Add some offset to spinboxes in tree, so revert icon does not annoy much when pops up, fixes #3415
2016-02-02 20:44:42 -03:00
Franklin Sobrinho
05a85894da
Fix Tree Slider disappearing when clicking on it
2016-01-27 12:24:49 -03:00
Franklin Sobrinho
66eb28b945
Fix wrong position of LineEdit in Scene editor
2016-01-26 16:03:28 -03:00
Juan Linietsky
5a1593951b
-Added a "modal_close" signal for controls
...
-Used it to keep changes on lineedit when focused out
2016-01-23 11:45:36 -03:00
Juan Linietsky
579ec65d36
Revert "Tree and PropertyEditor confirm value change on focus loss"
2016-01-23 11:20:54 -03:00
Rémi Verschelde
23be1d8639
Merge pull request #3407 from TheHX/pr-issue-1717
...
Tree and PropertyEditor confirm value change on focus loss
2016-01-21 19:33:50 +01:00
Franklin Sobrinho
06cafeac0a
Tree and PropertyEditor confirm value change on focus loss
2016-01-21 13:03:06 -03:00
Ignacio Etcheverry
bd6f7a411c
Fix wrong local mouse pos when holding spinbox and improve behaviour
2016-01-21 14:09:30 +01:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
Juan Linietsky
d1a799f744
-fix range limit issue in Particles2D, closes #2411
2015-12-31 15:18:03 -03:00
Rémi Verschelde
d4993b74fc
Add missing argument names in GDScript bindings
...
All classes were reviewed apart from VisualServer for which no argument name is documented at all.
While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
2015-12-28 02:13:05 +01:00
eska
a028840ea5
Fix editing TreeItem cells in range mode
...
- Show slider when editing range mode tree cells per mouse input
- Hide slider after using keyboard controls to edit range mode tree cells
2015-12-10 23:53:19 +01:00
neikeq
d4051e6eb9
Spinbox: increase/decrease with mouse held
2015-12-10 15:44:16 +01:00
Juan Linietsky
b4f88eb4b6
Merge pull request #2735 from TheHX/fix_tree_checkbox
...
Fix Tree checkbox check/uncheck behavior
2015-11-18 18:59:02 -03:00
Juan Linietsky
8420c24f7f
-better integration of ndee's theme
2015-11-13 20:56:44 -03:00
Franklin Sobrinho
8d48cf95b9
Add Tree checkbox check/uncheck behavior when pressing enter
2015-11-05 12:20:45 -03:00
Mariano Javier Suligoy
553edf1f25
Merge branch 'master' of https://github.com/okamstudio/godot
...
# Solved Conflicts:
# scene/gui/spin_box.cpp
# scene/gui/tree.cpp
2015-08-30 19:39:36 -03:00
Mariano Javier Suligoy
680402cebf
Add missing icons, also make MSVC2010 happy
2015-08-30 19:37:23 -03:00
Juan Linietsky
947b283248
-fix compile issue (pow)
...
-ask user for track to call nodes when adding call track
2015-08-30 10:10:51 -03:00
Juan Linietsky
7bc9846f16
-multi-selection (shift-click) working in scene tree
2015-08-29 23:46:32 -03:00