Commit Graph

3998 Commits

Author SHA1 Message Date
Bojidar Marinov 6dcd1354c2 Add a `sleeping_state_changed` signal to RigidBody and RigidBody2D classes
Closes #3911
2016-04-06 17:14:38 +03:00
Bojidar Marinov b7d79c93f4 Fix PopupMenu and MenuButton not activating items with shortcut inside submenus 2016-04-06 15:42:50 +03:00
Bojidar Marinov 4af1839073 Fix Ctrl+LaunchMedia showing up as a shortcut for "Make Bones"
Close #4044
2016-04-06 15:42:50 +03:00
Rémi Verschelde 9dc620f6a2 Bind Z key (without modifiers) to toggle wireframe in 3D view
Bind Z key (without modifiers) to toggle wireframe in 3D view
2016-04-06 14:17:02 +02:00
Bojidar Marinov 8ee8802cbe Bind Z key (without modifiers) to toggle wireframe in 3D view
Fixed #4124
2016-04-06 14:24:35 +03:00
Paul Batty 646e089782 Fixed text edit undo and redo operation interaction 2016-04-06 08:36:29 +02:00
SaracenOne f303e3483d Fixes errors occurring when switching to a new scene with a spatial editor from a canvas editor. 2016-04-06 08:34:34 +02:00
sunnystormy 3ebde34d8f Added rotation/panning support for trackpads in 3D mode #53 2016-04-06 08:15:34 +02:00
Paulb23 c7519f091d Ability to change the caret color 2016-04-05 17:06:56 +01:00
Rémi Verschelde 8688723923 Merge pull request #4231 from Paulb23/selection_undo_fix
Fixed undoing twice when removing selection and 'complex' typo in method name
2016-04-05 17:00:57 +02:00
Paulb23 fc9f9adcb2 Member variable syntax highlighting 2016-04-05 15:50:54 +01:00
Paulb23 971c3be52d Fixed 'complex' typo in method name 2016-04-05 14:30:00 +01:00
Paulb23 15f43149e1 Fixed undoing twice when removing selection 2016-04-05 13:52:18 +01:00
Alexander Holland a8ebd43ab7 dictionary has_all 2016-04-04 18:37:43 +02:00
Rémi Verschelde 9c89d3e042 Separate help pages from scripts by default
Fixes #4199
2016-04-04 07:32:00 +02:00
Luiz Paulo de Vasconcellos 1b6f14d810 Change toggle comment behaviour. Fixes #4198 2016-04-04 07:31:39 +02:00
Rémi Verschelde 72825ecdca Merge pull request #4191 from leezh/progressbar_minsize
Progress bar minsize now checks percent_visible
2016-04-04 07:31:03 +02:00
Rémi Verschelde e971112f4a Merge pull request #4218 from Paulb23/text_edit_insert_mode
Fixed insert mode interaction with selection and autocomplete
2016-04-03 19:29:26 +02:00
MSC 391095e0ef memdelete 'joy_thread' + 'joy_mutex' on ::~joystick_linux() 2016-04-03 19:24:39 +02:00
MSC 7a9998370f free Material 'shadow_material_double_sided' on ::finish() 2016-04-03 19:24:14 +02:00
Paulb23 a984adb5a6 Fixed insert mode interaction with auto complete 2016-04-03 15:21:16 +01:00
Paulb23 fe779d4386 Fixed insert mode removing first unselected character 2016-04-03 14:54:54 +01: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
Rémi Verschelde e7572c690a Switch Mac version to 2.1-dev too 2016-04-02 22:22:02 +02:00
Paul Batty 50aa78210c Function syntax highlighting 2016-04-02 21:46:42 +02:00
Rémi Verschelde 0a5472e697 Remove trailing spaces 2016-04-02 20:26:12 +02:00
Rémi Verschelde 48f057ea81 Merge pull request #4193 from Paulb23/text_edit_insert_mode
Added insert mode to text editor
2016-04-02 20:25:24 +02:00
Rémi Verschelde 35865139e1 Merge pull request #4184 from Paulb23/toggle_line_numbers
Option to toggle line numbers.
2016-04-02 20:21:34 +02:00
Rémi Verschelde 23cf6a85bd Port 2D demos to TSCN/TRES formats
Part of #4196.
2016-04-02 14:39:08 +02:00
Paulb23 2b57cb94da Added insert mode to text editor 2016-04-01 13:48:38 +01:00
Rémi Verschelde 4eb49cc732 Fix last two bindings in input_mapping demo
Also connect the signal from script, as it makes it easier to understand
than by having to check the connected signals via the GUI.
2016-04-01 08:39:18 +02:00
Rémi Verschelde 3cc7b6fa5d Merge pull request #4194 from HeartoLazor/timerpause
Now the timer could be paused
2016-04-01 07:38:49 +02:00
Hearto Lazor 995890d5b2 Now the timer could be paused
pause with: set_active(true/false)
is paused with: is_active()
2016-03-31 18:23:16 -03: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
Zher Huei Lee 0bba09c4cb Progress bar minsize now checks percent_visible
Allows for really thin progress bars such as for pixel-art styles.
2016-03-31 12:58:07 +01:00
Sergey Lapin eae5169dfd Now parameters can be changed real time 2016-03-31 12:44:35 +03:00
Sergey Lapin e4fea5d5f9 Added speed setting 2016-03-31 12:44:25 +03:00
Sergey Lapin 8d7a94389a InverseKinematics node, basic features
I don't already know how the fuck it works, but it is.
A bit slow currently, but hope to improve it soon.

The current limitations:

1. No constraints. At all.
2. Used simplest CCD algorithm, I just can't believe
in jacobian construction from code.
3. Slow to get to target.
2016-03-31 12:43:00 +03:00
Rémi Verschelde 8708a284f7 Merge pull request #4179 from Adjective-Object/master
inherit PKG_CONFIG_PATH from environment
2016-03-30 20:36:09 +02:00
Paulb23 474911c533 Option to toggle line numbers 2016-03-30 19:16:52 +01:00
Maxwell Huang-Hobbs 32391ffd73 inherit PKG_CONFIG_PATH from environment 2016-03-30 10:44:58 -04:00
Rémi Verschelde 6b64b26f0e Merge pull request #4156 from JoshuaGrams/match-docs
doc/base/classes.xml: String.match, Node.find_node
2016-03-30 12:47:15 +02:00
Rémi Verschelde f293503a98 Merge pull request #4150 from Paulb23/number_syntax_highlighting
Fixed numbers not highlighting after space
2016-03-30 12:36:42 +02:00
Rémi Verschelde 44ee7c238e Merge pull request #4149 from Paulb23/save_scene_flicker_issue_4118
Fix for issue #4118
2016-03-30 11:52:40 +02:00
Josh Grams ef08fed277 doc/base/classes.xml: String.match, Node.find_node
Clarify wildcard behavior.
2016-03-27 08:21:14 -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
Paulb23 cd07badee3 Fixed numbers not highlighting after space 2016-03-26 22:03:27 +00:00
Paulb23 9d74b76a69 Stopped save scene flicker, issue 4118 2016-03-26 20:32:36 +00: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