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
Rémi Verschelde
ac13c8c0c6
Merge pull request #3170 from leezh/subclass_segfault_fix
...
added missing onready allocation for subclasses
2015-12-30 09:35:44 +01:00
Zher Huei Lee
61a1f596cc
added missing null check
...
for p_func inside _parse_function
2015-12-30 01:02:31 +00:00
Zher Huei Lee
821351be04
added missing onready allocation for subclasses
...
Fixes #3158
2015-12-30 00:23:26 +00:00
reduz
b8f18cd73c
add 2d paths and joints to collision/navigation debug, fixes #2439
2015-12-29 19:07:37 -03:00
reduz
408a67193e
Added a reset() function to Particles2D, fixes #2472 , fixes #2468
2015-12-29 18:53:45 -03:00
reduz
555ad5f8b7
removed wron return types, fixes #2483
...
removed console, which was obsolete and unused sine long long ago
2015-12-29 18:46:21 -03:00
reduz
196b3e03fc
Fix CanvasItem.draw_set_transform to act according to docs, fixes #2487
2015-12-29 18:27:20 -03:00
reduz
875bff2c4e
-fix loading of samples in mod, s3m and xm. Fixes #2553
2015-12-29 16:06:45 -03:00
reduz
101fe4b845
remove an extra line
2015-12-29 14:58:16 -03:00
reduz
5063cd7757
-Make tilemap able to change light mask, fixes #2557
2015-12-29 14:47:13 -03:00
reduz
77b5b4f4df
removed some prints
2015-12-29 12:56:58 -03:00
reduz
974e5362bc
-forgot a check for tools enabled, closes #3166
2015-12-29 12:14:02 -03:00
reduz
7d2d1442f8
-add breakpoint statement to ease with debugging, closes #3165
2015-12-29 12:11:21 -03:00
reduz
99736e63e4
-fixed bug with some indent blocks not properly checked, fixes #2570
...
-added ability to do one-line blocks, such as: if something: print("hello") , to be more python-like
2015-12-29 11:41:37 -03:00
reduz
2f19260fb7
-restrict gui root from being removed while performing input, fixes #2578
2015-12-29 10:01:29 -03:00
reduz
45ad1024e1
make it easy to edit popupmenus, fixes #2595
2015-12-29 09:26:17 -03:00
reduz
0c6a4b47a6
-Allow negative texture scale in TextureButton, fixes #2956
2015-12-29 08:47:13 -03:00
Ignacio Etcheverry
563c761c8c
Add tab close icon to the default theme
2015-12-29 12:09:41 +01:00
reduz
135d5fb06d
-property change object's rotation pivot on children of scaled CanvasLayer, fixes #2599
2015-12-29 07:31:50 -03:00
reduz
4028dfa6d2
do not allow editing of tilemap if it's invisible, fixes #2601
2015-12-28 21:23:32 -03:00
reduz
f7b64a62d1
-renamed function get_relative_transform() to get_relative_transform_to_parent(), makes more sense
...
-fixed newly introduced bug in onready keyword, fixes #3155
2015-12-28 21:05:57 -03:00
reduz
30c12297dc
- added 'onready' keyword to gdscript. Defers initialization of member variables until _ready() is run.
2015-12-28 19:32:51 -03:00
Rémi Verschelde
eecfeb1d76
Merge pull request #3150 from Ovnuniarchos/DocSexyBodies2D
...
2D Physics bodies documented.
2015-12-28 22:18:10 +01:00
reduz
496cb49771
Fix proper ordering of project settings properties, also fixes inability to change order of autoloads
2015-12-28 18:04:22 -03:00
Ovnuniarchos
57ffdbc24c
PhysicsBody2D and descendants documented.
2015-12-28 21:53:05 +01:00
reduz
110de2ccac
-Added proper code completion for singletons
2015-12-28 16:36:29 -03:00
reduz
e0d21d2158
Ability to set autoloads as singleton global variables
2015-12-28 15:59:20 -03:00
reduz
5d47e42eb6
Merge branch 'master' of https://github.com/okamstudio/godot
2015-12-28 09:39:12 -03:00
reduz
fcd4b1a421
-added a visual tool to change the pivot of a sprite/asprite/polygon/etc. Closes #2670
2015-12-28 09:38:15 -03:00
Rémi Verschelde
bfbde4dfd1
Merge pull request #3146 from akien-mga/pr-argument-names
...
Add missing argument names in GDScript bindings + related fixes
2015-12-28 12:26:36 +01:00
reduz
37cb0faedb
Merge branch 'master' of https://github.com/okamstudio/godot
2015-12-28 01:41:12 -03:00
reduz
f613d546ed
-fixed rich text label fill alignment, always works now
...
-made also sure it doesn't crash, fixes #2688
2015-12-28 01:40:23 -03:00
Rémi Verschelde
d4993b74fc
Add missing argument names in GDScript bindings
...
All classes were reviewed apart from VisualServer for which no argument name is documented at all.
While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
2015-12-28 02:13:05 +01:00
Rémi Verschelde
fe46b2ac0c
Fix wrong getters in ShaderGraph
2015-12-28 01:42:22 +01:00
Rémi Verschelde
d1caf2f037
Remove bogus argument in body_get_node
2015-12-28 01:32:12 +01:00