Commit graph

2662 commits

Author SHA1 Message Date
Juan Linietsky 1597082c85 -Ability to roll-back script-exported properties to their default value on the script, closes #2128 2016-01-02 20:17:31 -03:00
Juan Linietsky 61745855d0 PI is now a built-in constant, fixes #2134 2016-01-02 17:56:45 -03:00
Juan Linietsky 2db78e8f87 Properly clear/restore current camera when switching scenes. Fixes #2137 2016-01-02 17:18:45 -03:00
Juan Linietsky 8fb70142e4 Ability to use opacity on distance field textures, fixes #2148 2016-01-02 15:57:19 -03:00
Juan Linietsky b0b1da6950 Make buttons properly obey stylebox content marins, closes #2156 2016-01-02 15:51:41 -03:00
Juan Linietsky be73e2d2f2 fixed uninitialized tool mode in path 2d editor 2016-01-02 15:42:14 -03:00
Juan Linietsky 32a6120a5c fixed string operator[], which was broken. Closes #2202 2016-01-02 14:58:27 -03:00
Juan Linietsky cd3dfdaf18 Support BMFont in font editor plugin, closes #2204 2016-01-02 14:53:48 -03:00
Juan Linietsky 0e0a7c9494 -properly handle newline in \ (line continuation) in gdscript, fixes #2112
-also fix a small crash in export detection with scripts that include themselves
2016-01-02 13:56:58 -03:00
Juan Linietsky 27c47e09a1 skip the first integration in physics bodies, fixes #2213 2016-01-02 13:28:18 -03:00
Juan Linietsky 757b8c4206 -Restore mouse on X11 when debugger break happens, closes #2232 2016-01-02 12:58:59 -03:00
Juan Linietsky 9ed3d6d007 added a finished signal to StreamPlayer, closes #2249 2016-01-02 12:24:04 -03:00
Juan Linietsky 5769f8aaae Change rb+ to wb+ on file access READ_WRITE to allow more use cases, closes #2278 2016-01-02 12:03:33 -03:00
Juan Linietsky 84f96eb523 -New reparent option "keep global transform" on reparent dialog. It is enabled by default. Closes #2284 2016-01-02 11:57:47 -03:00
Juan Linietsky d069c44a7f -Fix TouchScreenButton to work with stretch and viewport canvas transform, closes #2286 2016-01-02 11:23:30 -03:00
Juan Linietsky b60371074f Properly hide assign/clear dialog, closes #2295 2016-01-02 10:47:50 -03:00
Juan Linietsky 432e2e7769 proper joy axis support as actions, can be configured and inquired, fixes #2317 2016-01-02 09:37:16 -03:00
Juan Linietsky df5fa62ab9 remove the invalid id error when freeing a 3D joint, fixes #2383 2016-01-02 08:37:27 -03:00
punto- be1f2a049f Merge pull request #3193 from Hinsbart/trigger-as-axis
Forgot to add JOY_ANALOG bindings
2016-01-02 00:32:36 -03:00
punto- 59143847f7 Merge pull request #3192 from Hinsbart/trigger-as-axis
Analog values for gamepad triggers, using axes 6 & 7.
2016-01-02 00:24:16 -03:00
hondres 83baa05915 bind trigger constants 2016-01-02 04:23:39 +01:00
hondres c60e1648ba make num_buttons local, no need to keep in joystick struct 2016-01-02 03:52:44 +01:00
hondres 117ae93cf1 Analog values for gamepad triggers, using axes 6 & 7 2016-01-02 03:34:32 +01:00
Rémi Verschelde 2cc2524329 Merge pull request #3189 from neikeq/cfg_getval_default
Added default value param to ConfigFile.get_value()
2016-01-01 21:49:15 +01:00
Ignacio Etcheverry 3de30bf01d Added default value param to ConfigFile.get_value() 2016-01-01 21:12:54 +01:00
Juan Linietsky 0ed864d876 properly removing unprocessed objects from physics islands fixes one way platforms for rigidbodies, closes #2345 2016-01-01 12:13:17 -03:00
Juan Linietsky 199a29b353 Merge pull request #3184 from vnen/update-copyright-2016
Update copyright to 2016 in headers
2016-01-01 11:03:29 -03:00
George Marques 5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Juan Linietsky 7879efc50b Make both lights and occluders stop working if hidden, fixes #2437 2016-01-01 10:45:24 -03:00
Juan Linietsky b78c1e52c2 Make CanvasModulate deactivate when hidden, fixes #2437 2016-01-01 10:33:02 -03:00
Juan Linietsky 810f049edf introspection of signals and signal connections from GDScript was not working, fixes #2325 2016-01-01 10:28:15 -03:00
George Marques 5851e83c3d Merge pull request #3180 from aqnouch/patch-1
Updated copyright to 2016
2016-01-01 11:24:36 -02:00
Juan Linietsky d014518a1a Make sure auto bracket completion setting always works, closes #2332 2016-01-01 09:52:01 -03:00
AQNOUCH Mohammed 3fde252153 Updated copyright to 2016 2016-01-01 01:23:07 +00:00
Juan Linietsky 7d0894e925 -Improved convex decomposer for CollisionPolygon2D, fixes #2336 2015-12-31 20:23:34 -03:00
Juan Linietsky 64872ca811 small fixes to color8 2015-12-31 18:32:56 -03:00
Juan Linietsky 37f2222dd7 -Added Color8(r8,g8,b8,a8) function as well as .r8,.g8,.b8,.a8 members to Color, to deal with colors in the 0-255 range. Closes #2345 2015-12-31 18:26:49 -03:00
Juan Linietsky 6b1849d29b make json sub-dictionaries shared, fixes #2381 2015-12-31 17:56:51 -03:00
Juan Linietsky 565513fb89 When inserting new values in array property editor, keep type of last item, closes #2391 2015-12-31 17:46:07 -03:00
Juan Linietsky ec3d17b4e2 force thread model to single-safe when running editor, fixes #2387 2015-12-31 16:24:27 -03:00
Juan Linietsky 9c38ad0093 changed shortcuts to be better friends with OSX, closes #2398 2015-12-31 16:14:04 -03:00
Juan Linietsky d1a799f744 -fix range limit issue in Particles2D, closes #2411 2015-12-31 15:18:03 -03:00
Juan Linietsky bc2b1696e6 suport old-style engine.cfg colors in VariantParser, fixes #3176 2015-12-31 14:30:50 -03:00
Juan Linietsky ff1763e38f properly implement save as from script editor, fixes #2415 2015-12-31 13:12:27 -03:00
Juan Linietsky 1e65c3c701 remove error print in area collision, should be a valid situation, closes #2463 2015-12-31 11:15:49 -03:00
Juan Linietsky 8dad6415b1 -Fixed focus for shader editor when switching tab, closes #2551 2015-12-31 10:50:39 -03:00
Juan Linietsky 586e482a98 -Fix parsing of comments in VariantParser, fixes #3175 2015-12-31 10:25:21 -03:00
Juan Linietsky b60a3e7202 -Changed var2str and str2var in GDScript to use VariantWriter and VariantParser
-It is now finally possible to parse back a variant from text!
2015-12-31 00:54:00 -03:00
Juan Linietsky 335c52ba03 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-31 00:33:07 -03:00
Juan Linietsky fd836cad27 -Ensure .tscn and .tres always save in a deterministic way, fixes #2495
-Scene edit state is saved outside the scene now, to avoid changes .tscn files when nothing really changed
-Created a VariantWriter helper to unify all variant to text writing
-Moved SceneFormatText writing to VariantWriter
-Moved ConfigFile to use VariantWriter and VariantParser, added compatibility mode for old .cfg files that use engine.cfg format
2015-12-31 00:31:00 -03:00