Commit Graph

984 Commits

Author SHA1 Message Date
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