Commit Graph

7627 Commits

Author SHA1 Message Date
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
Hugo Locurcio
9444e8056a Make the Windows icon file smaller
This results in slightly more compact Godot Windows binaries.
2017-06-20 14:38:50 +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
Marc Gilleron
0fd66a4f8f Fixed freelook conflict with text inputs 2017-06-20 02:50:25 +02: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
Poommetee Ketson
443e58e88c ColorPicker: fix DPI, hue & color update issues 2017-06-20 04:00:05 +07: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
Juan Linietsky
9757fc354c Fix transparent background rendering, closes #8703
Properly implemented UPDATE_WHEN_VISIBLE mode for viewports
2017-06-17 08:59:43 -03:00
Rémi Verschelde
569a2b5bd7 Merge pull request #9230 from supagu/normals-fix
Fixed decompression of normals
2017-06-17 13:03:48 +02:00
Rémi Verschelde
3a2e9fdf88 Merge pull request #9235 from Kryptocron/issue-9232
Added option to not save a scene when played.
2017-06-17 12:43:27 +02:00
Juan Linietsky
e11fae0bbf Particles properly update the shadow maps, closes #8815 2017-06-17 07:32:49 -03:00
Kryptocron
4bee1d98fa Added option to not save a scene when played. 2017-06-17 03:04:50 -07:00
Rémi Verschelde
5fc3a9956e doc: Sync classref with current source 2017-06-17 11:29:55 +02:00
Rémi Verschelde
c210de581e etc: Do not overestimate number of CPU threads
The *2 factor between cores and threads of most modern CPUs
is already taken into account in get_processor_count().
2017-06-17 10:51:50 +02:00
Rémi Verschelde
63544169f0 Merge pull request #9228 from BastiaanOlij/fix_primitive_slider
Fix sliders for primitives
2017-06-17 10:36:41 +02:00