Commit graph

8412 commits

Author SHA1 Message Date
kubecz3k 129ebca41d Merge pull request #9889 from groud/control_enhancements
Control node enhancements
2017-08-15 22:55:49 +02:00
kubecz3k aa24ddc59f Merge pull request #10337 from endragor/command-line-export
Enable command-line export
2017-08-15 22:46:20 +02:00
kubecz3k 7015b28b89 Merge pull request #10341 from marcelofg55/win_screen_funcs
Fix get_screen_* funcs returning old values after resolution changes on Windows
2017-08-15 22:31:40 +02:00
Andreas Haas 2d0e7a521f Merge pull request #10345 from Hinsbart/remove_imported
Removing a Resource also deletes imported files.
2017-08-15 22:21:53 +02:00
Juan Linietsky 860816f3d3 Fix debug materials, closes #8607 2017-08-15 17:21:05 -03:00
Juan Linietsky a4f9c95169 Small fix for problem of nodes losing type, this is not good enough to solve a core reimport problem, but so far fixes #8116 2017-08-15 16:28:34 -03:00
Andreas Haas aaedde4122
Fix Editor dimming.
Fixes #10353
2017-08-15 20:57:30 +02:00
Juan Linietsky cb0e357d0b Converting to MeshLibrary works again, fixes #8092 2017-08-15 11:41:17 -03:00
Juan Linietsky fdc2cdef0b Ensure nothing is found outside modal stack, but keep logic going. Fixes #7622 2017-08-15 07:32:15 -03:00
Andreas Haas 155402dc1b
Removing a Resource also deletes imported files. 2017-08-15 01:13:41 +02:00
Ignacio Etcheverry 7fc3c51169 Merge pull request #10339 from bojidar-bg/x-fix-scale-conflict
Rename Light2D::scale to texture_scale, so it doesn't conflict
2017-08-14 22:16:39 +02:00
Marcelo Fernandez 51f9bbc556 Fix get_screen_* funcs returning old values after resolution changes on Windows 2017-08-14 14:49:36 -03:00
Bojidar Marinov 4b0990bf8d
Rename Light2D::scale to texture_scale, so it doesn't conflict 2017-08-14 18:53:42 +03:00
Juan Linietsky b7571582ed Ability to save objects to binary format 2017-08-14 11:59:23 -03:00
Ruslan Mustakov ad457976fc Enable command-line export
The syntax is identical to what it was in 2.1, but now you specify
preset name instead of platform name.
2017-08-14 20:15:06 +07:00
Gilles Roudiere 0041e08f74 Avoids inverted anchors
Add a push_opposite_anchor argument pushing the opposite anchor if
needed
2017-08-13 21:20:14 +02:00
Gilles Roudiere c26af6f2b7 Adds a function to set Anchors with a layout preset 2017-08-13 21:20:14 +02:00
Gilles Roudiere e76b535a1a Handle undo/redo of anchor positioning 2017-08-13 21:20:13 +02:00
Gilles Roudiere e8c83b31bd Added the possibility to move all anchors at once when they are clustered 2017-08-13 21:20:13 +02:00
Gilles Roudiere f5ff7e9fa0 Make anchors snap to each other 2017-08-13 21:20:13 +02:00
Gilles Roudiere b73613e1eb Displays percentages when dragging anchors 2017-08-13 21:20:13 +02:00
Gilles Roudiere 2032cb2522 Simplifies the canvas editor code 2017-08-13 21:20:13 +02:00
Gilles Roudiere 3264cea7ae Add lines to make understandable when anchors are snapped 2017-08-13 21:20:13 +02:00
Gilles Roudiere b329cb9c71 Snap anchors when dragged, depending on the zoom level 2017-08-13 21:20:13 +02:00
Gilles Roudiere fcff42dcb7 Make anchors draggable 2017-08-13 21:20:13 +02:00
Gilles Roudiere bd0384a9e9 Add anchor visualization 2017-08-13 21:20:13 +02:00
Gilles Roudiere 0d35d4d53b Replace GUI anchor type by a float between 0 and 1 2017-08-13 21:20:13 +02:00
Rémi Verschelde 9575dbdf78 Merge pull request #10298 from nhold/kinematic-body-2d-_move-fixes-#10107
Fix missing and incorrect values in return value of _move method
2017-08-13 17:26:59 +02:00
Rémi Verschelde 26137f37eb Merge pull request #10297 from leezh/fix_10181
Disabling Particles::one_shot restarts emission
2017-08-13 17:25:58 +02:00
Rémi Verschelde 0e81053de8 Merge pull request #10296 from raymoo/fixstreampeerbuffer
Fix broken stream reading in StreamPeerBuffer
2017-08-13 17:24:49 +02:00
Rémi Verschelde a3d85c07af Merge pull request #10294 from leezh/fix_10245
Project manager UI displaced by long paths #10245
2017-08-13 17:22:55 +02:00
Rémi Verschelde 1ec6300421 Merge pull request #10258 from kubecz3k/spatial-select-no-owner-fix
fix crash after click on MeshInstance with no owner
2017-08-13 17:18:12 +02:00
Rémi Verschelde 4391b67e16 Merge pull request #10257 from Faless/html5_fixes
Fix for WebGL2 and HTML5 export
2017-08-13 17:17:27 +02:00
Andreas Haas 3bea3256f5
InputDefault: Fix joypad actions when axis quickly changes direction.
The fix (inserting a fake event so actions get released properly) was already there but disregarded the case when the hardware sends values in the [0;1] range.
2017-08-12 20:46:36 +02:00
Andreas Haas 5052cb2b91
InputEventJoypadMotion: Add missing is_pressed() method. 2017-08-12 13:04:14 +02:00
Zher Huei Lee a625d7edfc Disabling Particles::one_shot restarts emission
Fixes #10181
2017-08-12 18:37:01 +08:00
Nathan Hold fb40846dca Fix missing and incorrect values in return value of _move method 2017-08-12 19:59:39 +10:00
Raymoo f87100780e Fix broken stream reading in StreamPeerBuffer 2017-08-12 01:19:50 -07:00
Zher Huei Lee 5c94eeeb79 Project manager UI displaced by long paths #10245 2017-08-12 15:32:06 +08:00
Fabio Alessandrelli 9b9a723c77 Some fixes for shaders and WebGL2
Add padding to UBO data to be multiple of 16 bytes
Add precision definition for samplers
Replace texture2D (deprecated) with texture in shaders
2017-08-11 23:26:24 +02:00
Jakub Grzesik be8ae8df93 fix crash after click on MeshInstance with no owner
Due to how spatial selection works, after clicking on
MeshInstance that had no owner editor was crashing.
2017-08-11 19:59:30 +02:00
Fabio Alessandrelli f863c0ca14 Explicitily unsed AI_NUMERICHOST flag to fix HTML5 2017-08-11 19:39:36 +02:00
Fabio Alessandrelli 45ddbbd738 Fix icon loading error a boot 2017-08-11 19:39:36 +02:00
Rémi Verschelde 23f6d3fa69 Merge pull request #10198 from jjay/f/stretch_aspect_expand
Add "expand" option for stretch aspect, no more black bars
2017-08-11 15:55:22 +02:00
Rémi Verschelde ff2cb35b90 Merge pull request #10247 from djrm/pr_bus_fixes
Fixes to buses editor
2017-08-11 10:43:30 +02:00
Rémi Verschelde c231bda520 Merge pull request #10240 from djrm/pr_hidden_tilemap_menu
Hide tilemap menu when no tilemap is selected
2017-08-11 10:43:07 +02:00
Rémi Verschelde 066fb4d5f9 Merge pull request #10238 from Hinsbart/resource_rmb
Inspector: Right click on resource opens sub-menu.
2017-08-11 10:42:29 +02:00
Rémi Verschelde bed66afee4 Merge pull request #10237 from Paulb23/convert_indent_save_issue_9841
Fixed undo when converting indent with no changes, issue 9841
2017-08-11 10:41:32 +02:00
Rémi Verschelde fd6b9d9ac7 Merge pull request #10231 from djrm/pr_fix_add_sprite_dialog
Improved add texture as node dialog
2017-08-11 10:40:46 +02:00
Rémi Verschelde 30e33f0c84 Merge pull request #10209 from kubecz3k/click-spatial-select
ability to click on spatial subscene to select it
2017-08-11 10:39:59 +02:00