Commit Graph

10840 Commits

Author SHA1 Message Date
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
Rémi Verschelde
2507818f05
Merge pull request #12782 from rraallvv/unified_headers_fix
add missing distutils.version.LooseVersion import
2017-11-09 17:17:35 +01:00
Juan Linietsky
d09160a8b6 Make video mode initialization more intuitive, fixes #12022 2017-11-09 13:02:26 -03:00
Rhody Lugo
7957bbf558 add missing distutils.version.LooseVersion import 2017-11-09 11:58:29 -04:00
Rémi Verschelde
e4effb4d53
Merge pull request #12746 from rraallvv/unified_headers_fix
unified headers fix (master)
2017-11-09 16:39:10 +01:00
Rémi Verschelde
d7add01f2c
Merge pull request #12778 from Chaosus/enableassetstore
Enable asset store for Godot 3.0
2017-11-09 16:37:46 +01:00
Chaosus
423f299530 Enable asset store for godot 3.0 2017-11-09 18:32:40 +03:00
Rémi Verschelde
c7cd89c29f
Merge pull request #12780 from karroffel/dictionary-crash
fix dictionary constant access crash
2017-11-09 16:30:07 +01:00
Karroffel
e25b6bf8da fix dictionary constant access crash 2017-11-09 16:27:27 +01:00
Rhody Lugo
7664a0feac unified headers fix 2017-11-09 09:46:43 -04:00
Rémi Verschelde
05fc741bdb
Merge pull request #12757 from MateusMP/bugfix/11695
Fixing bad index used in Space2DSW (Fixes #11695)
2017-11-09 11:33:14 +01:00
Rémi Verschelde
5f805de6cb
Merge pull request #12751 from bojidar-bg/11851-invalid-returns-count
Fix "Invalid outputs" error when calling a void method from visual script
2017-11-09 09:55:50 +01:00
Rémi Verschelde
355c8fd968
Merge pull request #12752 from bojidar-bg/10972-recusion-completion
Fix crash when guessing type of variable declared to itself
2017-11-09 09:55:02 +01:00
Rémi Verschelde
7e0e415d46
Merge pull request #12755 from Zylann/fix_tilemap_undo
Fix tilemap undo/redo
2017-11-09 09:48:14 +01:00
Chris Bradfield
b87a7df186
Merge pull request #12733 from NathanWarden/document_object
[DOCS] Object
2017-11-08 19:37:12 -08:00
Nathan Warden
09a1d01b74 [DOCS] Object 2017-11-08 22:18:07 -05:00
MateusMP
b37e277303 Fixing bad index used in Space2DSW
Fix wrong col_obj access using wrong index variable.
Related with issue #11695
2017-11-08 20:38:49 -02:00
Marc Gilleron
0b7ae364ea Fix tilemap undo/redo 2017-11-08 22:26:19 +01:00
Bojidar Marinov
b7fd065f5c
Fix crash when guessing type of variable declared to itself
Fixes #10972
2017-11-08 22:17:08 +02:00
Bojidar Marinov
4045bc1059
Fix "Invalid outputs" error when calling a void method from visual script
Fixes #11851
2017-11-08 21:34:05 +02:00