Commit Graph

7585 Commits

Author SHA1 Message Date
Thomas Herzog 7705b2639f Merge pull request #9329 from MarianoGnu/master
GdScript: Add signal autocompletion to emit_signal function
2017-06-23 13:30:43 +02:00
Mariano Suligoy 7fe750583e GdScript: Add signal autocompletion to emit_signal function 2017-06-23 07:51:49 -03:00
George Marques 7ef52b319f Merge pull request #9324 from neikeq/more-defval-fixes
Image: Fix wrong method DEFVAL
2017-06-23 00:27:19 -03:00
Ignacio Etcheverry a87c7f1328 Image: Fix wrong method DEFVAL 2017-06-23 03:51:36 +02:00
Thomas Herzog c5e0c6a336 Merge pull request #9307 from nunodonato/shadererrorline
highlight the correct error line in shader editor
2017-06-23 02:19:40 +02:00
Juan Linietsky 3f2cd75c6f Fix shortcuts, make them visible again and work. 2017-06-22 19:57:59 -03:00
Juan Linietsky 54815b9dde project and scene swapped, sorry could never get used to it :(
Also reorganized menus a bit.
2017-06-22 18:04:03 -03:00
Juan Linietsky 265d4e2d6c Fixed bug regarding to two spatial 2d players not mixing properly 2017-06-22 17:50:03 -03:00
Andreas Haas bda6f9c167 Merge pull request #9316 from marcelofg55/master
Fix possible crash in joy_axis (fixes #4944).
2017-06-22 16:51:25 +00:00
Marcelo Fernandez 2419a4e4ff Fix possible crash in joy_axis (fixes #4944). 2017-06-22 11:52:11 -03:00
Juan Linietsky 57ebad28a9 Order of 2D nodes in tree affects drawing properly again. 2017-06-22 09:33:20 -03:00
Juan Linietsky fb72edf45e Properly exposed material types everywhere. 2017-06-22 09:33:20 -03:00
Mariano Javier Suligoy 320c1af616 Merge pull request #9293 from MarianoGnu/master
Fix regresion on Texture Region Editor Plugin. Fixes #9282
2017-06-22 07:56:01 -03:00
Rémi Verschelde e3b34810e3 Fix tools=no build
This house is falling apart when I'm not around...
2017-06-22 12:12:30 +02:00
Juan Linietsky f27d2a3355 -Moved NinePatch to shader, saves a ton of draw calls rendering UI
-Implemented missing stretch modes, now tile and tile fit work
2017-06-21 23:37:25 -03:00
Nuno Donato be2f7f4172 highlight the correct error line in shader editor 2017-06-21 21:09:41 +01:00
Juan Linietsky 95560e02c5 2D GPU Particles working.. 2017-06-21 16:26:26 -03:00
Thomas Herzog 3c1fd26bb0 Merge pull request #9294 from karroffel/ptrcall-ref-const-ptr-fix
fixed ptrcall cast for const Ref<T>
2017-06-20 23:11:38 +02:00
Karroffel 40bb90fabd fixed ptrcall cast for const Ref<T>
Some methods require a const Ref<T> argument,
the ptrcall method wrappers cast `void *` to the
apropriate types. The problem is that there is no `Ref(const T *)`
constructor, but since Ref modifies the refcount of a Reference
anyway there's no point in a const version.

The problem is that with a `const T *` constructor call, the
argument gets converted to Variant first and loses all the
reference information, resulting in a null reference as the
argument to the constructor.
2017-06-20 21:38:21 +02:00
Andreas Haas e80d61038b
Fix EditorImportPlugin::get_preset_count
Was missing a const...
2017-06-20 21:25:12 +02:00
Mariano Suligoy 2b7a826553 Fix regresion on Texture Region Editor Plugin. Fixes#9282 2017-06-20 16:05:36 -03:00
Rémi Verschelde a22b9ce8ac Merge pull request #9279 from dumitru-stama/fixstring
Fixed a string class bug
2017-06-20 19:45:29 +02:00
Thomas Herzog ceded65c01 Merge pull request #9257 from Shockblast/patch-1
Remove Duplicate Include
2017-06-20 10:58:00 +02:00
dumitru-stama 82d8da2a48 Fixed a string class bug 2017-06-19 20:08:31 -07:00
Shockblast 3e733d0f92 Remove Duplicate Include
Also solves a problem with AnimatedSprites, when you add sprites for the animation the engine crash
2017-06-19 20:52:10 -04:00
Thomas Herzog f919be936b Merge pull request #9277 from bd339/iss9266
Add null-check to get_normal_frame
2017-06-20 00:44:01 +02:00
Benjamin Dahse b95f57d050 Add null-check to get_normal_frame 2017-06-20 00:37:34 +02:00
Thomas Herzog 86407aebc5 Merge pull request #8407 from Jylhis/popup_item_select_hide
Update PopupMenu hiding
2017-06-20 00:20:21 +02:00
Thomas Herzog bfac7c476d Merge pull request #8629 from hikari-no-yume/Sprite3D_double_sided_flag_master
Add double-sided flag to SpriteBase3D [master]
2017-06-19 23:46:54 +02:00
Thomas Herzog b6b225f4c5 Merge pull request #8870 from tagcup/pathfollow
Fix PathFollow rotations.
2017-06-19 23:30:40 +02:00
Thomas Herzog 9d67be447a Merge pull request #9274 from vnen/compress-functions
Expose compression functions to GDScript
2017-06-19 22:59:24 +02:00
Thomas Herzog 6b93455b6b Merge pull request #9099 from kubecz3k/plugin-camera-expose
EditorPlugin can request user inputs from editor 3d view
2017-06-19 22:43:33 +02:00
Thomas Herzog d9a3cef18e Merge pull request #9251 from dumitru-stama/blendfillfor30
Added three new methods to 3.0: 'blend_rect', 'blend_rect_mask' and 'fill'
2017-06-19 22:17:52 +02:00
Thomas Herzog 88581fb7ac Merge pull request #9271 from eska014/html5-inputev
Update HTML5 platform for reference-counted InputEvents
2017-06-19 22:04:14 +02:00
George Marques 34b6922caa
Add documentation to compression functions 2017-06-19 16:52:01 -03:00
George Marques 5c779c574a
Add compression support for File object 2017-06-19 16:38:37 -03:00
George Marques af7d590206
Add basic compression functions to PoolBaseArray 2017-06-19 16:38:10 -03:00
Juan Linietsky 8928509f09 Merge pull request #9256 from MarianoGnu/master
Fix ColorPicker's screen pick functionality
2017-06-19 13:32:24 -03:00
George Marques 9583ecf7e8 Merge pull request #9239 from lethiandev/master
Fix image lock on preview image generating
2017-06-19 10:54:05 -03:00
L. Krause 6f17d41bcf Update HTML5 platform for new InputEvents 2017-06-19 15:43:46 +02:00
Mariano Suligoy f5185e7ba6 Fix ColorPicker's screen pick functionality 2017-06-19 09:23:57 -03:00
Konrad Nowakowski 6592df74d8 Fix image lock on preview image generating 2017-06-19 12:00:32 +01:00
Juan Linietsky 0288be1e76 Texture rect_region drawing now clamps UV to avoid bleeding. This avoids scenarios like single-texture tilemap tiles leaking pixels to the next tile when filter is enabled on it. 2017-06-18 22:55:02 -03:00
Juan Linietsky 969fa3cc73 -Added AudioStreamPlayer2D, for 2D positional sound
-Added ability for Area2D to redirect positional sound to a specific audio bus
2017-06-18 21:07:32 -03:00
d 053a4fdcd9 Added two new methods to 3.0 'blend_rect_mask' and 'fill' 2017-06-18 11:29:37 -07:00
Juan Linietsky 33bf180067 Added normalmap support to stylebox and animated sprite. 2017-06-18 00:03:28 -03:00
Juan Linietsky 5c6cac4e53 Add normalmap support for drawing in all low level primitives. Only added support in Sprite so far. 2017-06-17 23:27:42 -03:00
Thomas Herzog f41cc5b590 Merge pull request #9246 from karroffel/gdnative-header-export-thingy
[GDNative] added GDN_EXPORT macro for libraries
2017-06-18 01:19:40 +02:00
Karroffel de18b8ee96 [GDNative] added GDN_EXPORT macro for libraries
Up until now there only was GDAPI which was used
for the procedures Godot exposes.
2017-06-18 01:16:10 +02:00
Juan Linietsky 2da3f48e5a -Fixed shader lang to not be able to get scalar from matrix (ie mat.x), to make it more GLSL compatible
-Fixed referencing of world_transform in fragment shader not working
-Fixed unsycn bug related to getting shader param list from the server
-Fixed getting all textures from shader properly, fixes #8353
2017-06-17 11:03:48 -03:00