Commit Graph

1708 Commits

Author SHA1 Message Date
Onur Aslan 4440900672 Fix installing export templates from file
3de20641f5 did break installing export
templates from file. This patch is fixing it.
2017-12-18 21:08:27 +03:00
Michael Alexsander Silva Dias 36e835bbd4 Some fixes for the Script Editor and dead code cleaning. 2017-12-18 15:46:17 -02:00
Juan Linietsky b3a1bf3245 Use a different strategy for path remaps, try loading from a remap file instead.
This ensures multiple PCK exports still work.
2017-12-18 11:21:49 -03:00
Rémi Verschelde abf20709af doc: Sync classref with current source 2017-12-18 08:13:58 +01:00
Rémi Verschelde e83c502939
Merge pull request #14754 from willnationsdev/dictionary-copy
Added 'duplicate' function for Dictionary in C++ and API.
2017-12-17 23:58:59 +01:00
Will Nations f19fc83546 Dictionary::copy -> ::duplicate 2017-12-17 16:07:15 -06:00
Rémi Verschelde 27642868f1
Merge pull request #14786 from djrm/pr_fixes
Expose Range, ScrollBar and Slider as virtual.
2017-12-17 22:21:06 +01:00
Rémi Verschelde 19a8f409c1
Merge pull request #14782 from djrm/pr_visual_improvements
Now every variant type has its icon.
2017-12-17 22:19:44 +01:00
Rémi Verschelde cd6fb0eb4e
Merge pull request #14779 from RayKoopa/setting_ui_design
Implement settings dialog UI ideas
2017-12-17 22:19:04 +01:00
Daniel J. Ramirez 5e2c8593f7 Expose Range, ScrollBar and Slider as virtual. 2017-12-17 15:16:20 -06:00
Daniel J. Ramirez c8c280a68a Now every variant type has its icon. 2017-12-17 14:06:11 -06:00
Rémi Verschelde 4ee57026bb
Merge pull request #14781 from djrm/pr_visual_improvements
General use Variant type icons, plus other icon updates.
2017-12-17 20:21:48 +01:00
Daniel J. Ramirez 756c033adb General use Variant type icons, plus other icon updates. 2017-12-17 13:19:09 -06:00
Rémi Verschelde 3ce5a74df2
Merge pull request #14770 from volzhs/sub-resources
Show sub-resources as sub-menu
2017-12-17 20:02:41 +01:00
Juan Linietsky 3de20641f5 Property install export templates when downloaded from http
added a scale parameter for scene import
2017-12-17 15:48:24 -03:00
George Marques c8d416d152
Fix method not returning value in all paths (autotile editor) 2017-12-17 16:03:46 -02:00
Ray Koopa 0d04f212a3 Clean up setting dialogues a bit. 2017-12-17 18:39:36 +01:00
Juan Linietsky fa8a1fc420 Fixes how transform is applied to geometry in UV unwrap 2017-12-17 12:04:54 -03:00
volzhs 002a0271fe Show sub-resources as sub-menu 2017-12-17 23:55:24 +09:00
Rémi Verschelde 8f25a2dc11 Cleanup some #if 0'd code 2017-12-17 15:40:24 +01:00
Rémi Verschelde 93c9aada67
Merge pull request #14692 from poke1024/docsgroups
Docs methods grouping by prefix
2017-12-17 14:23:49 +01:00
volzhs 4073de88cb Refactoring FPS & information on 3D viewport
- FPS label position adjusted with Preview button
- Remove unnecessary Panel control
- Remove unnecessary check condition
2017-12-17 21:49:44 +09:00
poke1024 9cfc4440c1 Docs methods grouping by prefix 2017-12-16 20:02:10 +01:00
Rémi Verschelde a7f09b71f9
Merge pull request #14743 from volzhs/unnecessary-update-files
Remove unnecessay update on FileSystem dock
2017-12-16 16:35:18 +01:00
volzhs c3d18aed8c Remove unnecessay update on FileSystem dock 2017-12-16 23:53:44 +09:00
Przemysław Gołąb (n-pigeon) b3575b5164 Moved Local Space Mode and Transform Snap settings to Top Bar ...
...buttons for easier access.
2017-12-16 15:42:19 +01:00
Juan Linietsky 92a8a505a0
Merge pull request #14739 from volzhs/collapse_folder
Enhance FileSystem dock
2017-12-16 11:33:16 -03:00
volzhs 15e77b3b60 Enchance FileSystem dock
* Collapse / Uncollapse folder with double click
* Sync with tree and bottom panel
* Show selected folder in tree when changed
2017-12-16 23:26:43 +09:00
Rémi Verschelde 3adae8599c
Merge pull request #14698 from carlosfvieira/6382-Properties_in_the_inspector_lacking_tooltips
Proposed change to close issue "#6382 - Properties in the inspector lacking tooltips"
2017-12-16 15:05:09 +01:00
Rémi Verschelde a68d15d509
Merge pull request #14597 from NathanWarden/linux_extensions
Updated Linux template extensions to match architecture.
2017-12-16 13:05:18 +01:00
Rémi Verschelde b07049faea
Merge pull request #14682 from sersoong/master-batchchange
Enhanced changeType menu in Scene Tree Dock
2017-12-16 10:59:17 +01:00
Rémi Verschelde 9b334389a2
Merge pull request #14702 from YeldhamDev/property_multiline
Made multiline property editor deselect text when opening
2017-12-16 10:49:21 +01:00
sersoong a2981f555a Enhanced changeType menu in Scene Tree Dock 2017-12-16 09:53:24 +08:00
Michael Alexsander Silva Dias e73486aed4 Made multiline property editor deselect text when opening. 2017-12-15 22:46:36 -02:00
carlosfvieira 30acd5f834 closes godotengine/godot#6382 - traverse classes docs so that all properties from inherited classes have tooltips accordingly 2017-12-16 00:24:39 +00:00
Rémi Verschelde a5db25bd27
Merge pull request #14551 from volzhs/ok-alert-confirm
Pressing Enter key creates or loads script on Attach script window
2017-12-16 01:17:45 +01:00
Rémi Verschelde 03fb1fd7fa
Merge pull request #14613 from voithos/fold-jump-bugfix
Account for folded code blocks when navigating via members list
2017-12-16 01:16:25 +01:00
Rémi Verschelde 2e21a427ee
Merge pull request #14609 from sersoong/master-test
Enhanced Merge From Scene
2017-12-16 01:16:01 +01:00
Rémi Verschelde 3caa18f02a
Merge pull request #14630 from willnationsdev/script-editor-create-api
Add API for ScriptEditor to open ScriptCreateDialog
2017-12-16 01:15:20 +01:00
Rémi Verschelde 1a065772d6
Merge pull request #14623 from volzhs/mesh-menu-theme
Fix theme for Mesh menu
2017-12-16 01:14:53 +01:00
Rémi Verschelde ef1e2df86d
Merge pull request #14645 from volzhs/focus-after-select
Focus path field after seleting file browser on Attach script window
2017-12-16 00:47:15 +01:00
Rémi Verschelde 76af59ee5e
Merge pull request #14649 from MattUV/fix-indentation
Modifies text indentation behaviour
2017-12-16 00:41:59 +01:00
Rémi Verschelde f73f10dd7e
Merge pull request #14652 from hoelzl/pr-moved-instanced-children
Prevent users from moving instanced children
2017-12-16 00:38:52 +01:00
Juan Linietsky e946fb8cb0 Made built-in identifiers properly constant in shaders. Fixes #14449, closes #14629 2017-12-15 18:24:30 -03:00
Andreas Haas 0de3cde6fc
ScriptCreateDialog: Fix loading scripts with named classes.
We only need to validate the class name when creating a new script, existing scripts already have one.

Fixes #14643
Supersedes/Closes #14684
2017-12-15 19:40:36 +01:00
Juan Linietsky 251433847f -Added new scene conversion to binary on export (disabled by default, please test)
-This method works by directly converting text to binary, so the scene does not need to be loaded and saved
2017-12-15 08:39:26 -03:00
MattUV db020f3cea Modifies indentation behaviours
Partially fixes #14559 (see the issue for details);
Removes some code redondancy ;
Adds the possibility to indent left and right without selecting text ;
Adds the entries to the context menu when text is not selected ;
Renames indent_selection_left() and indent_selection_right() to indent_left() and indent_right() ;
Unifies context menus of shader text editor and script text editor.
2017-12-15 10:04:56 +01:00
Daniel J. Ramirez dcad7042dc Updated icons
[ciskip]
2017-12-14 15:49:27 -06:00
Juan Linietsky 93a63a5e1a GDScript files are converted to binary on export now. 2017-12-14 15:34:47 -03:00
Matthias Hoelzl ce24b149d3 Prevent users from moving instanced children 2017-12-14 17:49:02 +01:00
Juan Linietsky f3ad14224e -Add lightmapper
-Fixes to unwrapper (remove degenerates), makes Thekla not crash
-Added optional cancel button in EditorProgress
-Added function to force processing of events (needed for cancel button)
2017-12-14 09:01:27 -03:00
Will Nations c38cd9b963 Added open_script_create_dialog func 2017-12-13 22:14:17 -06:00
volzhs ac411c9f48 Focus path field after seleting file browser on Attach script window 2017-12-14 11:25:00 +09:00
Andreas Haas 34e489f060
TileMapEditor: Fix tile placement.
Fixes #14625
2017-12-13 16:46:22 +01:00
volzhs e8cc25a855 Fix theme for Mesh menu 2017-12-13 21:26:55 +09:00
Rémi Verschelde b0aeecc02b
Merge pull request #14596 from Noshyaar/pr
Enhance undoredo action name, TTR, cleanup
2017-12-13 08:36:47 +01:00
Zaven Muradyan f139d0e4e6 Account for folded code blocks when navigating via members list
Previously, the editor would attempt to set the scroll position to the
function's line number, but this would result in an invalid scroll
whenever functions above the target were folded.

This changes callback to use a combination of `goto_line` and
`set_edit_state` to navigate to the target line and reset the cursor to
column 0.

Using `goto_line` also has the side effect of automatically unfolding
the target function, which seems like useful behavior.

Fixes #14572.
2017-12-12 21:40:12 -08:00
sersoong 2c7131e5ac Enhanced Merge From Scene 2017-12-13 12:38:35 +08:00
Nathan Warden f89d78a7a4 Updated Linux template extensions to match architecture. 2017-12-12 16:09:48 -05:00
Michael Alexsander Silva Dias a933b927ca Fixed Tileset editor button having the wrong text and not being translatable. 2017-12-12 17:06:44 -02:00
Poommetee Ketson 24df9f3707 Enhance undoredo action name, TTR, cleanup 2017-12-12 23:04:37 +07:00
Poommetee Ketson 9888a56639 Change statable to multistate, remove extra separator 2017-12-12 09:41:17 +07:00
volzhs 47182a01c3 Pressing Enter key creates or loads script on Attach script window 2017-12-11 23:20:25 +09:00
Ray Koopa d0ebcb61c8 Highlight Editor Settings categories 2017-12-11 13:13:17 +01:00
Rémi Verschelde dfb3634c34
Merge pull request #13836 from AndreaCatania/scale
Fixed bullet scale on get_transform and joints
2017-12-11 10:35:09 +01:00
Rémi Verschelde 378bb89678
Merge pull request #14541 from volzhs/fix-checkbutton
Fix CheckButton & CheckBox minimum size
2017-12-11 08:01:54 +01:00
Rémi Verschelde 82b702d5da
Merge pull request #14533 from Krakean/addrootifnone_fix
Fix to #14503
2017-12-11 07:44:33 +01:00
volzhs 3c04d7798c Fix CheckButton minimum size 2017-12-11 14:52:32 +09:00
Dmitry Koteroff cd43188734 Fixed #14503 2017-12-11 02:43:27 +03:00
Rémi Verschelde 50fab3dc1a
Merge pull request #14518 from poke1024/fix-player-wpos
Fix player window centering on macOS retina screens
2017-12-11 00:12:18 +01:00
Stefano Bonicatti cad2fc7ba9 Fix SceneTreeEditor crashing when calling _deselect_items
The crash can be triggered for instance by trying to reparent a node
and clicking on the background of the Reparent Node window.
2017-12-10 22:41:54 +01:00
Bernhard Liebl e161c47677 Fix player window centering on macOS retina screens 2017-12-10 18:28:08 +01:00
Rémi Verschelde 2b41afb30e Fix wrong return value in some virtual method bindings 2017-12-10 15:34:08 +01:00
Rémi Verschelde 6b6f94fb0c
Merge pull request #14501 from Paulb23/close_wrong_scene_issue_13844
Fixed close current scene closing the wrong scene, issue 13844
2017-12-10 14:11:13 +01:00
Paulb23 bdde82169d Fixed close current scene closing the wrong scene, issue 13844 2017-12-10 12:48:03 +00:00
Rémi Verschelde bf45e569c9
Merge pull request #11510 from AndreaCatania/skel
Added skeleton x-ray
2017-12-10 13:03:53 +01:00
Rémi Verschelde 7d735da6aa
Merge pull request #13351 from poke1024/fix12451_2
Make click on arrow properly open and close property editor modals
2017-12-10 11:58:36 +01:00
Bernhard Liebl efc3ffb816 fix certain popup close clicks with popup buttons 2017-12-10 10:55:48 +01:00
AndreaCatania 63ec5823d1 Implemented skeleton visibility
Removed code visibility code from popup menu
2017-12-10 03:15:52 +01:00
Rémi Verschelde a845411454 Style: Re-apply clang-format over recent invalid additions 2017-12-10 01:27:02 +01:00
Rémi Verschelde 028f959fb1 PropertyEditor: Filter out resource_local_to_scene
This lets the empty "Global" category disappear again.
Also silence a debug print.
2017-12-10 00:18:10 +01:00
Rémi Verschelde 58e8da57de
Merge pull request #14479 from Web-eWorks/gltf-fixes
Fix importing GLTF meshes as external files.
2017-12-10 00:13:01 +01:00
Rémi Verschelde 4fd26d89c1
Merge pull request #14480 from volzhs/startup-error
Fix get_edited_scene_root error at starting editor
2017-12-10 00:12:42 +01:00
volzhs 81a79e0c0e Fix get_edited_scene_root error at starting editor 2017-12-10 08:01:00 +09:00
Webster Sheets 74b68d2e71 Fix importing GLTF meshes as external files. 2017-12-09 17:40:48 -05:00
Rémi Verschelde fae98c0b6a
Merge pull request #14478 from akien-mga/property-tooltips
PropertyEditor: Fix display of property doc in tooltip
2017-12-09 23:19:56 +01:00
Andreas Haas 788ed93806
Project Manager: Fix Templates search signal connection.
Fixes #13921
2017-12-09 22:57:34 +01:00
Rémi Verschelde 626eebdec4 PropertyEditor: Fix display of property doc in tooltip 2017-12-09 22:54:12 +01:00
Rémi Verschelde ff11864901
Merge pull request #13371 from RayKoopa/mute_animation_tracks
Add feature to disable animation tracks
2017-12-09 19:23:18 +01:00
Rémi Verschelde 59657d6823
Merge pull request #14448 from groud/fix_checkboxes_update
Fixes the checkboxes update in canvas item editor
2017-12-09 19:04:27 +01:00
Rémi Verschelde 45f7fc46f8
Merge pull request #14455 from RayKoopa/remove_layer_flyout_label
Remove physics / render layer flyout label.
2017-12-09 19:03:23 +01:00
Ray Koopa ad9f987715 Add feature to disable animation tracks 2017-12-09 18:22:16 +01:00
Juan Linietsky 65fb961b8b -Ability to and unwrap lightmap coordinates on import
-Added unwrap functionality to Mesh
-Ability to display and debug mesh UVs
-Added multiline draw, so it's easier and faster to draw UVs
-Many fixes to SurfaceTool
-Fixes to Thekla Unwrap, but it's a piece of ass and it keeps crashing. Will have to go away
2017-12-09 14:18:14 -03:00
George Marques 5931190348
Defer the scan filesystem call when adding import plugins
This ensures every plugin is added before the scan is made.

Fix #12749
2017-12-09 14:59:01 -02:00
Ray Koopa cae50c7f1d Remove layer flyout label. 2017-12-09 17:42:24 +01:00
Rémi Verschelde 20a566d63a
Merge pull request #13166 from Krakean/change_addrootifnone_v2
When drag'n'drop, automatically create dragged resource as a root node if you haven't any yet (v2)
2017-12-09 16:42:25 +01:00
Rémi Verschelde 5b54690323
Merge pull request #13446 from gad-o/duplicate_file
Add  duplicate option to filesystem dock
2017-12-09 16:34:35 +01:00
AndreaCatania 5e10f80522 Makes consistent Slider joint Gizmo 2017-12-09 15:26:19 +01:00
Gilles Roudiere e1de1b62ee Fixes the checkboxes update 2017-12-09 15:25:20 +01:00
Rémi Verschelde f7238de9d4
Merge pull request #13994 from ISylvox/caret-blink
Set Caret Blinking Enabled by Default
2017-12-09 15:15:19 +01:00