Commit graph

15882 commits

Author SHA1 Message Date
Rémi Verschelde
bfcc3e7a00
Merge pull request #21146 from akien-mga/import-export-editorinspector
Port ImportDock and ProjectExport to new property editor
2018-08-18 15:16:55 +02:00
Andrea Catania
9826456f2e Improved move_and_slide function to stay on slope and fall on steep slope 2018-08-18 15:11:51 +02:00
Rémi Verschelde
0a3d874efd Port ImportDock and ProjectExport to new property editor 2018-08-18 15:07:23 +02:00
Rémi Verschelde
0fbc5b3bbf
Merge pull request #21085 from akien-mga/physical_material_ext
Change PhysicsMaterial extension to phymat
2018-08-18 15:02:05 +02:00
Rémi Verschelde
487073d4c0
Merge pull request #21130 from cbscribe/kcc_class_updates
[DOCS] Updates to assorted class descriptions.
2018-08-18 15:01:36 +02:00
Rémi Verschelde
5acb309d61
Merge pull request #21115 from quendera/quendera-typo
Fixed typo in detect.py
2018-08-18 15:01:06 +02:00
Rémi Verschelde
461d1bcb80
Merge pull request #21117 from akien-mga/itemlist_custom_fg_color
Bind ItemList's item_custom_fg_color methods
2018-08-18 15:00:57 +02:00
QbieShay
bb14ef5623 added spring arm node. 2018-08-18 14:34:42 +02:00
Thomas Herzog
f3c09b5088
Merge pull request #21134 from dumitru-stama/fix_black_screen
Removed the lines forcing black screen on android GLES2
2018-08-18 12:40:34 +02:00
dumitru.stama
5a74b15b3d Removed the lines forcing black screen on android GLES2 2018-08-17 22:26:30 -07:00
neonsoup
42dc2ec080 Fix errors during removing files or folders and fix for latin symbols
This commit adds support for unicode strings in OS_Windows::move_to_trash.
Also reverts commit 6188388c5a as it did not add extra null character to the path string (SHFILEOPSTRUCTA and SHFILEOPSTRUCTW require path to be double null-terminated).
2018-08-18 01:30:22 +03:00
Chris Bradfield
23b7edb214 [DOCS] Updates to assorted class descriptions. 2018-08-17 14:55:19 -07:00
Hugo Locurcio
442029b1c0
Fix the 3D grid flickering when the origin is enabled 2018-08-17 23:22:03 +02:00
Guilherme Felipe
72104161db [Texture Importer] Add option to invert color 2018-08-17 13:55:33 -03:00
Ignacio Etcheverry
c93888ae71
Merge pull request #21116 from neikeq/improve-cs_files
Mono: Improve C# core files (glue/cs_files) buildsystem
2018-08-17 14:16:47 +02:00
Ignacio Etcheverry
7287300433 Mono: Improve C# core files (glue/cs_files) buildsystem
- Search C# files recursively in 'glue/cs_files'.
- Determine a version for the C# core files automatically. The latest modified time will do for now.
2018-08-17 13:51:55 +02:00
Rémi Verschelde
099f74584a Bind ItemList's item_custom_fg_color methods
Fixes #21086.
2018-08-17 13:46:33 +02:00
Tiago Quendera
aa594614db
Update detect.py
Fixed a typo in detect.py
2018-08-17 12:08:17 +01:00
Rémi Verschelde
1f65ed6a7d
Merge pull request #21108 from akien-mga/export-error-color
Export dialog: Fix error color and link alignment
2018-08-17 11:54:12 +02:00
Rémi Verschelde
5542d4a830 Export dialog: Fix error color and link alignment
Also fix extraneous "- " line when there are more than 2 messages.
2018-08-17 11:35:05 +02:00
Rémi Verschelde
985ed5e55a
Merge pull request #21099 from Chaosus/fix_error_icon
Fix error icon color for light themes
2018-08-17 10:41:19 +02:00
Chaosus
0d16ffbcaa Fix error icon color 2018-08-17 09:19:44 +03:00
Rémi Verschelde
68676c774d
Merge pull request #21091 from hpvb/fix-removing-popup-menu-item
Call minimum_size_changed() in PopupMenu::remove_item()
2018-08-17 02:27:16 +02:00
Markar
e46c2dbf74 Fix bucket fill behaviour when selecting multiple tiles 2018-08-17 01:55:21 +02:00
Rémi Verschelde
6936cbc24e
Merge pull request #21089 from hpvb/fix-linux-debugger-foreground
Replace XRaiseWindow with a _NET_ACTIVE_WINDOW ClientRequest
2018-08-17 01:13:23 +02:00
Juan Linietsky
d7b892294b
Merge pull request #21090 from hpvb/fix-19842-redux
Delay emitting pressed signals in PopupMenu
2018-08-16 17:44:51 -03:00
Hein-Pieter van Braam
2d032c1562 Call minimum_size_changed() in PopupMenu::remove_item()
When removing an item from a PopupMenu we need to update the control's
size cache otherwise the size of the PopupMenu itself lags behind by 1
item size. Meaning the PopupMenu will remain too large.
2018-08-16 21:51:41 +02:00
Hein-Pieter van Braam
fa7eac8a0d Delay emitting pressed signals in PopupMenu
When processing items we may actually delete the item we're processing
in the callback for the signal. To avoid this, call the signal after
we're done processing the items. But before hiding the popupmenu itself.

Thanks to @reduz for writing the whole solution.

This fixes #19842
2018-08-16 21:44:18 +02:00
Hein-Pieter van Braam
827cadafc8 Replace XRaiseWindow with a _NET_ACTIVE_WINDOW ClientRequest
This fixes the editor on X11 not getting put on the foreground when a
debugged project hits an error or breakpoint.
2018-08-16 21:36:37 +02:00
Rémi Verschelde
968b31e971
Merge pull request #20561 from willnationsdev/script-class-ns
Add NativeScript support for script classes via exported script properties.
2018-08-16 20:03:49 +02:00
Rémi Verschelde
69694dde75
Merge pull request #21084 from akien-mga/theora-webm-loading
Fix Theora/Webm loaders declaring binary extension
2018-08-16 19:23:28 +02:00
Rémi Verschelde
17b2d808de Change PhysicsMaterial extension to phymat
All other binary extensions are lowercase.
2018-08-16 19:19:23 +02:00
Rémi Verschelde
333999c24f Fix Theora/Webm loaders declaring binary extension
RES_BASE_EXTENSION is only to declare our proprietary binary formats
(e.g. "scn", "res", etc.).

Fixes #20395.
2018-08-16 19:17:24 +02:00
Rémi Verschelde
a2abe760c8
Merge pull request #21047 from gotnospirit/fix_tween_reversed_duration
Tween: Always remove the desired InterpolateData when finished
2018-08-16 18:30:41 +02:00
Rémi Verschelde
134d071ca7
Merge pull request #21046 from DualMatrix/recent_custom_type
Fixed custom nodes not working with favorites and recently used
2018-08-16 18:28:03 +02:00
Rémi Verschelde
e06825ba4b
Merge pull request #21067 from natrim/Particles2D_AABB
Particles2D: set emitting if not set before generating Visibility Rect
2018-08-16 18:27:23 +02:00
Rémi Verschelde
b83f72ce12
Merge pull request #21081 from akien-mga/fix-19289
Fix crash assigning script to a Resource
2018-08-16 18:27:03 +02:00
DualMatrix
9896b7bbf9 Fixed custom nodes not working properly with favorites and recently used in create node window. 2018-08-16 17:14:52 +02:00
James
4c2f9c19b8 Tween: Add a unique identifier to InterpolateData to be able to remove the right one when finished 2018-08-16 15:59:35 +02:00
Rémi Verschelde
ba47f15b78 Fix crash assigning script to a Resource
We were dereferencing the wrong identifier, which could be NULL.
Fixes #19289, supersedes and closes #20985.
2018-08-16 15:40:06 +02:00
Natrim
e11e080fa2 Particles2D: set emitting if not set before generating Visibility Rect
and removed not needed running zeroing
 in ParticlesEditor::_generate_aabb
2018-08-16 15:35:12 +02:00
Rémi Verschelde
be9e349f56
Merge pull request #20804 from karroffel/vector-project
add `project` method to Vector2/3
2018-08-16 15:31:54 +02:00
Rémi Verschelde
9e4d1512db
Merge pull request #21075 from akien-mga/rotation_degrees_range
Lift 1440 limit in rotation_degrees hint range
2018-08-16 15:23:03 +02:00
Rémi Verschelde
aabb350d6e
Merge pull request #21074 from akien-mga/range-bool-properties
Fix type of Range allow_greater/allow_lesser properties
2018-08-16 15:22:52 +02:00
Rémi Verschelde
968886768b Lift 1440 limit in rotation_degrees hint range
Fixes #15947.
2018-08-16 14:36:38 +02:00
Rémi Verschelde
c78bbfa669 Fix type of Range allow_greater/allow_lesser properties 2018-08-16 14:24:17 +02:00
Rémi Verschelde
de0fb0798e
Merge pull request #21069 from BastiaanOlij/change_mobile_vr_init
Delay initializing lens distortion shader so GLES2 doesn't crash
2018-08-16 13:31:13 +02:00
Juan Linietsky
b466561c4a
Merge pull request #21062 from Ovnuniarchos/PopupCheckables
PopupMenu item_pressed is sent before checking hide flags.
2018-08-16 08:17:12 -03:00
Thomas Herzog
037f4638ab add project method to Vector2/3 2018-08-16 12:52:38 +02:00
Bastiaan Olij
4194581823 Delay initialising lens distortion shader so GLES2 doesn't crash 2018-08-16 20:42:47 +10:00