Commit graph

12215 commits

Author SHA1 Message Date
Ignacio Etcheverry
b271aa48e4 Mono: Script lifetime fixes
- alloc_language_binding: Use strong GC handle as well for references. Fixes #15138
- Set the native instance field of Godot.Object to IntPtr.Zero when it's freed.
- Create weak handles without tracking resurrection (that was causing trouble). This means we have to call notification predelete before queueing a native Object for deletion, and use the MonoObject* passed by the finalizer because the weak GC handle target will return NULL at this point.
2018-01-01 03:05:13 +01:00
Ryan Stein
67c158fe9f Move Project Manager favorite icon back to center. 2017-12-31 19:58:17 -05:00
Ignacio Etcheverry
d6a1125254
Merge pull request #15136 from neikeq/issue-15128
Mono: Bindings no longer relie on DocData for accessors
2017-12-31 22:30:25 +01:00
volzhs
0341070cde Fix duplicating file or folder
Fix #15206
2018-01-01 05:03:20 +09:00
Chris Bradfield
ac89a2e9f1
Merge pull request #15182 from Silvea12/master
Updated timer docs
2017-12-31 11:15:12 -08:00
Andrew Silver
0c57394d6e Updated timer docs 2017-12-31 20:13:25 +01:00
volzhs
4d0097e8ae Copy resource with specific extension
Fix #15169
2018-01-01 02:35:46 +09:00
volzhs
108b4a37b0 Fix lock or group with invisible node
Fix #15205
2018-01-01 02:18:39 +09:00
Ibrahn Sahir
12efcb665a free associated audio data on AudioStreamOGGVorbis destruction 2017-12-31 16:51:55 +00:00
George Marques
abf416f922
Improve LTO build with MSVC 2017-12-31 14:35:38 -02:00
Ibrahn Sahir
96706168d0 fix VariantCall default parameter ordering 2017-12-31 14:58:45 +00:00
Noshyaar
548bd4ef1d
Merge pull request #15212 from firefly2442/FloatToBoolean
change float to bool as correct type
2017-12-31 12:37:26 +07:00
Noshyaar
16158d8db7
Merge pull request #15209 from firefly2442/StringBooleanProblem
prevent strings from being evaluated to just "true"
2017-12-31 12:35:39 +07:00
Noshyaar
7e2941f62b
Merge pull request #15211 from firefly2442/SwitchDefaultTypo
fix typo in switch statement
2017-12-31 12:34:51 +07:00
firefly2442
6af109cd99 change float to bool as correct type 2017-12-30 22:14:27 -07:00
firefly2442
ac2b084fdc fix typo in switch statement 2017-12-30 21:49:04 -07:00
firefly2442
9ba9e37220 prevent strings from being evaluated to just "true" 2017-12-30 21:22:16 -07:00
Martin Capitanio
c0226d2e92 Add thekla_atlas/godot-changes.patch 2017-12-31 01:24:03 +01:00
Martin Capitanio
1df63bf3cb Avoid thekla_unwrap crash
Godot crashed here sometimes by generating the uv map.
2017-12-31 00:43:32 +01:00
Poommetee Ketson
7753b8ba0f
Minor docs fix 2017-12-31 03:19:52 +07:00
Bernhard Liebl
86154c4c69 Various fixes for 2d polygon editor
Fixes issues 15096, 15097
Fixes various other Line2D edit issues
Fixes previous outline
Fixes retina support
2017-12-30 17:51:53 +01:00
Gilles Roudiere
0294887a0c
Merge pull request #15175 from Hinsbart/windowed_editor
Editor: Respect -w command line flag.
2017-12-30 22:18:23 +09:00
Gilles Roudiere
9d40688952
Merge pull request #15172 from binbitten/issue_15167
Fixed wrong highlighted line when erroring and using comments
2017-12-30 22:17:11 +09:00
volzhs
c132d873b1 Bind SceneTree::set_quit_on_go_back() to gdscript
Fix #15189
2017-12-30 21:15:17 +09:00
geequlim
bd0a9f4bd6 Fix errors with custom default theme and custom fonts. 2017-12-30 17:30:37 +08:00
Andreas Haas
3434971496
Editor: Respect -w command line flag. 2017-12-29 20:10:15 +01:00
binbitten
9b2283382e Fixed wrong highlighted line when erroring and using single-line comments, fixes #15167 2017-12-29 19:32:21 +01:00
George Marques
99960d9294
Merge pull request #15041 from vnen/uwp-export-sign
Add option to sign UWP exports with signtool
2017-12-29 15:49:53 -02:00
Juan Linietsky
c595aff4a3 avoid error on setting skeleton from transform changed 2017-12-29 12:36:44 -03:00
Juan Linietsky
2de70698ae Missing transform notification for Skeleton. 2017-12-29 11:55:34 -03:00
Juan Linietsky
448b58ba4c Use a different approach to update skeletons when transform changes 2017-12-29 11:34:36 -03:00
Juan Linietsky
a54e3f72ce Update the skeleton on transform 2017-12-29 10:54:24 -03:00
volzhs
c3f59f290c Fix Tween follow not working
Fix regression from 7609efe757
2017-12-29 21:59:45 +09:00
Noshyaar
47810cbaea
Merge pull request #15117 from damarindra/master
Autotile Enhancement
2017-12-29 19:14:12 +07:00
Bernhard Liebl
d5ed266078 Delete AudioServer buses after driver shutdown 2017-12-29 11:22:56 +01:00
Bernhard Liebl
62f3af9de1 Only send editor "settings_changed" if actually changed. 2017-12-29 11:03:29 +01:00
Ignacio Etcheverry
e350a56efd Mono: Bindings no longer relie on DocData for accessors 2017-12-29 02:18:46 +01:00
Pedro J. Estébanez
9c3fbfc9db Fix AnimationPlayer redundantly signaling finish
Now it will emit only when actually going from not-finished-yet to finished, as has always been the case.

The bug was a side effect of 2d2467c0ff.
2017-12-28 21:48:09 +01:00
Juan Linietsky
f11a138505 Added more hacks to GLTF2 importer to support crap exporter (MakeHuman in this case), fixes #13393 2017-12-28 16:07:45 -03:00
damarindra
e850360948 Autotile Enhancement 2017-12-28 23:57:23 +07:00
Bernhard Liebl
2897523d12 Fix unindent (shift-tab) on column 0 and more 2017-12-28 17:48:40 +01:00
Bernhard Liebl
b80bc553dd Double-click word selection for RichTextLabel (i.e. docs) 2017-12-28 17:44:22 +01:00
AndreaCatania
5a15e6e75c Added layer and mask in the gridmap node 2017-12-28 16:13:45 +01:00
Bernhard Liebl
d640542f6d Remove some lagginess from TextEdit's smooth scrolling 2017-12-28 15:49:37 +01:00
volzhs
4b0f075e95 Respect text editor highlighting color changes
Fix #14838
2017-12-28 23:49:15 +09:00
yanorax
8627de2794 Fix TreeItem cell text alignment 2017-12-29 00:23:57 +11:00
Noshyaar
7f1265b41f
Merge pull request #15104 from djrm/pr_visual_improvements
Minor style fixes for editor help
2017-12-28 07:01:41 +07:00
Noshyaar
cfd6bafec6
Merge pull request #15108 from poke1024/fix-stringbuffer-append
Fix crash in StringBuffer::append()
2017-12-28 06:57:20 +07:00
Noshyaar
ef2ab0de82
Merge pull request #15006 from CyanBlob/master
Update TileMap doc descriptions for update_bitmask_area/region

[ci skip]
2017-12-28 06:52:37 +07:00
tagcup
e9896b17a9 Restore the behavior of Spatial rotations recently changed in c1153f5.
That change was borne out of a confusion regarding the meaning of "local" in #14569.

Affine transformations in Spatial simply correspond to affine operations of its Transform. Such operations take place in a coordinate system that is defined by the parent Spatial. When there is no parent, they correspond to operations in the global coordinate system.
This coordinate system, which is relative to the parent, has been referred to as the local coordinate system in the docs so far, but this sloppy language has apparently confused some users, making them think that the local coordinate system refers to the one whose axes are "painted" on the Spatial node itself.

To avoid such conceptual conflations and misunderstandings in the future, the parent-relative local system is now referred to as "parent-local", and the object-relative local system is called "object-local" in the docs.

This commit adds the functionality "requested" in #14569, not by changing how rotate/scale/translate works, but by adding new rotate_object_local, scale_object_local and translate_object_local functions. Also, for completeness, there is now global_scale.

This commit also updates another part of the docs regarding the rotation property of Spatial, which also leads to confusion among some users.
2017-12-27 16:40:49 -05:00