Commit graph

16232 commits

Author SHA1 Message Date
Paul Joannon 3f1b977263
tilemap_editor: change move and duplicate tools
* Move now behaves like a Cut
* Duplicate now behaves like a Copy
* You can continue Pasting after Cut or Copy
2018-08-24 11:58: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
Thomas Herzog 211e0fa4aa [GLES2] fix multimesh byte colors
When using float colors, everything works fine, but when using
the byte format, the colors were read incorrectly.
2018-08-24 11:23:42 +02:00
Rémi Verschelde de59fe04e7 Add print_verbose to print to stdout only in verbose mode
Equivalent of the cumbersome:
if (OS::get_singleton()->is_stdout_verbose())
	print_line(msg);
2018-08-24 09:23:20 +02: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
Kelly Thomas a941684590 mono: Quat - add some missing constructors and methods 2018-08-24 07:56:54 +08:00
Rémi Verschelde cef310e0ea
Merge pull request #21336 from eska014/html5-new-presentation
Add responsive HTML5 export page with full-size canvas as new default
2018-08-24 00:10:46 +02:00
Rémi Verschelde 8ebe5f45a7
Merge pull request #21332 from dragmz/apk-hint-fix
Fix file hints
2018-08-23 23:35:58 +02:00
Rémi Verschelde b2494d3898
Merge pull request #21325 from karroffel/gles2-texture-flags
[GLES2] fix texture flags not having an effect
2018-08-23 22:22:33 +02:00
Marcin Zawiejski 3c4c8c40db Fix file hints
Fixes file hints so the file dialog actually displays the files with given extension (e.g. *.apk).
2018-08-23 22:18:59 +02: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
Rémi Verschelde b90dff787c
Merge pull request #21330 from eska014/html5-canvas-resize
Facilitate external modification of HTML5 canvas size
2018-08-23 21:48:27 +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
Leon Krause 86d9e67d7a Add responsive HTML5 export page with full-size canvas as new default 2018-08-23 21:28:09 +02:00
Juan Linietsky adc0188d9f Added max() and min() functions to array to return greater or lesser element (or null if data is not of compatible type or empty array). Closes #15697 2018-08-23 15:32:02 -03:00
Pieter-Jan Briers af39684885 Fix Mono exception handling.
First of all, this fixes the handling of exceptions so the engine actually notices them,
it was broken in 4172fa03b5.

Next, unhandled exceptions now do NOT cause an abort(). They're logged now,
so before #16987. The pending exception thing still works though.
2018-08-23 20:21:36 +02: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
Aaron Franke 514856d8c7 [Mono] Move several small related files 2018-08-23 12:50:04 -04: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
Thomas Herzog 8884b3daad [GLES2] fix texture flags not having an effect 2018-08-23 18:25:55 +02:00
Thomas Herzog 0edb50f629
Merge pull request #21321 from karroffel/gles2-canvas-modulate
[GLES2] fix CanvasModulate not working
2018-08-23 18:15:42 +02:00
Ignacio Etcheverry c760121c10
Merge pull request #21322 from KellyThomas/aabb-rect2-end
[Mono] AABB - Position, Size, End setters, Rect2 - End setter
2018-08-23 18:12:47 +02:00
Rémi Verschelde 2c5b409407
Merge pull request #21316 from AlexHolly/fix-update-2d-view-scene-tree-selection
Fix update 2D view on selections in scene tree
2018-08-23 18:07:25 +02:00
Thomas Herzog 6fb144792f
Merge pull request #21320 from karroffel/gles2-transparent-depth-fixes
[GLES2] fix depth for alpha pass
2018-08-23 17:59:14 +02:00
Kelly Thomas 46207ae7aa [Mono] AABB - Position, Size, End setters, Rect2 - End setter 2018-08-23 23:45:18 +08:00
Thomas Herzog 0f59cc179c [GLES2] fix CanvasModulate not working
That's what happens when you forget about your debug
shortcuts.

Fixes #21025
2018-08-23 17:38:20 +02:00
Juan Linietsky 398c1c1c0c Fix transform not being applied properly after toggling remote node, fixes #17671 2018-08-23 12:29:33 -03:00
Thomas Herzog 5ebc70f288 [GLES2] fix depth for alpha pass 2018-08-23 17:25:00 +02:00
Juan Linietsky 634673cf5b Fix properly keep scale in RemoteTransform2D, fixes #17692, closes #17690 2018-08-23 12:14:04 -03:00
Thomas Herzog d61fc6a97b
Merge pull request #21317 from karroffel/gles2-canvas-texture-sampler-long-branch-name
[GLES2] fix canvas_item sampler allocation
2018-08-23 17:11:00 +02:00
Thomas Herzog a7bedaf935 [GLES2] attempt to fix some android problems 2018-08-23 17:08:16 +02:00
Thomas Herzog 29ccd2be18
Merge pull request #21288 from karroffel/gles2-hardware-skeletons
[GLES2] enable hardware skeletons
2018-08-23 17:06:02 +02:00
Thomas Herzog da876907fd [GLES2] fix canvas_item sampler allocation 2018-08-23 16:46:43 +02:00
Juan Linietsky 0d0cf2e948 Change how path properties are presented, so they can be edited. Fixes #20709 2018-08-23 11:45:54 -03:00
Thomas Herzog 8e7454e5d7 enable hardware skeletons 2018-08-23 16:13:45 +02:00
Rémi Verschelde d1497b720e i18n: Fix extract.py after #17440
As discussed in https://github.com/godotengine/godot/pull/17440#discussion_r212277597
2018-08-23 14:43:41 +02:00
Rémi Verschelde 87958e7ada i18n: Merge translation catalogs with updated template 2018-08-23 14:37:31 +02:00
Rémi Verschelde 2f721d1245 i18n: Sync translation template with current source
Finally unlocking translations for the master/3.1 branch on Weblate
to prepare for the stable release.
2018-08-23 14:35:40 +02:00
Alexander Holland b7db3a69b8 Fix update 2D view on selections in scene tree 2018-08-23 14:27:06 +02:00
Rémi Verschelde 32a6542672 i18n: Sync translations with Weblate
(cherry picked from commit f16f9b2b8a)

Also adds initial Georgian and Latvian translations.
2018-08-23 13:38:37 +02:00
Rémi Verschelde e3014467e4
Merge pull request #21313 from JFonS/gizmo_enabling
Remove material errors after opening new project, fixes #21073
2018-08-23 12:11:07 +02:00
Rémi Verschelde 92aafa898f
Merge pull request #21305 from Mr-Slurpy/expression-fix
Fixed bugs in expression class
2018-08-23 12:10:54 +02:00
JFonS 927f9f283f Remove material errors after opening new project, fixes #21073 2018-08-23 10:50:30 +02:00
Rémi Verschelde 7f8f76ffbb
Merge pull request #21301 from elasota/multithread-cvtt
Multithread BPTC compression jobs
2018-08-23 09:33:47 +02:00
Rémi Verschelde 18e1268cd7
Merge pull request #21254 from YeldhamDev/tile_grid_map_side
Add option to move Tile/GridMap editors to another side
2018-08-23 09:04:12 +02:00
Rémi Verschelde 0c0aa5fc6f
Merge pull request #21290 from elasota/texture-import-options
Hide unused options when not using "Video RAM" compression mode
2018-08-23 09:01:46 +02:00