Commit graph

1055 commits

Author SHA1 Message Date
Paulb23
aee156dc02 Node duplication positions under duplicated node, issue 964 2016-05-13 20:05:52 +01:00
Juan Linietsky
da7a9aae27 Merge pull request #4096 from neikeq/pr-margin-cont-imp
MarginContainer improvements
2016-05-13 13:13:12 -03:00
volzhs
81b4d38fa7 open directory or file when double click
fixes #4607
2016-05-13 01:22:19 +09:00
MattUV
91c85ff1f5 classref: Fixed return types in Area and Area2D (#4635) 2016-05-12 17:03:15 +02:00
Juan Linietsky
0c57a58056 ability to drag scenes from filesystem to tree for instancing 2016-05-11 20:57:52 -03:00
Rémi Verschelde
b42c4cce0f Merge pull request #4627 from Paulb23/caret_blink_binds
Exposed caret blink to gdscript and properties
2016-05-11 19:05:55 +02:00
Paulb23
dc90cba42e Bind caret blink to gdscript and properties 2016-05-11 17:41:57 +01:00
Rémi Verschelde
7b471068cf Merge pull request #4612 from bojidar-bg/fix-anchor-builds
Fix #4588 (crash in Control::_set_anchor)
2016-05-11 17:46:29 +02: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
Rémi Verschelde
b9b423c1ee Merge pull request #4598 from Paulb23/caret_blink
Added caret blink to the text editor
2016-05-11 09:33:12 +02:00
Bojidar Marinov
0b572b35c2 Fix #4588 (crash Control::_set_anchor)
Thanks to @vnen for testing this
2016-05-10 20:23:58 +03:00
Rémi Verschelde
bc31be9812 Sync classes.xml with current sources
Also fix a typo in the binding of Control::set_drag_forwarding.
2016-05-09 22:20:35 +02:00
Paulb23
e03e7deb1b Added caret blink in text editor 2016-05-09 19:22:11 +01:00
Rémi Verschelde
0dfc4a2029 Merge pull request #4571 from akien-mga/pr-rot-deg
Rotation APIs: Better exposure for degrees methods
2016-05-09 19:08:06 +02:00
Paulb23
9e6234201b Fixed autocomlete strings not appearing for function arguments 2016-05-08 13:18:50 +01:00
Rémi Verschelde
59e68ae6d0 Merge pull request #4557 from Paulb23/autocomplete_truncate_issue_4554
Fixed autocomplete truncate, issue 4554
2016-05-07 20:19:40 +02:00
Paulb23
488495852b Fixed animation player auto-queue duplication and undo/redo 2016-05-07 17:27:52 +01:00
Paulb23
0a2b341d0a Fixed code completion after opening bracket, issue 3977 2016-05-07 12:01:56 +01:00
Rémi Verschelde
4eab767a6f Rotation APIs: Better exposure for degrees methods
Made public the various set/getters for rotations in degrees.
For consistency, renamed the exposed method names to remove the leading
underscore, and kept the old names with a deprecation warning.

Fixes #4511.
2016-05-06 23:38:08 +02:00
Paulb23
accc2a195b Fixed autocomplete truncate, issue 4554 2016-05-05 16:27:05 +01:00
Rémi Verschelde
99e31e1005 Merge pull request #4547 from neikeq/pr-wrong-debug-methods
Fix wrong return and argument types in documentation
2016-05-05 09:27:14 +02:00
Juan Linietsky
f909634832 -make sure single select after multi select works better
-fixed some warnings for OSX
2016-05-04 17:41:58 -03:00
Ignacio Etcheverry
1e752c0120 Fix wrong return and argument types in documentation 2016-05-04 15:35:09 +02:00
Rémi Verschelde
6a4b62e720 Merge pull request #4535 from sanikoyes/Pr-crash-dynamic-font
Fix crash in dynamic font
2016-05-04 08:35:16 +02:00
Juan Linietsky
dd69aeceac Merge remote-tracking branch 'origin/master' 2016-05-03 22:32:38 -03:00
Paulb23
084d0bef96 Autocomplete no longer shows duplicates, issue 1824 2016-05-03 19:48:35 +01:00
Juan Linietsky
c7e8def446 Add ability to send drag events to another object
will be documented/tested later
2016-05-03 11:10:28 -03:00
sanikoyes
c824781e98 Fix crash in dynamic font 2016-05-03 17:25:33 +08:00
Juan Linietsky
78eccd61f8 Revert "added name parameter on animationplayer finished" 2016-05-02 14:22:27 -03:00
Rémi Verschelde
479cfb1d36 Merge pull request #4518 from AlexHolly/animationplayer-finished-name
added name parameter on animationplayer finished
2016-05-02 11:37:40 +02:00
Juan Linietsky
5bb7cef836 Support for dynamic fonts (TTF)
Added support for DynamicFont, which can load a TTF of any size to use
as a font. No import required.
2016-05-01 23:13:06 -03:00
Alexander Holland
f9fafb75dc added name parameter on animationplayer finished 2016-05-02 01:48:00 +02:00
Rémi Verschelde
21c181bd3c Tabs: Fix align issue with right/close buttons
The stylebox around the close button was badly centered.
There were also bad margins applied when using right buttons.
2016-05-01 16:48:55 +02:00
Rémi Verschelde
8b32c80529 Tabs: cleanup code, no functional change
Some dead code removed, a few cosmetic changes.
2016-05-01 16:27:33 +02:00
Rémi Verschelde
8574489dd2 Tabs: Fix navigation buttons overlap when resizing
It was not taking into account the minimum width of the stylebox.
Fixed by factorizing some duplicate code.
2016-05-01 15:29:07 +02:00
Rémi Verschelde
bbaf296948 Tabs: Fix icon size not taken into account for offset
Fixes #4107.
2016-05-01 14:54:45 +02:00
Rémi Verschelde
ab7886ffc4 FileDialog: reset mkdir label after use (#4500)
Closes #1686.
2016-05-01 11:38:24 +02:00
Rémi Verschelde
6883325f92 math: Fix rounding error for 0 in Math::round (#4495)
Thus revert the previous workaround in commit b123bc4a2a.
Fixes #3221.
2016-05-01 11:37:46 +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
Rémi Verschelde
a0dce1e66f Merge pull request #4482 from Geequlim/master
Add more documentations and fix AcceptDialog::add_cancel
2016-04-29 10:43:50 +02:00
Geequlim
5c61e17c10 Add more documentations and fix AcceptDialog::add_cancel 2016-04-29 16:34:07 +08:00
Rémi Verschelde
c97cc362e3 Merge pull request #4387 from JoshuaGrams/rigidbody2d-torque
Hooked up RigidBody2D torque methods
2016-04-29 10:29:12 +02:00
Juan Linietsky
0fa588a830 move Font to BitmapFont
so we can add DynamicFont later..
2016-04-28 22:21:36 -03:00
Rémi Verschelde
45ffc053b5 Merge pull request #4462 from Paulb23/scroll_lines
Added scroll lines, issue #4243
2016-04-28 20:53:41 +02:00
Rémi Verschelde
0485c9eaba Merge pull request #4451 from JoshuaGrams/anim-tree-filter
Anim tree: add filters on Animation nodes
2016-04-28 20:48:38 +02:00
Rémi Verschelde
3a4ec88b37 Classref: Document Button and ButtonArray
Also bind relevant constants and define some object types and better
argument names for the docs.
2016-04-28 00:10:17 +02:00
Paulb23
54244e0e1d Added scroll lines, issue 4243 2016-04-27 18:32:14 +01:00
Josh Grams
a7b4127481 RigidBody2D (add_force, set_inertia): new methods. 2016-04-26 08:15:15 -04:00
Josh Grams
bd95e18ae4 AnimationTree: add filters to Animation nodes. 2016-04-26 06:49:06 -04:00
Josh Grams
2272824ee2 AnimationTree: set value track property per frame, not per track. 2016-04-24 04:39:32 -04:00
Josh Grams
ffaced87a6 RigidBody2D: rename apply_impulse(pos) to offset. 2016-04-24 04:36:51 -04:00
Bojidar Marinov
b2e0cedbf0 Fix continious update with Camera2D
Closes #4406
2016-04-23 15:27:32 +03:00
Aren Villanueva
d75856146c Adds a remove class item option in the theme editor.
I've also added a get_stylebox_types helper function to the theme class in order to figure out exactly what types are available to a theme.
2016-04-21 11:58:53 +10:00
Josh Grams
f7d31cec38 RigidBody2D: add and bind get_inertia() method.
You can't set this value very well, since it's automatically computed
from the mass and the collision shapes. But since the values are higher
than many people might suspect, so being able to read it helps estimate
the amount of torque you might need to apply.
2016-04-20 20:49:37 -04:00
Josh Grams
dbabe4c07c RigidBody2D: add and bind get/set_applied_torque. 2016-04-20 19:49:35 -04:00
Rémi Verschelde
c0ec7e933a Merge pull request #4302 from Anarchid/gridmap-navmesh
Navmesh support for GridMaps
2016-04-20 21:12:35 +02:00
Anarchid
73ca831848 Implement GridMap support for navigation meshes 2016-04-20 21:19:05 +03:00
Rémi Verschelde
30e5df6e21 Merge pull request #4365 from bojidar-bg/surfacetool-add-quad
Add an add_triangle_fan method to SurfaceTool
2016-04-19 22:40:22 +02:00
Rémi Verschelde
6da39ce18d Merge pull request #4380 from bojidar-bg/camera2d-fix-zoom
Fix Camera2D ignoring zoom when checking limits
2016-04-19 20:48:59 +02:00
Bojidar Marinov
7a8aea0be9 Fix Camera2D ignoring zoom when checking limits
Closes #1912
2016-04-19 21:35:02 +03:00
Bojidar Marinov
e7f66a88d6 Add preview of the Camera2D's screen boundaries
Closes #3365
2016-04-19 16:07:06 +03:00
Bojidar Marinov
325a02e4af Add a add_triangle_fan method to SurfaceTool
Closes #4298
2016-04-18 20:33:54 +03:00
Alex
e566b17f91 tiny fix to loop restart (#4358)
Closes #4355
2016-04-18 08:16:46 +02:00
Rémi Verschelde
6b41544a39 Merge pull request #4319 from kubecz3k/played_signal
animation_started signal for AnimationPlayer
2016-04-18 08:12:40 +02:00
Rémi Verschelde
f124b5e0ac Merge pull request #4299 from neikeq/pr-issue-4297
Keep editable instances data when replacing tree root node
2016-04-18 08:09:53 +02:00
Saracen
bc5ee6c98f BoneAttachments now position themselves instantly during bind. 2016-04-15 11:32:10 +01:00
Hearto Lazor
08b93da28a Fixed curve baking, now always start at origin point 2016-04-15 00:13:17 -03:00
Jakub Grzesik
fd9b82a082 animation_started signal to AnimationPlayer 2016-04-14 17:19:20 +02:00
Rémi Verschelde
20f62dd958 Merge pull request #4308 from JoshuaGrams/atp-resources
AnimationTreePlayer: fix discrete value tracks.
2016-04-14 12:39:08 +02:00
Ignacio Etcheverry
3029f5ee02 Keep editable instances data when replacing tree root node 2016-04-12 20:49:43 +02:00
Josh Grams
ee59b2053f AnimationTreePlayer: fix discrete value tracks.
Discrete value tracks don't update every frame (only when a new key is
reached).  So we can't use the actual property value as an accumulator:
it will end up being zero most of the time.
2016-04-12 11:54:17 -04:00
Rémi Verschelde
08aaff21f3 Merge pull request #4286 from JoshuaGrams/atp-resources
AnimationTreePlayer: allow animating resource properties.
2016-04-12 13:18:47 +02:00
Rémi Verschelde
e07266f6c1 Merge pull request #4273 from bojidar-bg/add-layers-and-masks-to-3d
Port collision and layer masks to 3D
2016-04-12 13:17:26 +02:00
Rémi Verschelde
29ed58eab6 Merge pull request #4284 from JoshuaGrams/atp-process-mode
AnimationTreePlayer: constructor now sets processing mode.
2016-04-12 08:56:48 +02:00
Josh Grams
aabb0d9cbc AnimationTreePlayer: allow animating resource properties.
e.g. Particles2D config and param values.
2016-04-11 20:10:35 -04:00
Josh Grams
ed497cb153 AnimationTreePlayer: constructor now sets processing mode. 2016-04-11 11:54:32 -04:00
Rémi Verschelde
7d1b4567b0 Merge pull request #4155 from JoshuaGrams/anim_tree_switched
AnimationTreePlayer: Various processing improvements
2016-04-11 13:02:21 +02:00
Bojidar Marinov
f7c3d6329c Port collision and layer masks to 3D, fixes #1759
Raycasts now have type_mask and layer_mask. Areas - collision_mask and layer_mask. PhysicsBodies needed only collision_mask.
2016-04-09 22:11:12 +03:00
Paulb23
8c328474f2 Setting to change line number color 2016-04-08 20:11:16 +01:00
Rémi Verschelde
b9ac3df29b Merge pull request #4259 from neikeq/pr-issue-4224
Fix RayCast not updating when debugging collissions
2016-04-07 14:13:48 +02:00
Rémi Verschelde
33d63f42f5 Merge pull request #4257 from sanikoyes/Pr-gui-fix-warn
Fix warn print when hide an control does not inside_tree
2016-04-07 14:10:50 +02:00
Rémi Verschelde
e7b6994e24 Merge pull request #4256 from sanikoyes/Pr-fix-tween-crash
Fix crash when tween control object previous freed
2016-04-07 14:10:38 +02:00
Ignacio Etcheverry
6cf3bdcf76 Fix RayCast not updating when debugging collissions 2016-04-07 13:30:40 +02:00
Rémi Verschelde
7820e590ea Doc: fix type of stream object 2016-04-07 11:45:39 +02:00
sanikoyes
5ec7d3f264 Fix warn print when hide an control does not inside_tree 2016-04-07 15:46:38 +08:00
sanikoyes
da28a2f062 Fix crash when tween control object previous freed 2016-04-07 15:45:16 +08:00
Josh Grams
4f6b2152e2 AnimationTreePlayer (transition_node_set_current): fix by removing copy-paste duplication. 2016-04-06 15:09:00 -04:00
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
Rémi Verschelde
3e3f16fefc Merge pull request #4251 from Paulb23/block_indent_issue_3803
Fixed block indent inconsistency, issue #3803
2016-04-06 19:39:07 +02:00
Paulb23
93700676b5 Fixed block indent inconsistency, fixes issue 3803 2016-04-06 17:46:10 +01:00
Rémi Verschelde
d5191a610b Merge pull request #4248 from bojidar-bg/fix-launchmedia-for-bones
Fix Ctrl+LaunchMedia showing up as a shortcut for "Make Bones"
2016-04-06 18:43:15 +02:00
Rémi Verschelde
44446cf58b Merge pull request #4238 from Paulb23/caret_color
Ability to change the caret color
2016-04-06 18:42:32 +02:00
Rémi Verschelde
d6871ee847 Merge pull request #4234 from Paulb23/member_variable_syntax_highlighting
Member variable syntax highlighting
2016-04-06 18:42:13 +02:00
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
Paul Batty
646e089782 Fixed text edit undo and redo operation interaction 2016-04-06 08:36:29 +02:00
Paulb23
c7519f091d Ability to change the caret color 2016-04-05 17:06:56 +01: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