Commit graph

16461 commits

Author SHA1 Message Date
Hugo Locurcio d789cbeb6b
Tweak the Light instantiation error message and fix a typo 2018-09-07 22:36:39 +02:00
Andrea Catania 3eaaf712db Fixed crash during raycast and CCD radius calculation 2018-09-07 20:38:30 +02:00
Juan Linietsky 4b6846a59d Ensure that tree_exited signal really happens after tree exited, fixes #19641 2018-09-07 15:31:53 -03:00
Juan Linietsky fc50728d45
Merge pull request #21808 from AndreaCatania/optitri
Optimized bullet trimesh collision
2018-09-07 15:09:26 -03:00
Juan Linietsky ec4b8e4a5a
Merge pull request #21836 from AndreaCatania/bulletUpdate
Update bullet to Master 12409f1118a7c7a266f9071350c70789dfe73bb9
2018-09-07 15:09:02 -03:00
merumelu 334f042513 Bind Curve::get_point_count 2018-09-07 20:07:44 +02:00
Juan Linietsky 6ce9951d9e Many fixes to gradient editor, which was pretty broken. Closes #19308 2018-09-07 13:49:10 -03:00
Andrea Catania 6142448417 Update bullet to Master 12409f1118a7c7a266f9071350c70789dfe73bb9 2018-09-07 16:11:04 +02:00
DualMatrix c43ffc8917 Prevent overwriting open scenes when saving
Prevent overwriting open scenes when saving, this fixes #17628
2018-09-07 15:54:26 +02:00
JFonS b82f037818 Fix selection of spatial nodes after selecting a non-spatial one.
Fixes #13849
2018-09-07 10:49:40 +02:00
Juan Linietsky f1e5b7cf42 Print an error if you try to instantiate an editor class outside the editor, fixes #17624 2018-09-06 21:07:46 -03:00
Juan Linietsky 74359a1d1e Add a function to force transform update, fixes #17628 2018-09-06 20:38:16 -03:00
Martin Capitanio 3f01fd5180 Set the lower bound for the GradientTexture width property to 1
Fixes #21522
2018-09-07 01:29:58 +02:00
DualMatrix 3f672307d7 Made editor automatically open scenes of built in scripts.
Made editor automatically open scenes of built in scripts when attempting to open that script.
2018-09-07 00:34:39 +02:00
Juan Linietsky 072bf41c03 Ability for Light2D to use a proxy texture, fixes #17067 2018-09-06 17:26:38 -03:00
Juan Linietsky 39e8aca1b7 Update FOV if edited in gizmo, fixes #16400 2018-09-06 16:22:34 -03:00
Andrea Catania 88967e4001 Fixing trimesh precision 2018-09-06 18:53:03 +02:00
Juan Linietsky f6fbf841d5 Show a warning if you try to grab focus when not allowed, closes #15388 2018-09-06 13:32:34 -03:00
Andrea Catania 9b446f1cc3 Optimized in case is used just 1 shape with no transform 2018-09-06 18:19:05 +02:00
Juan Linietsky 47a4d78dbf Only allow StreamTexture, ImageTexture in Light2D, closes #15194 2018-09-06 13:18:22 -03:00
Juan Linietsky 5307043751 Fixes to multimesh, added custom data and checks to avoid reconfiguring if instance count > 0. Fixes #12595 2018-09-05 19:15:59 -03:00
Guilherme Felipe bd3d73a9fd Fix mouse confined leaving window with OS_Windows::set_window_position 2018-09-05 18:52:05 -03:00
Xavier Sellier f68e127079 Add clipboard operation for android OS 2018-09-05 17:27:45 -04:00
Rémi Verschelde fc207ba18a
Merge pull request #21782 from eska014/gles3-get-texture-err
Fix missing texture-download error with OpenGL ES
2018-09-05 22:12:28 +02:00
Leon Krause 57eaea571a Fix missing texture-download error with OpenGL ES 2018-09-05 21:22:13 +02:00
Rémi Verschelde 3a8f8381f2
Merge pull request #21771 from WiggleWizard/get-stack-fix
Fixed return type for get_stack() function call
2018-09-05 19:46:12 +02:00
Rémi Verschelde 8804eb8c06
Merge pull request #21707 from JFonS/fix_instanced_selection
Fix selection of instanced scenes in 3D
2018-09-05 18:11:56 +02:00
Rémi Verschelde 2f4912ec69
Merge pull request #21767 from volzhs/expand-collapse-all
Make expand/collapse all properties menu working
2018-09-05 18:04:44 +02:00
Rémi Verschelde 021159330c
Merge pull request #21766 from volzhs/bitmask-color
Make better look for bitmask
2018-09-05 18:03:40 +02:00
Guilherme Felipe 7d6364d431 Fixes to mouse mode confined and captured
These modes will work on Linux in the same way as Windows.
2018-09-05 11:24:06 -03:00
Rémi Verschelde 49495eab8d
Merge pull request #21774 from AndreaCatania/areaTri
Fixed bullet area vs Trimesh shape overlap
2018-09-05 14:40:54 +02:00
Andrea Catania ce138d3449 Fixed bullet area vs Trimesh shape overlap 2018-09-05 13:43:02 +02:00
WiggleWizard d227a9ae12 Fixed return type for get_stack() function call 2018-09-05 11:29:06 +01:00
volzhs ce4067e38b Make expand/collapse all properties menu working 2018-09-05 11:03:10 +09:00
volzhs 192beed068 Make better look for bitmask 2018-09-05 10:49:48 +09:00
Thomas Herzog 93a888e81e
Merge pull request #21754 from willnationsdev/fix-script-class-ns
Fix invalid deref in NativeScript script classes
2018-09-04 17:26:10 +02:00
Will Nations fadf2d2afd Fix invalid deref in NativeScript script classes 2018-09-04 08:35:28 -05:00
Rémi Verschelde 13c3b9e59b Particles: Reset default velocity to 0, allow negative values 2018-09-04 15:35:11 +02:00
Rémi Verschelde e8a6c5844a
Merge pull request #21747 from akien-mga/split-particlesmaterial
Move ParticlesMaterial code to its own resource file
2018-09-04 15:27:19 +02:00
Rémi Verschelde ab0d4fd762 Style: Format generated shader code in ParticlesMaterial 2018-09-04 13:21:53 +02:00
Rémi Verschelde 5fe01d4cfc Move ParticlesMaterial code to its own resource file
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense
to have as a common resource. It also allowed to disable compilation of
Particles (3D) when using 'disable_3d'.

Also cleaned up includes in SpatialEditorGizmos and some other places,
as well as dropped dead code in material_editor_plugin.cpp.
2018-09-04 11:32:56 +02:00
Rémi Verschelde a1b578562a
Merge pull request #21741 from capnm/fix-custom-cursor-hotspot
Really fix the custom cursor hotspot
2018-09-04 08:41:18 +02:00
Martin Capitanio bcee65284e Really fix the custom cursor hotspot
Add check for negative values.

Fixes #21721
2018-09-04 04:42:23 +02:00
Rafael Reis d1d1f4a776 #21500 Fixing key shortcut 2018-09-03 11:39:07 -03:00
Rémi Verschelde f50dd682f6
Merge pull request #21727 from guilhermefelipecgs/fix_cursor_hotspot
Fix custom cursor hotspot
2018-09-03 16:04:38 +02:00
Guilherme Felipe e5470cfa70 Fix custom cursor hotspot
Cursor hotspot must be inside image on Linux. Adding validation for all
platforms for consistency.
2018-09-03 09:57:07 -03:00
Rémi Verschelde 1ebfd918d4
Merge pull request #21723 from volzhs/gles2-splash-fullsize
Respect splash fullsize option on GLES2
2018-09-03 14:07:36 +02:00
volzhs d5354e2e8f Respect splash fullsize option on GLES2 2018-09-03 19:48:12 +09:00
Rémi Verschelde 6ead00733a
Merge pull request #21714 from avencherus/multi-screen-center
Added multi-monitor support for center_window()
2018-09-03 08:26:17 +02:00
Jared 4ccf25a577 Added multi-monitor support for center_window() 2018-09-03 07:41:04 +03:00