Commit graph

3896 commits

Author SHA1 Message Date
Rémi Verschelde
12290c172a
Merge pull request #21231 from AlexHolly/filedialog-fix-multi-selection
Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also …
2018-08-25 11:13:31 +02:00
Rémi Verschelde
4a5579bf78
Merge pull request #21358 from MidZik/master
Disable ability to copy or cut text from LineEdit if secret mode is enabled.
2018-08-25 11:05:37 +02:00
Mariano Javier Suligoy
01d509b165 Backward compatibility for autotile setup from Godot 3.0.X
Fixes #20746
2018-08-24 22:59:08 -03:00
Rémi Verschelde
f72f74486d
Merge pull request #21385 from groud/fix_itemlist_signal
Fix a mistake in itemlist multi_select signal
2018-08-24 23:28:05 +02:00
groud
5b5191ccf0 Fix a mistake in itemlist multiselect signal 2018-08-24 23:05:17 +02:00
Rémi Verschelde
6ce4078c5f
Merge pull request #20586 from AlexHolly/text-edit-auto-completion
text_edit auto_completion
2018-08-24 20:48:01 +02:00
Rémi Verschelde
9df480d68b
Merge pull request #21379 from volzhs/particle-mat
Make ParticlesMaterial included with disable_3d=yes option
2018-08-24 20:38:51 +02:00
volzhs
0e7178a740 Make ParticlesMaterial included with disable_3d=yes option 2018-08-25 02:23:40 +09:00
Rémi Verschelde
67b0d3c2dc Particles: Allow speed_scale at 0 in property hint, equivalent to pause
Supersedes and closes #21193.
2018-08-24 18:11:35 +02:00
Rémi Verschelde
77185aaf21
Merge pull request #21049 from AndreaCatania/joints
Improved 6DOF joint implementation
2018-08-24 17:10:54 +02:00
Rémi Verschelde
0b67d1665d Style: Fix previous commits from @reduz 2018-08-24 16:50:29 +02:00
Juan Linietsky
f6c0a3fce9 Property clear caches in animationtree if animatioplayer is modified. Fixes #19876 2018-08-24 11:41:46 -03:00
Juan Linietsky
f41dddf069 missed outline size in previous commit 2018-08-24 11:22:17 -03:00
Juan Linietsky
c399c41dfb Initalize font size to 16, closes #21165 2018-08-24 11:21:24 -03:00
Rémi Verschelde
f733c6470d
Merge pull request #21110 from natrim/particles2d_editor
Particles2D: fix editing Visibility Rect from new inspector
2018-08-24 15:31:31 +02:00
Rémi Verschelde
dc09be4c57
Merge pull request #21156 from MednauN/atlas-texture-fix
Fix AtlasTexture with NinePatchRect and TextureProgress
2018-08-24 15:30:59 +02:00
Juan Linietsky
683c3f2fcf Avoid misuse of set_drag_preview() function where it shouldn't be. Closes #20100 2018-08-24 10:30:11 -03:00
Rémi Verschelde
571dab7d1e
Merge pull request #21356 from akien-mga/drop-shadergraph
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 15:02:26 +02:00
Rémi Verschelde
52466d57e9 Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
Rémi Verschelde
e22f0515c9 Drop old ShaderGraph code, obsoleted by VisualShader 2018-08-24 11:49:08 +02:00
MidZik
7aca4c32e2 Disable ability to copy or cut text from LineEdit if secret mode is enabled. 2018-08-24 04:45:05 -05:00
Juan Linietsky
34e58fd831 Added a function to cache texture opacity at a pixel, and modified editor to use it.
Provides massive speedups to selecting objects, still awaiting for @MarianoGNU to do fixes to the region editor to improve performance.
2018-08-23 22:11:10 -03:00
Rémi Verschelde
ab3716bd46 Revert "Take CanvasLayer transform into account for 2D physics"
This reverts commit 4839e5f6d9.

Fixes #21289.
2018-08-23 21:49:24 +02:00
Juan Linietsky
bffaa835fc -Fix blend tree rename, closes #20210
-Fixed activity lines in blend tree
2018-08-23 16:44:10 -03:00
Rémi Verschelde
df4dadafb7
Merge pull request #21328 from marcelofg55/bind_clipcam
Add missing BIND_ENUM_CONSTANT to ClippedCamera
2018-08-23 19:28:56 +02:00
Rémi Verschelde
524a795d50
Merge pull request #21326 from volzhs/remove-print-ansm-playback
Remove unnecessary print with AnimationNodeStateMachinePlayback
2018-08-23 19:28:46 +02:00
Marcelo Fernandez
f344763b58 Add missing BIND_ENUM_CONSTANT to ClippedCamera 2018-08-23 13:53:05 -03:00
volzhs
6a0a8bf814 Remove unnecessary print with AnimationNodeStateMachinePlayback 2018-08-24 01:29:19 +09:00
Juan Linietsky
a1b594c2fc Switched AnimatedTexture to a readers-writers lock, solves a race condition and fixes #20221 2018-08-23 13:28:36 -03:00
Juan Linietsky
398c1c1c0c Fix transform not being applied properly after toggling remote node, fixes #17671 2018-08-23 12:29:33 -03:00
Juan Linietsky
634673cf5b Fix properly keep scale in RemoteTransform2D, fixes #17692, closes #17690 2018-08-23 12:14:04 -03:00
Michael Alexsander Silva Dias
6fa1b5eca7 Add option to move Tile/GridMap editors to another side 2018-08-22 19:18:23 -03:00
Juan Linietsky
334acc017f Add distance based dithering to the default material. 2018-08-22 10:24:00 -03:00
Rémi Verschelde
8b25c0513f
Merge pull request #21152 from DualMatrix/fileselect_error
Fixed !is_inside_tree() errors in file dialog
2018-08-22 14:27:17 +02:00
Chaosus
27731a86d2 Restrict set_pitch_scale to positive scales for AudioStreamPlayer*
Fixes #20459.

Co-authored-by: Tiago José Sousa Magalhães <crakylps@gmail.com>
2018-08-22 00:11:53 +02:00
Rémi Verschelde
ed10ff65fd
Merge pull request #21245 from RandomShaper/fix-physics-canvas-xform
Take CanvasLayer transform into account for 2D physics
2018-08-21 21:46:04 +02:00
Rémi Verschelde
65c8a49122
Merge pull request #21250 from dragmz/ref-ptr-n(eq)-op
== and != operators for Ref<T> / T*
2018-08-21 21:28:29 +02:00
Rémi Verschelde
404ee1a56b Style: Fix issues that went past CI 2018-08-21 21:28:06 +02:00
Rémi Verschelde
d3de933377
Merge pull request #21263 from guilhermefelipecgs/fix_gradient_edit
Fix grab/select of gradient edit
2018-08-21 20:47:47 +02:00
Juan Linietsky
ee07fb5ebe Changes to ClippedCamera, RayCast,Raycast2D and 2D physics API to add ability to choose between bodies and areas when colliding. 2018-08-21 15:31:23 -03:00
Rémi Verschelde
28e9aedbdd
Merge pull request #21267 from akien-mga/color-grayscale
Deprecate incorrect Color::gray()
2018-08-21 20:29:56 +02:00
Pedro J. Estébanez
20dc63054f Optimize CanvasLayer::get_global_transform_with_canvas
So it takes advantage of the `get_global_transform` cached data.
2018-08-21 20:10:15 +02:00
Pedro J. Estébanez
4839e5f6d9 Take CanvasLayer transform into account for 2D physics
Fixes #18073.
2018-08-21 20:10:15 +02:00
Juan Linietsky
44d75e3b6d
Merge pull request #21266 from AndreaCatania/master
Added area / body collision exception in raycast
2018-08-21 14:26:19 -03:00
Andrea Catania
0b98834b77 Added ray / shape / point / motion / rest cast exclusion of area and or body 2018-08-21 18:51:08 +02:00
Rémi Verschelde
2969dffbe3 Deprecate incorrect Color::gray()
This average is not a proper approximation of a grayscale value,
get_v() is better suited for that.

If we want a real to_grayscale() conversion, it's somewhat more
involved: https://en.wikipedia.org/wiki/Grayscale

Remove the deprecated Gray() from C# bindings as it conflicts
with new named color constants.
2018-08-21 17:48:31 +02:00
Juan Linietsky
e20864c340 Clipped camera implementation, a camera that avoids going into geometry. 2018-08-21 11:48:48 -03:00
Guilherme Felipe
40f8ab6b1e Fix grab/select of gradient edit 2018-08-21 11:22:58 -03:00
Rémi Verschelde
912131fe03
Merge pull request #20101 from panzergame/shape_margin
Expose bullet shape margin to UI.
2018-08-21 16:17:11 +02:00
Marcin Zawiejski
a1d2fbdeb2 == and != operators for Ref<T> / T*
This is to prevent crashes for code like:

...
void Material::set_next_pass(const Ref<Material> &p_pass) {

	ERR_FAIL_COND(p_pass == this);
...

that's been fixed in 031f763d4f
2018-08-21 13:25:50 +02:00