Commit graph

572 commits

Author SHA1 Message Date
Rémi Verschelde
6345347190 Merge pull request #10326 from kubecz3k/spatial-click-improve
spatial selection if subscene geometry is far from origin
2017-08-16 17:13:27 +02:00
Rémi Verschelde
970cbb4608 Merge pull request #10368 from RandomShaper/rename-layouts-file
Rename layouts file to editor_layouts-3.cfg
2017-08-16 16:34:02 +02:00
Pedro J. Estébanez
8faf04928e Rename layouts file to editor_layouts-3.cfg
To avoid conflicts with 2.x, in the same fashion as editor_settings-3.tres.
2017-08-16 03:42:09 +02:00
Pedro J. Estébanez
ae2d449047 Revive inspector property evaluation
GDScript was restricted to parse only scripts beginning with __res://__ or __user://__ to avoid templates from being parsed. I've made that a bit less inclusive by allowing scripts with an empty path to be parsed too, which doesn't conflict and is needed for this to work.

Also I've removed the `this` variable of the generated script and made the relevant object to be the one the script instance refers to, so you can use `self` instead.

Now, with the shorter 3.0-style syntax, you can write things like: `self.position.x + 10`

Closes #9500.
2017-08-16 03:01:41 +02:00
Juan Linietsky
6380975ee2 Merge pull request #10166 from toger5/asset_lib_style_overrides
fixed loading old theme styleboxes.
2017-08-15 20:00:44 -03:00
Juan Linietsky
1ecb48b8c2 Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889 2017-08-15 19:49:28 -03:00
Juan Linietsky
cf2fdcb63e Fixes crash related to animatio editor, closes #8687 2017-08-15 19:05:57 -03:00
kubecz3k
41d8ddf7c4 Merge pull request #10336 from endragor/export-filters
Use include/exclude export filters. Fixes #9860
2017-08-15 23:41:46 +02:00
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
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
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
Andreas Haas
155402dc1b
Removing a Resource also deletes imported files. 2017-08-15 01:13:41 +02: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
Ruslan Mustakov
571a3a2dcd Use include/exclude export filters. Fixes #9860 2017-08-14 20:13:09 +07:00
Jakub Grzesik
78e72c8e79 spatial selection if subscene geometry is far from origin 2017-08-14 09:53:46 +02: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
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
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
Zher Huei Lee
5c94eeeb79 Project manager UI displaced by long paths #10245 2017-08-12 15:32:06 +08: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
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
Rémi Verschelde
7ed64327a9 Merge pull request #10163 from ISylvox/resoucre-to-resource
Core/io: Fix typo in resource_format_binary
2017-08-11 10:36:33 +02:00
Rémi Verschelde
870696603b Merge pull request #10162 from Noshyaar/patch-1
ResourceImporterScene: fix 'bult' typo
2017-08-11 10:36:23 +02:00
Rémi Verschelde
afecc6ae0b Merge pull request #10114 from kubecz3k/nodepath-click
NodePath option to find target in editor node tree
2017-08-11 10:34:17 +02:00
Rémi Verschelde
8e6768c963 Merge pull request #10202 from neikeq/how-do-you-turn-this-on
Improves method bind's detecting of signarute types
2017-08-11 10:29:41 +02:00
Daniel J. Ramirez
9b41333340 Fixes to buses editor
Fixed unselectable bus
Added bus options button
2017-08-10 18:07:24 -05:00
Daniel J. Ramirez
e4a9233a83 Hide tilemap menu when no tilemap is selected 2017-08-10 14:48:48 -05:00
Andreas Haas
9d593481f6
Inspector: Right click on resource opens sub-menu.
Fixes #9052
2017-08-10 21:02:31 +02:00
Paulb23
e91bde6521 Fixed undo when converting indent with no changes, issue 9841 2017-08-10 19:23:45 +01:00
Daniel J. Ramirez
03f62495ca Improved add texture as node dialog 2017-08-10 11:40:28 -05:00
Rémi Verschelde
81dde2687f Merge pull request #10164 from djrm/pr_theme_fixes
Visual polishing
2017-08-10 10:46:05 +02:00
Ignacio Etcheverry
2f290038d6 Removes type information from method binds 2017-08-10 07:17:50 +02:00
Jakub Grzesik
d2d62122e2 ability to click on spatial subscene to select it 2017-08-09 18:40:02 +02:00