Josh Grams
1b95dca6bd
AnimationTreePlayer (set_active, reset, constructor): seek all animations to start.
2016-04-06 15:07:58 -04:00
Josh Grams
5d6b58fea6
AnimationTreePlayer (_process_node): more robust oneshot termination condition.
2016-04-06 15:06:42 -04:00
Josh Grams
0a9c8a9f36
AnimationTreePlayer (_process_node:TIMESEEK): allow auto-advance with 0 xfade.
2016-03-31 12:12:05 -04:00
Josh Grams
7fe28d4168
AnimationTreePlayer (_process_node:TIMESEEK): give p_seek precedence over tsn->seek_pos.
2016-03-31 10:06:38 -04:00
Josh Grams
8920ab0fbf
* AnimationTreePlayer (_process_node): remove switched
argument.
...
The _process_node function (which recurses through the blend tree
generating blend values and the active animation list) had an argument
named `switched` which would loop an animation back to the beginning if
it had reached the end (regardless of whether or not it was supposed to
be a looping animation).
This argument was only used in four places: two of them were overridden
by a seek-to-zero, and I believe the other two are bugs.
In OneShot, it was used to reset the oneshot animation to the beginning
when fired. But this would fail if the oneshot node was fired before it
had completed its previous run. While this *could* be a valid way for
oneshot to work (firing does nothing if it's already running), the code
currently resets the fade-in, so I believe that it is intended to reset.
I replaced this usage with seek-to-0.
In Transition, it was used on the previous (fading out) animation when
seeking the Transition node, which I believe is incorrect: why would you
want to loop a non-looping animation instead of simply fading out from
the end? Also it will never happen unless you seek the Transition node
twice during one cross-fade.
The other two uses are in Transition and _process_animation, where it is
used along with a seek-to-zero which overrides it.
2016-03-27 07:19:05 -04:00
Rémi Verschelde
15d1fca061
Merge pull request #4102 from SaracenOne/dynamic_margin_properties
...
Dynamic property list for control margins
2016-03-23 09:36:18 +01:00
Rémi Verschelde
e8ee4f7973
Merge pull request #4115 from Paulb23/number_syntax_highlighting
...
Syntax highlighting for numbers
2016-03-22 07:34:08 +01:00
sanikoyes
0c6f089ce4
Fix GDScript crash when call show/hide in func _exit_tree
2016-03-22 12:46:33 +08:00
Paulb23
c844c2d604
Syntax highlighting for numbers
2016-03-21 15:45:38 +00:00
Saracen
d8392dd117
Dynamic property list for control margins allowing floating point properties to be used with ratio anchors.
2016-03-20 05:59:18 +00:00
Rémi Verschelde
b8daa7e6e6
Merge pull request #4095 from neikeq/pr-bind-add_spacer
...
BoxContainer: Bind method add_spacer(bool)
2016-03-19 13:55:04 +01:00
Rémi Verschelde
bf13f29b15
Merge pull request #4094 from neikeq/pr-fix-4062
...
TextEdit: Fix Shift+Delete shortcut not calling cut()
2016-03-19 13:54:02 +01:00
Ignacio Etcheverry
0571f961a8
BoxContainer: Bind method add_spacer(bool)
2016-03-19 13:37:07 +01:00
Ignacio Etcheverry
abb720438f
TextEdit: Fix Shift+Delete shortcut not calling cut()
2016-03-19 13:22:44 +01:00
Bojidar Marinov
2a581835ca
Fix issues with tilemap covering child nodes and old quadrants
...
Closes #4070
2016-03-18 18:57:26 +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
Paulb23
9c0e1524e5
Fixed highlighting when word occurs as substring first
2016-03-17 20:35:04 +00:00
Paulb23
4cc3fbeaff
Fixed highliting with shift and mouse
2016-03-17 19:37:19 +00:00
Paulb23
b0488cacf2
Highlight all occurrences of selected word
2016-03-16 21:20:42 +00:00
Ignacio Etcheverry
fac027cb14
LineEdit/TextEdit: Add Shift+Delete shortcut for cut
2016-03-15 13:03:38 +01:00
Ignacio Etcheverry
4dfd0c1863
TextEdit: Fix inconsistent copy, cut and paste behaviour
2016-03-15 13:02:38 +01:00
Rémi Verschelde
aec4f57f95
Merge pull request #3528 from SaracenOne/baked_light_realtime_colourize
...
Ability to colourize baked lighting in real time.
2016-03-15 10:22:09 +01:00
Rémi Verschelde
c1a1adae28
Merge pull request #4051 from AlexHolly/fileeditor-open-any
...
(editor)filedialog open file and dir MODE_OPEN_ANY
2016-03-15 08:45:01 +01:00
Rémi Verschelde
86c6a4a8f6
Merge pull request #4056 from TheHX/issue-1423
...
Automatically create input node when creating a ShaderGraph
2016-03-14 20:08:44 +01:00
Franklin Sobrinho
5ee67ba498
Automatically create input node when creating a ShaderGraph
2016-03-14 15:24:12 -03:00
Rémi Verschelde
c30bebd1d3
Merge pull request #4017 from Paulb23/set_tab_size
...
Added configurable tab size in the text editor.
2016-03-14 17:12:15 +01:00
Paulb23
9234bd3ff9
Added configuable tab size
2016-03-14 15:13:45 +00:00
Alexander Holland
751c1deef1
(editor)filedialog mode open any
2016-03-14 16:03:18 +01:00
Rémi Verschelde
8b9596b7bf
Merge pull request #4035 from TheHX/item-list
...
Add icon region support for ItemList
2016-03-13 23:52:27 +01:00
Saracen
b2e471fd7c
Undo and redo commands on text editor now affect internal version which fixes inconsistent file saving validation.
2016-03-13 20:08:12 +00:00
Franklin Sobrinho
1f07fe5502
Add icon region support for ItemList
2016-03-13 12:51:19 -03: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
Rémi Verschelde
6e86a05350
Merge pull request #4012 from sanikoyes/Pr-linke-fail-disable-3d
...
Fix link error when disable_3d=yes
2016-03-11 07:11:23 +01:00
sanikoyes
a638af886e
Fix link error when disable_3d=yes
2016-03-11 10:01:56 +08:00
Bojidar Marinov
bac875be66
Fix a crash when running a game with Controls with a tools build
...
Regression from #3997
TOOLS_ENABLED is defined, even when running from editor, but EDITOR_DEF SEGFAULTs
2016-03-10 21:01:49 +02:00
Rémi Verschelde
aaad24e6fb
Merge pull request #3865 from Marqin/coverity
...
[Coverity] fixed 11 of 537 potential bugs found by Coverity
2016-03-10 16:15:49 +01:00
Rémi Verschelde
6ef3c3b645
Merge pull request #3980 from JoshuaGrams/timescale-remainder
...
TimeScale node: scale return value (time remaining).
2016-03-09 20:17:13 +01:00
Bojidar Marinov
0e8a8d2cb1
Add option to keep margins when changing anchors, closes #3979
...
Amend: Fixed an issue for non-tool builds
Amend2: Same, just fixed doing nothing at some times
2016-03-09 21:14:17 +02:00
Josh Grams
65b7791263
TimeScale node: return +inf remaining for 0 scale.
2016-03-09 06:57:28 -05:00
Hubert Jarosz
7b07bcaf44
fix six possible "divide by zero"
2016-03-09 00:18:23 +01:00
Hubert Jarosz
bf7f9244a9
fix two reading uninitialized pointers
...
fixed in:
tools/editor/project_settings.cpp
scene/gui/graph_edit.cpp
2016-03-09 00:16:56 +01:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Rémi Verschelde
1dad6eca81
Merge pull request #3991 from JoshuaGrams/issue-3711
...
Issue 3711
2016-03-08 23:54:46 +01:00
Josh Grams
2fa200ff53
AnimationTreePlayer: distinguish value tracks.
...
If the node had a 3D Transform, the transform would always get written,
even if the tracks on that node were supposed to be value tracks.
2016-03-08 17:23:32 -05:00
Juan Linietsky
9157a13aef
Merge pull request #3969 from Paulb23/scroll_past_end_of_file
...
Enabled scrolling past end of file in text editor.
2016-03-08 15:34:21 -03:00
Saracen
7fecebd8a8
Added extra controls to GeometryInstances to control how they should cast shadows: double-sided and shadows only.
...
Conflicts:
servers/visual/visual_server_raster.h
2016-03-07 23:14:14 +00:00
Josh Grams
2e1b1234a3
TimeScale node: scale return value (time remaining).
2016-03-07 17:21:07 -05:00
Rémi Verschelde
20308c0475
Merge pull request #3919 from chuckeles/open-lines-below-above
...
Open line below and above
2016-03-07 20:33:05 +01:00
Paulb23
f19eea2f2d
Enabled scrolling past end of file
2016-03-07 02:32:51 +00:00
Franklin Sobrinho
1d188c1c7b
Fix Sprite doesn't updating region_rect value in certain conditions
2016-03-05 12:30:09 -03:00