Commit Graph

12318 Commits

Author SHA1 Message Date
Ian e09d76e67d fix #12769 project settings crash 2017-11-10 21:24:57 -05:00
Daniel J. Ramirez 8cf0d6ceb4 Some fixes and improvements.
Changed FileDialogs for EditorFileDialogs in EditorNode.
Updated CheckButton.
2017-11-10 16:45:08 -06:00
Bastiaan Olij 6205eb40e7 Align sensors and implement gravity sensor for Android 2017-11-11 09:42:23 +11:00
MrCdK 7d517d4a71 Fix particles' tangential acceleration randomness 2017-11-10 23:19:08 +01:00
Eric Rybicki bd5df84199 Allow double-axis lock in RigidBody and KinematicBody 2017-11-10 22:33:54 +01:00
Webster Sheets 5c88ad9457 Dropping a mesh file into the scene no longer creates an instanced scene. 2017-11-10 16:31:53 -05:00
William McKIE fd01e7d89e Replace Del icon by Remove icon
It would seem there are editors that still used the old del icon
inherited from 2.X instead of the fresh remove icon from 3.X
resulting to be replaced to an "Error" textual icon.
2017-11-10 21:57:39 +01:00
Webster Sheets 21b3d62237 Allow changing importers in the import dock.
Still needs a major refactor to allow editing the properties of the
new importer without having to reimport and re-select the items again.
2017-11-10 15:53:01 -05:00
Juan Linietsky 19b1ff0fc5 Disabled filter clip by default and made it optional, fixes #12368, likely others too 2017-11-10 09:22:25 -03:00
Thomas Herzog fb60662cd9
Merge pull request #12807 from karroffel/gdnative-api-struct-refactor
[GDNative] renamed nativearvr to arvr in api.json
2017-11-10 13:09:06 +01:00
Karroffel 6d6208c63d [GDNative] renamed nativearvr to arvr in api.json 2017-11-10 13:08:19 +01:00
Thomas Herzog f04665f881
Merge pull request #12803 from karroffel/gdnative-api-struct-refactor
[GDNative] better API struct versioning
2017-11-10 13:03:16 +01:00
letheed 482e07af7e Unify degree members and properties 2017-11-10 12:52:07 +01:00
Karroffel 79285b084d [GDNative] rename nativearvr extension to arvr 2017-11-10 12:36:50 +01:00
Juan Linietsky 4deac219b0 Remove node from list before calling queries, fixes #10886 2017-11-10 08:32:02 -03:00
Karroffel 7ae2de8997 [GDNative] better API struct versioning 2017-11-10 12:08:09 +01:00
Rémi Verschelde fd4921375a
Merge pull request #12802 from ptodorov0123/master
Fix for disappearing import panel contents (#11451)
2017-11-10 11:24:56 +01:00
Peter Todorov 73f27632f6 Fix for disappearing import panel contents (#11451) 2017-11-10 12:16:58 +02:00
Rémi Verschelde 118122be3a
Merge pull request #12800 from hoelzl/pr-no-pp-directive-in-macro-arguments
Remove preprocessor directives from macro arguments
2017-11-10 10:18:52 +01:00
Matthias Hoelzl 1f6d766332 Remove preprocessor directives from macro arguments
Preprocessor directives within macro arguments lead to undefined
behavior, and VC++ actually rejects them as compiler errors.
2017-11-10 10:14:04 +01:00
Gilles Roudiere e2785fbded
Merge pull request #12797 from viprip/12668_fix_texture_region_dock_zoom_icon_is_misaligned
Fix misaligned zoom icon in Texture Region Editor plugin
2017-11-10 10:07:49 +01:00
Rémi Verschelde 9a4a59ce13
Merge pull request #12796 from djrm/pr_some_virtual_classes
Expose some editor singletons as virtual
2017-11-10 10:07:02 +01:00
Rémi Verschelde 98d9423fa3
Merge pull request #12402 from MillionOstrich/filesystem-drag-move
Filesystem drag & drop moving fixes
2017-11-10 09:58:07 +01:00
Rémi Verschelde 346b4b5a1c
Merge pull request #12390 from MillionOstrich/filesystem-folder-drag
Improved file/folder drag preview for filesystem dock
2017-11-10 09:57:23 +01:00
Rémi Verschelde 94a915135d
Merge pull request #12786 from n-pigeon/spatial_transform_gizmo
Cleanups in Spatial Transform Gizmo
2017-11-10 09:53:43 +01:00
Rémi Verschelde 186f0dffdf
Merge pull request #12799 from letheed/deprecated
Remove deprecated methods
2017-11-10 09:15:04 +01:00
letheed ab2647a0d0 Remove deprecated rotation methods 2017-11-10 09:09:30 +01:00
Przemysław Gołąb (n-pigeon) f1c2a18e57 Cleanups in Spatial Transform Gizmo
Fixed translation i local space - changed a bit how it was implemented.
Fixed bug with rotations when object is scaled.
Added safety check preventing scaling to 0 in local space.
All Gizmoz display numerical output message on the bottom of the viewport.
Unified code a bit, so it will be easier to maintain.
2017-11-10 08:22:11 +01:00
Rémi Verschelde 2e89dd19b1
Merge pull request #12794 from djrm/pr_visual_improvements
Fixed project manager and dialog fonts.
2017-11-10 08:01:32 +01:00
Rémi Verschelde eef1e3bb98
Merge pull request #12470 from djrm/pr_fix_editor_settings
Fixed editor settings disappearing.
2017-11-10 07:45:24 +01:00
William McKIE 1fc787e6ac Fix misaligned zoom icon in Texture Region Editor plugin
The zoom icon was aligned on top compared to the others zoom buttons
from the HBox container.

Closes #12668.
2017-11-10 07:31:36 +01:00
Daniel J. Ramirez 31147ea3ed Expose some editor singletons as virtual 2017-11-09 22:25:10 -06:00
Daniel J. Ramirez c57fc8ee7d Fixed editor settings disappearing.
Some items that are no longer defined may disappear, but thats expected i guess.
2017-11-09 22:10:48 -06:00
Daniel J. Ramirez 12251a3a15 Fix theme with custom font. 2017-11-09 20:45:18 -06:00
Juan Linietsky 192a4d7de5 Reworked how servers preallocate RIDs, should fix #10970 2017-11-09 23:35:34 -03:00
Daniel J. Ramirez 01512efbe6 Removed show type icons option 2017-11-09 19:45:21 -06:00
Daniel J. Ramirez e524cc7135 Fixed project manager and dialog fonts. 2017-11-09 19:38:48 -06:00
Rémi Verschelde 0de6cba7e7
Merge pull request #12779 from karroffel/gdnative-api-struct-refactor
[GDNative] refactored API struct into core and extensions
2017-11-09 23:40:54 +01:00
Rémi Verschelde ed57f0a0d4 Remove get_default_video_mode definition on OSX/iOS
It had been missed in d09160a8b6 and broke compilation
for those platforms.

Took the opportunity to run clang-format on the code base to fix some corner cases
that went through our static tests/were overlooked recently.
2017-11-09 23:36:08 +01:00
Daniel J. Ramirez 1b7f99d9e5 Several improvements to GridMap.
Fixed crash when undoing.
More ergonomic shortcuts.
Fixed freelook navigation.
2017-11-09 16:18:48 -06:00
Juan Linietsky 9e6f9742f4 adjust min stop to horizontal velocity 2017-11-09 17:58:32 -03:00
Juan Linietsky 0416ca2fd2 Add slope min stop velocity on 3D physics body, closes #10981 2017-11-09 17:32:50 -03:00
Juan Linietsky 50a9bd4e23
Merge pull request #12713 from AndreaCatania/master
Rewritten kinematic system
2017-11-09 16:08:58 -03:00
Rémi Verschelde 881defa209
Merge pull request #12784 from hpvb/fix-12401
Make sure we don't leak when an opcode is followed by itself
2017-11-09 19:23:28 +01:00
Rémi Verschelde c179db29d9
Merge pull request #12787 from vnen/uwp-vs2017
UWP: Update to build with Windows SDK 10.16229.0
2017-11-09 19:21:37 +01:00
George Marques a3387a9e22
UWP: Update to build with Windows SDK 10.16229.0
- Update the OpenSSL shim to work with the new SDK
- Change the ARM platform detection to work with VS2017
2017-11-09 16:06:44 -02:00
Caleb Richardson a607e6125e Fix crash when converting empty scene to TileSet
Closes #12708.
Cherry-picked from #12732.
2017-11-09 18:39:29 +01:00
Karroffel 983404e0ce [GDNative] refactored API struct into core and extensions 2017-11-09 18:39:28 +01:00
Hein-Pieter van Braam 38ae49e574 Make sure we don't leak when an opcode is followed by itself
When compiling with GCC it is now possible for an opcode followed by
itself to never leave the scope it is currently in. This leads to a
situation where the dtor of a scope local variable isn't called which in
turn can lead to a memory leak.

By moving the goto outside of the scope of each opcode we guarantee that
all dtors have been called before the next opcode gets dispatched.

this fixes #12401
2017-11-09 17:57:43 +01:00
Juan Linietsky 5cb1d064bc fixes to initialization order 2017-11-09 13:56:13 -03:00