Commit graph

624 commits

Author SHA1 Message Date
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
toger5 059a0496da Adapted godot to the new StyleBoxFlat 2017-08-15 19:36:34 +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
Niko Abeler 07809c162f Showing anchor icon in editor if control-node is hidden (fixes #9542) 2017-08-13 17:35:59 +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
kbake a72d17cf11 Scroll bars now look different on press 2017-08-12 17:46:26 -04:00
Wilson E. Alvarez 428f03cf06 Updated function argument names 2017-08-12 15:12:49 -04: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
Juan Linietsky dbb6a39722 Moved mirror and rotations to the tile mapen, to avoid taking up too much toolbar space, fixes #6461 2017-08-08 22:46:26 -03:00
Juan Linietsky 950b205609 Clean up canvas item when changing state, closes #5977 2017-08-08 21:12:32 -03:00
Juan Linietsky 90a595ac42 Set some reasonable limits for sending information to the debugger, closes #5848 2017-08-08 20:55:22 -03:00
Daniel J. Ramirez 273d2ab9d4 Several ui improvements (mostly margins)
Improved colors

Added some missing icons
2017-08-08 11:44:37 -05:00
toger5 a9da258a65 fixed loading old theme styleboxes 2017-08-08 18:36:35 +02:00
Juan Linietsky de219e5cbe fix collada crash on invalid (blender internal expored...) file, fixes #6222 2017-08-08 08:14:51 -03:00
Jakub Grzesik 87b881c6fd NodePath option to find target in editor node tree 2017-08-08 13:06:24 +02:00
Juan Linietsky 5e1116da4c Added proper local transform snapping, closes #4985 2017-08-08 07:55:21 -03:00
Juan Linietsky 1939e83a65 Attempt to resolve #4673 2017-08-08 07:13:17 -03:00
Indah Sylvia 51f56a4282 core/io: fix typo 'resoucre' to 'resource' 2017-08-08 12:02:49 +07:00
Poommetee Ketson 023321d59e ResourceImporterScene: fix 'bult' typo 2017-08-08 11:11:14 +07:00
Juan Linietsky f6ad0ccc63 -Errors are printed again to Output, after a long time. Fixes #3373 2017-08-07 22:51:30 -03:00
Thomas Herzog 1f638b206e Merge pull request #10152 from Hinsbart/run_import
ProjectManager: Show error dialog if unable to run project.
2017-08-07 23:57:14 +02:00
Andreas Haas bc034c1d4d
ProjectManager: Show error dialog if unable to run project. 2017-08-07 23:47:43 +02:00
Thomas Herzog 0188ce5c80 Merge pull request #10015 from marcelofg55/master
Implement 32 bit IEEE float WAVE format
2017-08-07 23:11:35 +02:00
Thomas Herzog 12a2d7ee6e Merge pull request #10068 from Cradmon/fix-resource-docker-thumbnail-bug
Fix resource docker thumbnail bug
2017-08-07 23:05:09 +02:00
Thomas Herzog c6cb31aa5e Merge pull request #10133 from homer666/adjust-filesystem-split-mode-height-threshold
Adjust FileSystem dock split mode's height threshold
2017-08-07 22:24:52 +02:00
Juan Linietsky a0d969c560 Revert "fixed loading old theme styleboxes" 2017-08-07 16:00:34 -03:00
Rémi Verschelde 3121b3a4f4 Merge pull request #10141 from ISylvox/lower_case_godot_api
Makes all Godot API's Methods lower_case
2017-08-07 14:59:39 +02:00
Rémi Verschelde b31ba2f187 Merge pull request #10097 from toger5/asset_lib_style_overrides
fixed loading old theme styleboxes
2017-08-07 14:47:27 +02:00
Rémi Verschelde dcadbb8b40 Merge pull request #10087 from volzhs/editor-button-align
Fix label align of button in editor
2017-08-07 14:44:41 +02:00
Rémi Verschelde 722011bb75 Merge pull request #10082 from Noshyaar/pr-viewport2
SpatialEditor: fix "Top", overflow preview button
2017-08-07 14:42:31 +02:00
Rémi Verschelde 307a04268b Merge pull request #10078 from Noshyaar/pr-viewport
SpatialEditor: uniform min/max of fov,znear,zfar
2017-08-07 14:42:03 +02:00
Rémi Verschelde ececefa595 Merge pull request #10067 from toger5/default_extended_script_template
builtin_script_template_improvements
2017-08-07 14:41:08 +02:00
Rémi Verschelde ebf19d72b5 Merge pull request #9878 from toger5/theme_border_settings_change
Theme border settings change + updating styles
2017-08-07 14:07:57 +02:00
Indah Sylvia 5ae78fdf6a Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00
homer666 e32abe8072 Adjust FileSystem split mode's height threshold 2017-08-07 13:44:34 +10:00
Juan Linietsky 134b3edf5a Merge pull request #10123 from bojidar-bg/7695-key-kp-enter
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
2017-08-06 21:04:11 -03:00
Juan Linietsky 85945e4367 Added a .gdignore check to ignore specific folders. Closes #8461 2017-08-06 11:43:48 -03:00
Bojidar Marinov 7b7c7c8dc0
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
Closes #7695
2017-08-06 16:26:07 +03:00
Juan Linietsky 475e8b28b2 keep default exported script values unless overriden, closes #8127 2017-08-06 09:33:59 -03:00
toger5 f035e4a24a fixed loading old theme styleboxes 2017-08-05 01:33:46 +02:00
Cradmon b8a31d6563 Fix resource docker thumbnail bug 2017-08-04 20:11:17 +01:00
volzhs 9f6f7e0fcf Fix label align of button in editor
Fix #9927
2017-08-04 23:52:36 +09:00
Poommetee Ketson 1cc655a40d SpatialEditor: fix "Top", overflow preview button 2017-08-04 20:46:22 +07:00
toger5 3b2a4cc52a editor: update helps and script panel on theme could change. 2017-08-04 14:57:15 +02:00
toger5 2ab512a07b Builtin script template loading improvements 2017-08-04 14:53:07 +02:00
Poommetee Ketson b8feae4db6 SpatialEditor: uniform min/max of fov,znear,zfar
Clamp FOV to [0.01, 179], Znear and Zfar to [0.01, 10000]
2017-08-04 18:23:10 +07:00
Juan Linietsky 26ff90eaed Full GLTF 2.0 Specification support! cheers! 2017-08-03 19:42:32 -03:00
Andreas Haas 95da12212b
TileMap: Fix infinite loop when trying to bucket-delete empty tiles.
Right-clicking when the bucket tool is enabled means "erase all instances of this tile".
So it doesn't make sense to try doing this for empty tiles :P

Fixes #10065
2017-08-03 20:46:13 +02:00
Rémi Verschelde c936e9946e Merge pull request #10046 from Hinsbart/script_open_resource
ScriptEditor: ctrl+click can open scenes & resources.
2017-08-03 13:37:25 +02:00
toger5 2bff914512 border settings doesn't remove necessary borders anymore 2017-08-03 12:10:19 +02:00
Juan Linietsky 5c361485db -Added GLTF scene support (still missing animations and .glb extension)
-Fixed bugs regarding tangent generation in SurfaceTool
2017-08-02 15:43:49 -03:00
Juan Linietsky 6760783b94 Revert "Tweak command-line arguments to make them more UNIX-like" 2017-08-02 15:39:04 -03:00
Andreas Haas 708ddb05af
ScriptEditor: ctrl+click can open scenes/resources.
Closes #9654
2017-08-02 19:23:57 +02:00
Rémi Verschelde d1463554b4 Merge pull request #10014 from Calinou/tweak-command-line-arguments
Tweak command-line arguments to make them more UNIX-like
2017-08-02 10:02:11 +02:00
Hugo Locurcio b9a7997945 Tweak command-line arguments to make them more UNIX-like
Also improves the command-line help text readability.
2017-08-02 09:33:40 +02:00
Rémi Verschelde 89bf19804b Merge pull request #10006 from djrm/pr_theme_fixes
Some theme and usability improvements
2017-08-01 22:25:35 +02:00