Commit Graph

7594 Commits

Author SHA1 Message Date
Juan Linietsky 6ba1e4677b -Trigger shapes removed in 2D, they became obsolete long ago when areas could detect their own overlap
-Added ability to disable individual collisionshape/polygon
-Moved One Way Collision to shape, allowing more flexibility
-Changed internals of CollisionObject, shapes are generated from child nodes on the fly, not stored inside any longer.
-Modifying a CollisionPolygon2D on the fly now works, it can even be animated.

Will port this to 3D once well tested. Have fun!
2017-06-23 23:39:52 -03:00
Juan Linietsky 683f50bef4 Merge pull request #9312 from BastiaanOlij/osx_export
Osx export
2017-06-23 23:22:51 -03:00
Juan Linietsky 693eb0fa06 Merge pull request #8591 from Zylann/curve_1d
Added Curve resource
2017-06-23 20:07:01 -03:00
Marc Gilleron 659897cfb8 Added Curve resource
- New resource for curves in y(x) form
- CurveTexture now has a Curve
- Curve and CurveTexture share the same editor
2017-06-24 01:01:36 +02:00
Juan Linietsky 00e5ba3143 Remove methods from code completion which are already exposed by properties, makes completion cleaner and more close to the documentation. 2017-06-23 15:10:46 -03:00
Juan Linietsky 8ef1c41a4e Small fixes required to get platformer to work.
Added back CanvasItemMaterial
2017-06-23 14:31:59 -03:00
Juan Linietsky 33c146adbc Merge pull request #9285 from Calinou/compress-windows-icon
Make the Windows icon file smaller
2017-06-23 08:49:05 -03:00
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
BastiaanOlij 5b44f092f9 Reimplement export module for OSX 2017-06-23 00:01:55 +10: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
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
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