Commit Graph

16303 Commits

Author SHA1 Message Date
Hein-Pieter van Braam
4b92ca1cce Update X11 global mouse position at startup
When we start the engine we haven't yet gotten any X11 motion events so
we don't yet know where our mouse cursor is located. Instead we now
query the X server for this information when we start and update the
appropriate values.

In addition when we move the window we also update the mouse position
based off of X server knowledge as we will also not have received any
mouse motion events.

this fixes #8145 (for X11 only)
2018-09-09 22:17:27 +02:00
Rémi Verschelde
1093c0ff51
Merge pull request #21783 from xsellier/feature/clipboard-android
Add clipboard operation for android OS
2018-09-09 14:53:23 +02:00
Juan Linietsky
ffe158ae85
Merge pull request #21861 from fire/visual_script_18024
Change the default variable Visual Script constructor to use EditorInspector and etc
2018-09-08 17:05:03 -03:00
K. S. Ernest (iFire) Lee
7ce9e67355 Change the default variable constructor to use EditorInspector and updated property hints that were changed. 2018-09-08 02:51:23 -07:00
Rémi Verschelde
df39a034dc
Merge pull request #21843 from AndreaCatania/bugfix1
Fixed crash during raycast and CCD radius calculation
2018-09-08 11:03:18 +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
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
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
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
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
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
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
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
JFonS
4a412943d4 Fix selection of instanced scenes in 3D 2018-09-02 22:31:03 +02:00
Juan Linietsky
19d57894d8 Change ResourceLoader::load to make it more thread safe. 2018-09-02 14:00:16 -03:00
Rémi Verschelde
8af9d1fc03
Merge pull request #21693 from akien-mga/phymat-no-override-if-unneeded
PhysicsBody: Don't create PhysicsMaterial override for default friction/bounce
2018-09-02 17:58:15 +02:00
Rémi Verschelde
cdbc172a55
Merge pull request #21694 from guilhermefelipecgs/fix_invert_color
[Texture Import] Fix invert color
2018-09-02 17:48:25 +02:00
Guilherme Felipe
4356af2a68 [Texture Import] Fix invert color 2018-09-02 11:35:48 -03:00