Commit Graph

8347 Commits

Author SHA1 Message Date
Juan Linietsky 37adf936ab few bugs fixed thanks to explicit bool constructor and clang.
explicit bool constructor has thus now been removed, as it served it's mission!
2017-08-05 21:43:10 -03:00
Ignacio Etcheverry aee99ab59f ClassDB: Adds get_property_index method 2017-08-06 02:04:10 +02:00
Karroffel 76ce18c290 [GDNative] fixed double variant call
This bug got discovered thanks to clang!
2017-08-06 02:04:06 +02:00
Juan Linietsky a3a7fb83e6 Made bool constructor explicit in Variant to avoid bugs, fixes #7843 2017-08-05 19:50:53 -03:00
Juan Linietsky 435bedd9ef Merge pull request #10116 from neikeq/prop_method_ambiguities
Renames properties and methods to avoid ambiguities
2017-08-05 17:55:43 -03:00
Ignacio Etcheverry e82270e8d0 Renames properties and methods to avoid ambiguities
- Method Node2D.scale(Vector2) renamed to Node2D.apply_scale(Vector2)
- Property BaseButton.is_pressed renamed to BaseButton.pressed
2017-08-05 22:52:58 +02:00
Juan Linietsky 52649f1038 emit signal properly when frame has changed in autoplay, fixes #7730 2017-08-05 16:32:34 -03:00
Juan Linietsky e47ecc63ef Properly update frame range after modifying the vframe/hframes, closes #7624 2017-08-05 16:19:36 -03:00
Juan Linietsky de9fb90dbf Warn about resizing a rigidbody (2D or 3D), covers the most common cases, closes #7615 2017-08-05 16:06:15 -03:00
Jakub Grzesik 63ddad98f5 'tab_changed' signal after using 'set_current_tab'
closes #10051
2017-08-05 17:56:00 +02:00
Juan Linietsky cfe4b30941 renamed node path, closes #5691 2017-08-05 09:13:59 -03:00
L. Krause 4d26b14576 Initialize Particles2D draw order property 2017-08-05 12:46:49 +02:00
BastiaanOlij 18dc9d1d5a Copy point into mouse event as is 2017-08-05 17:31:29 +10:00
L. Krause bd48f210a1 Improve HTML5 canvas management
- set_window_maximized hides page content
 - Fix sporadic full-screen render-size bug in Chromium
 - Smoother resizing for maximized canvas
2017-08-05 05:27:58 +02:00
toger5 f035e4a24a fixed loading old theme styleboxes 2017-08-05 01:33:46 +02:00
bruvzg 0ed3da8e2a Fix warp_mouse_pos on macOS 2017-08-04 23:43:32 +03:00
Cradmon b8a31d6563 Fix resource docker thumbnail bug 2017-08-04 20:11:17 +01:00
Thomas Herzog f79a5c464b Merge pull request #10085 from endragor/no-uninitialized-cb
Dont call nativescript callbacks if lib is not initialized
2017-08-04 16:59:06 +02:00
volzhs 9f6f7e0fcf Fix label align of button in editor
Fix #9927
2017-08-04 23:52:36 +09:00
Ruslan Mustakov d71171026f Dont call nativescript callbacks if lib is not initialized 2017-08-04 21:17:33 +07:00
Poommetee Ketson 1cc655a40d SpatialEditor: fix "Top", overflow preview button 2017-08-04 20:46:22 +07:00
toger5 3b2a4cc52a editor: update helps and script panel on theme could change. 2017-08-04 14:57:15 +02:00
toger5 2ab512a07b Builtin script template loading improvements 2017-08-04 14:53:07 +02:00
Poommetee Ketson b8feae4db6 SpatialEditor: uniform min/max of fov,znear,zfar
Clamp FOV to [0.01, 179], Znear and Zfar to [0.01, 10000]
2017-08-04 18:23:10 +07:00
Rémi Verschelde 7ac50b523b Merge pull request #9976 from ISylvox/update-gradle-android-master
[3.0] Update Gradle-Android buildtool
2017-08-04 09:45:19 +02:00
Thomas Herzog 211dfa6602 Merge pull request #10072 from karroffel/gdnative-header-include-paths
[GDNative] fixed a bug with ambiguous include paths
2017-08-04 04:06:54 +02:00
Karroffel ab3b1e67c7 [GDNative] fixed a bug with ambiguous include paths
fixes #10071. The problem is that the json.h file includes the
local variant.h instead of the "absolute" core/variant.h
2017-08-04 03:26:32 +02:00
Juan Linietsky 26ff90eaed Full GLTF 2.0 Specification support! cheers! 2017-08-03 19:42:32 -03:00
Andreas Haas 95da12212b
TileMap: Fix infinite loop when trying to bucket-delete empty tiles.
Right-clicking when the bucket tool is enabled means "erase all instances of this tile".
So it doesn't make sense to try doing this for empty tiles :P

Fixes #10065
2017-08-03 20:46:13 +02:00
Rémi Verschelde 3ccf0968ff Merge pull request #10066 from marcelofg55/scons_fix3
Fix scons failing when not building sources
2017-08-03 17:12:11 +02:00
Marcelo Fernandez 6adeeeb848 Fix scons failing when not building sources 2017-08-03 11:53:16 -03:00
Thomas Herzog 056b5f9e56 Merge pull request #10060 from endragor/nativescript-frame
Forward frame call to GDNative libraries
2017-08-03 13:52:44 +02:00
Rémi Verschelde c936e9946e Merge pull request #10046 from Hinsbart/script_open_resource
ScriptEditor: ctrl+click can open scenes & resources.
2017-08-03 13:37:25 +02:00
Rémi Verschelde c51354f504 Merge pull request #10062 from BastiaanOlij/arvr_add_anchor
Added ARVRAnchor support and a few small enhancements
2017-08-03 13:34:14 +02:00
toger5 2bff914512 border settings doesn't remove necessary borders anymore 2017-08-03 12:10:19 +02:00
BastiaanOlij e7aed24add Added ARVRAnchor support and a few small enhancements 2017-08-03 18:58:05 +10:00
Rémi Verschelde 0257ced05b Merge pull request #10040 from Hassan-A/getCells3.0
Added get_used_cells_by_id method 3.0
2017-08-03 10:33:49 +02:00
Ruslan Mustakov aaf84129db Forward frame call to GDNative libraries 2017-08-03 14:04:04 +07:00
Henrik Andersson ca497df2d3 Fix rendering of ImmediateGeometry with UVs
When using set_uv or any attrib except vertex, the geometry broke.
2017-08-03 05:06:06 +02:00
Henrik Andersson fdc421836f Make it possible to render ImmediateGeometry
Geometry for ImmediateGeometry was never added inside _fill_render_list.
2017-08-03 04:04:11 +02:00
Hassan A 74587a4927 Added get_used_cells_by_id method 3.0 2017-08-02 18:02:00 -04:00
Andreas Haas aef974e7a8
ItemList: Remove redundant Vector2 initializations. 2017-08-02 21:49:06 +02:00
Juan Linietsky 5c361485db -Added GLTF scene support (still missing animations and .glb extension)
-Fixed bugs regarding tangent generation in SurfaceTool
2017-08-02 15:43:49 -03:00
Juan Linietsky b7d98d4d05 Merge pull request #10050 from godotengine/revert-10014-tweak-command-line-arguments
Revert "Tweak command-line arguments to make them more UNIX-like"
2017-08-02 15:41:15 -03:00
Juan Linietsky 6760783b94 Revert "Tweak command-line arguments to make them more UNIX-like" 2017-08-02 15:39:04 -03:00
Andreas Haas 708ddb05af
ScriptEditor: ctrl+click can open scenes/resources.
Closes #9654
2017-08-02 19:23:57 +02:00
Marcelo Fernandez 1ca107a057 Fix double finalisation of audio drivers 2017-08-02 11:45:19 -03:00
Thomas Herzog 0586524b9c Merge pull request #10042 from karroffel/gdnative-header-include-paths
[GDNative/NativeScript] fix -rdynamic and removed _init call
2017-08-02 15:24:09 +02:00
Karroffel c143f86968 [GDNative/NativeScript] fix -rdynamic and removed _init call
The _init call was buggy anyway and in the end shouldn't be a
thing that's called via ClassDB, it should be something that's
language specific, so we leave this out for the bindings.

In the commit 66a7763 the SCsub file for GDNative was changed to
use a cloned environment, that bricked -rdynamic which needs to be
passed down to the linker, which didn't happen with the new env.
2017-08-02 14:21:12 +02:00
Rémi Verschelde 57d961a7e3 Merge pull request #10037 from Noshyaar/pr-classxml
Docs: fix method/type renames, fill some blanks

[ci skip]
2017-08-02 10:03:40 +02:00