Commit Graph

1878 Commits

Author SHA1 Message Date
carlosfvieira 49859871d9 Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
2017-12-21 11:29:17 +00:00
Will Nations 1408fab1b4 Plugins can select files in FileSystem Dock 2017-12-20 16:34:21 -06:00
Rémi Verschelde 0b1e6ec219
Merge pull request #14874 from volzhs/blurry-zoom
Fix blurry after zooming
2017-12-20 22:19:16 +01:00
Rémi Verschelde 03823f12c5 EditorSettings: Move scene tab options to their dedicated category
Fixes #14870.
2017-12-20 19:41:02 +01:00
Rémi Verschelde acf835cb08 i18n: Sync translation templates with current source 2017-12-20 17:10:28 +01:00
Rémi Verschelde a27b57829e i18n: Sync translations with Weblate
Adds Icelandic and Tamil.
2017-12-20 17:08:48 +01:00
volzhs ec139d8522 Fix blurry after zooming 2017-12-21 00:39:02 +09:00
MattUV a55870cd81 Adds an option to move cursor with right click in TextEdit
Fixes #14832
- Added an option in the editor settings/cursor to make the cursor move with right click.
- If the option is activated (true by default), a right click will move the cursor before displaying context menu.
 - If there is a selection, a right click on it will keep it selected, a right click outside it will unselect it.
 - The option is available in textEdit via an inspector property (or via GDScript): caret_moving_by_right_click
 - The option is available in the script editor and the shader editor via the editor settings
 - The documentation has been updated with the new property, and a few other entries in TextEdit.xml.
2017-12-20 09:01:09 +01:00
Michael Alexsander Silva Dias 2490c4d882 Fixes for the Spatial Editor's Perspective options and dead code cleaning. 2017-12-20 01:05:21 -02:00
Carlos Vieira 2a3f6ee8b3 #14619 - fixes issue 1 (gizmo huge scale) - also referred in #14836 2017-12-19 23:45:10 +00:00
Juan Linietsky bf47b15e2c Good while it lasted, restored full 3D for 2D viewport, as required for Canvas BG mode. Fixes #14540 2017-12-19 15:59:32 -03:00
Ray Koopa 69ef89a8bd Limit code editor minimum width, clear Scene node subresource menu before refilling it 2017-12-19 18:29:01 +01:00
Juan Linietsky a714e1a4c7 Fixed bug where all file dialogs requested thumbnails even if hidden. 2017-12-19 12:57:46 -03:00
Juan Linietsky 1eb1837d0c Should no longer crash after rebaking, may be a solution to #14795
Not sure if this is the same problem, as reported, please test.
2017-12-19 09:58:02 -03:00
Guilherme Felipe 8adf7c3ef2 Add method_descr again because it's required for classes that
don't have public methods. revert #14814
2017-12-18 22:47:17 -02:00
Guilherme Felipe 5c0271eed7 Fix doc methods not showing up 2017-12-18 20:35:15 -02:00
Rémi Verschelde d81bd965b6 Fix bug in previous commit 2017-12-18 20:59:32 +01:00
Rémi Verschelde 2a30f0460d Prevent infinite loop in export template manager 2017-12-18 20:44:19 +01:00
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
volzhs 59564f267c Fix "selection_changed" called twice 2017-12-18 22:14:37 +09:00
Rémi Verschelde abf20709af doc: Sync classref with current source 2017-12-18 08:13:58 +01:00
Dmitry Koteroff ea14b0789b A few small Debugger->Errors tab enhancements:
1. Added "Clear" button to clear list.
2. Errors list now populated with newest items comes first, so no need to scroll everytime.
3. Added PopupMenu to errors list with ability to quickly Copy error text & details.
2017-12-18 03:40:49 +03: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
AndreaCatania 0ea1c3bd53 Makes consistent 6DOF joint Gizmo 2017-12-09 15:01:00 +01:00
Rémi Verschelde faa1d23cb7
Merge pull request #14420 from MattUV/fold-shortcut
Modify shortcuts and menus to fold/unfold code
2017-12-09 13:31:30 +01:00
sersoong 3cdcf02d1e Restored two items in filesystemdock menu 2017-12-09 10:38:16 +08:00
MattUV e669ca2576 Modify shortcuts and menus to fold/unfold code
Fix #13180
As the same shortcut cannot be assigned to two actions, I removed the ability to fold (fold_line()) or unfold (unfold_line()) via menu (still possible by code), and there is a single fold/unfold action (toggle_fold_line()).

The new default shortcut is now Alt+F
2017-12-08 19:21:48 +01:00
Rémi Verschelde 28b317966f
Merge pull request #14397 from YeldhamDev/localization_tab
Removed style override inside the Localization tab in the Project Settings
2017-12-08 08:26:32 +01:00
Rémi Verschelde 793a741f9c
Merge pull request #14396 from MattUV/fix-templates-link
Fix Manage Export Templates link
2017-12-08 08:02:19 +01:00
Michael Alexsander Silva Dias f482ed0853 Removed style override inside the Localization tab in the Project Settings. 2017-12-07 21:49:44 -02:00
MattUV 93231819c2 Fix Manage Export Templates link
In some cases, the link to download export templates was missing.
Fixes #14391
2017-12-08 00:46:03 +01:00
Paulb23 48ad133cf9 Changed current line draw order and added code folding color 2017-12-07 19:17:43 +00:00
Juan Linietsky 209cb3830c Exposed EditorSceneImporter to script. Added APIs to use intermediate converters more easily. 2017-12-07 15:44:20 -03:00
George Marques cac5aa498f
Merge pull request #14348 from waldson/feature-set-main-screen-plugin-icon
Add method on EditorPlugin to set main screen plugins icons
2017-12-07 13:16:47 -02:00
Juan Linietsky 5614902611 ability to keep user tracks when importing animations, closes #12801 2017-12-07 10:19:35 -03:00
Rémi Verschelde 96dbf19093
Merge pull request #14332 from akien-mga/clang-format
Update style for clang-format 5.0.0, new min required version
2017-12-07 09:18:11 +01:00
sersoong 94adf24798 Add uppercase and lowercase to rightclickmenu in scripteditor 2017-12-07 16:09:02 +08:00
Rémi Verschelde 13c2ff9320 Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
Rémi Verschelde d5ca9e2f6f Style: Apply clang-format again on all files
Fixes issues introduced by newer clang-format versions or commits
pushed directly without using the clang-format pre-commit hook.
2017-12-07 08:02:00 +01:00
sersoong f0fda9fd87 Add 'copy script path' to script editor plugin 2017-12-07 11:57:41 +08:00
Juan Linietsky b38378dd6c Reduce some graphics memory usage by disabling unnecesary modes, closes #12831 2017-12-06 20:49:54 -03:00
Rémi Verschelde 06d0166bda
Merge pull request #13827 from sersoong/master-addopenselection
Enhanced 'open' menu in filesystemdock
2017-12-07 00:30:31 +01:00
Rémi Verschelde e3155071bc
Merge pull request #13958 from jjjuande/fix_revert_button
Fix the revert button issue with instanced nodes
2017-12-07 00:30:07 +01:00
Rémi Verschelde 7885360f3f
Merge pull request #13956 from poke1024/fix-poly2d-mode-change
Fixes Polygon2D wip mode closing when editing mode is changed
2017-12-07 00:29:12 +01:00
Rémi Verschelde c0fd111e71
Merge pull request #14002 from poke1024/fixhelpspeed
Make "Search Help" more responsive
2017-12-07 00:23:23 +01:00
Juan Linietsky 7b7ba58493 -Fix particles with size==0, closes #13931
-Fixed material previews (dont show sphere unless for spatial)
2017-12-06 19:51:13 -03:00
Rémi Verschelde 9e2fad7e64
Merge pull request #13724 from RayKoopa/editor_file_dialog_context_menu
Add context menu to editor file dialogs
2017-12-06 23:46:43 +01:00
Rémi Verschelde 7b557a4e1f
Merge pull request #13409 from YeldhamDev/textedit_disabled
Add disabled theme to TextEdit
2017-12-06 23:42:54 +01:00
Waldson Patrício c6f28925e2 Add method to set main screen plugin icon 2017-12-06 19:31:25 -03:00
Rémi Verschelde f7f3b31065
Merge pull request #13982 from willnationsdev/editorfiledialog-docs
[DOCS] EditorFileDialog props added, member/method/signal descs

[ci skip]
2017-12-06 23:22:09 +01:00
Juan Linietsky 86fcc39fa9 Fix and rewrite folding logic, closes #14005, closes #13421 2017-12-06 19:07:17 -03:00
poke1024 ef49edc387 Make "Search Help" more responsive 2017-12-06 23:01:17 +01:00
Juan Linietsky a496dd4d38 Created internal usage flag to remove non editor properties from doc, closes #13334 2017-12-06 17:16:25 -03:00
Will Nations e7589d0b80 [DOCS] EditorFileDialog props/member/method/signal 2017-12-06 09:30:15 -06:00
Rémi Verschelde a8ae46e143
Merge pull request #14013 from qichunren/fix_project_rename_lost_focus
Fixed project name line edit lost input focus in project rename dialog.
2017-12-06 07:59:10 +01:00
Rémi Verschelde c11ea8a2d0
Merge pull request #14008 from vnen/export-icon-splash
Export icon and splash images directly to final package
2017-12-06 07:47:00 +01:00
qichunren 7d1c3b5391 Fixed project name line edit lost input focus. 2017-12-06 11:24:01 +08:00
George Marques 85baa41c7a
Export icon and splash images directly to final package
They need to bypass the path remapping to be loaded as images during
the start routine.
2017-12-05 21:13:58 -02:00
Gilles Roudiere 7b02f5591d Moves the guides colors to editor settings 2017-12-05 21:44:52 +01:00
Ray Koopa 5fbd71af17 Add context menu to editor file dialogs. 2017-12-05 21:05:58 +01:00
Juan Linietsky 1587f45c25 Make sure the scene warning of changes may be lost is only for scenes, fixes #13970 2017-12-05 13:26:45 -03:00
Gilles Roudiere 03c1b6be23 Fix a little mistake in a setting name (rulers->guides) 2017-12-05 10:45:27 +01:00
Indah Sylvia 0102c861da Caret blinking is now enabled by default 2017-12-05 16:28:00 +07:00
sersoong 82f896b1ee Enhanced 'open' menu in filesystemdock 2017-12-05 16:37:46 +08:00
Rémi Verschelde 8040359458
Merge pull request #13454 from YeldhamDev/about_richtext
Changed EditorAbout's TextEdits to RichTextLabels
2017-12-05 09:26:59 +01:00
Rémi Verschelde 1702a19bf0
Merge pull request #13959 from groud/editable_rulers_colors
Makes editable the guides color
2017-12-05 09:23:52 +01:00
Andreas Haas 74969b4535
Merge pull request #13977 from waldson/fix-stop-scene-always-active
Fix stop button always enabled
2017-12-05 07:59:52 +00:00
Rémi Verschelde 56fe852bae i18n: Fix instructions for adding new language
Closes #13972.
[ci skip]
2017-12-04 21:10:19 +01:00
Waldson Patrício 606401331a Fix stop button always enabled (issue #13933) 2017-12-04 16:48:46 -03:00
Andreas Haas faaa012b84
Script Editor: Use first non-whitespace comment delimiter.
As suggested by @neikeq in https://github.com/godotengine/godot/pull/13489#issuecomment-348690816
2017-12-04 18:33:43 +01:00
Juan Linietsky 1a317a39ed
Merge pull request #13961 from groud/rulers_by_default
Make rulers on by default
2017-12-04 11:45:04 -03:00
Gilles Roudiere c2a7d186bd Make rulers on by default 2017-12-04 15:39:12 +01:00
Juande 0a5cf37a75 Fix the revert button issue with instanced nodes
The method "check_reload_status" on the file "property_editor.cpp" didn't take into account if the field is a property of an instanced node just like the "update_tree" does. The code that checks this in "update_tree" has been extracted into the method "_is_instanced_node_with_original_property_different" to be also used in "check_reload_status".

Fixes #13415
2017-12-04 14:17:58 +01:00
Bernhard Liebl ca7e9c0348 Fixes Polygon2D wip mode closing when editing mode is changed 2017-12-04 13:44:30 +01:00
Rémi Verschelde a31735ad36
Merge pull request #13829 from goodyttoor/master
Some untranslated UI strings
2017-12-04 10:46:49 +01:00
Rémi Verschelde a7c244564e Make auto switch to remote scene tree opt-in
The performance cost is too high for now, so it should be opt-in for users
who really need it all the time. Fixes #13833.
2017-12-04 10:25:35 +01:00
Gilles Roudiere 6c32629758 Makes editable the rulers color 2017-12-03 18:57:49 +09:00
Mariano Suligoy af719a90a7 TileMap Fixes 2017-12-02 20:49:01 -03:00
Guilherme Felipe 893a71b7dd Fix alignment for button preview_camera 2017-12-02 09:45:25 -02:00
Unknown 1d26c51856 Some untranslated UI strings 2017-12-02 16:59:45 +07:00
Rémi Verschelde 5ddf288c79
Merge pull request #13489 from Hinsbart/fix_toggle_comment
Script Editor: Make comment delimiter language dependent.
2017-12-02 10:32:54 +01:00
volzhs 216baf1c47 Unnecessary use of TTR 2017-12-02 08:35:28 +09:00
Andreas Haas 07aa9d0506
Script Editor: Make comment delimiter language dependent. 2017-12-01 20:54:36 +01:00
Michael Alexsander Silva Dias 17a3e2b370 Changed EditorAbout's TextEdits to RichTextLabels. 2017-12-01 13:20:10 -02:00
Orkun 3e50748972 Add duplice option to filesystem dock
Add duplice option to filesystem dock based move option
2017-12-01 14:13:50 +03:00
Poommetee Ketson e89309b931
Merge pull request #13216 from hoelzl/pr-fix-tile-origin-center
Fix displacement for centered tilemaps
2017-12-01 11:46:34 +07:00
Michael Alexsander Silva Dias 2773c12156 Add disabled theme to TextEdit. 2017-12-01 01:32:26 -02:00
Daniel J. Ramirez 4b80bc3303 Fixed editor settings disappearing (caused by uninitialized variable). 2017-11-29 22:04:41 -06:00
Rémi Verschelde 47d397579b i18n: Sync translation templates with current source
[ci skip]
2017-11-29 09:51:00 +01:00
Rémi Verschelde 23aa51fc94 i18n: Sync translations with Weblate
Adds Afrikaans, Hebrew, Hindi, Swedish, Ukrainian and Vietnamese.
2017-11-29 09:49:45 +01:00
Rémi Verschelde aac4cde229
Merge pull request #13367 from Krakean/inspector_collapseexpand_corrections
Small corrections to Inspector collapse/expand feature
2017-11-29 09:07:36 +01:00
Rémi Verschelde 6110235bd4
Merge pull request #13390 from poke1024/opteditorhelp
Make editor help select shortest (best) instead of first match
2017-11-29 08:58:56 +01:00
Rémi Verschelde 76725b6c1f
Merge pull request #13387 from rraallvv/refactor
Add target helper functions and refactor (master)
2017-11-29 08:54:59 +01:00
Bernhard Liebl d6a95e154a Make editor help select shortest (best) instead of first match 2017-11-29 07:20:11 +01:00
Ian e718dd12be moving open scenes in filesystem update dependencies fix 2017-11-28 22:25:11 -05:00
Rhody Lugo a65c0939fd disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00
Dmitry Koteroff 45c5a865c2 Small fixes to #13233 2017-11-28 16:53:40 +03:00
Rhody Lugo a4a222d62d use the same cache for all branches for appveyor 2017-11-28 03:23:33 -04:00
Rémi Verschelde 9a406da44e
Merge pull request #13342 from Noshyaar/just_godot
EditorAbout: single-column'd some section, monospace
2017-11-27 23:03:43 +01:00
Dmitry Koteroff ad351a29db Some improvements to file/dir open/save dialogs:
1. Removed "..", instead you now will see "Select Current Folder" and "Select this Folder" buttons.
2. Added "go to parent folder" (^) button to Save a File dialog.
3. Tree.cpp: "nothing_selected" signal has been re-made (previous implementation, merged in #13308, wasn't optimal in context of performance)
4. Fixed issue in Project Export dialog: MODE_SAVE_FILE wasn't set when you click "Export".
5. Now you can deselect items by clicking on empty space in Open a Directory dialog.
2017-11-27 22:39:36 +01:00
Poommetee Ketson 499e1b7a80 EditorAbout: single-column'd some section, monospace
- Show ItemLists in single column if not enough item, or is a
special section (Gold/Platinum sponsors)
- Add a space before and after names so that it looks a bit
better for long names adjacent to another
- License text in monospace
2017-11-27 23:27:43 +07:00
Matthias Hoelzl 2beadf7ac0 Fix displacement for centered tilemaps
- Fixes tile and collision placement for tilemaps with
  `tile_origin` set to `TILE_ORIGIN_CENTER`.
- Also fixes a bug in the offset computation for collision shapes
  with `flip_v` flag set to true if `tile_origin` is
  `TILE_ORIGIN_BOTTOM_LEFT`.
2017-11-27 15:12:30 +01:00
Bernhard Liebl 91b8b94635 add "add point" and "select point" handles to polygon 2d editor 2017-11-27 14:01:34 +01:00
Rémi Verschelde 17b4f43e0e
Merge pull request #13308 from Krakean/scenetreedock_additemsdeselect
Scene Tree Dock: added ability to deselect items when clicking on empty space
2017-11-27 13:04:20 +01:00
bncastle 30d409edc1 Focus on sprite animation list after adding a new one to allow renaming with f2
After adding a new sprite animation, focus on the sprite animation list
to allow renaming the animation with f2 instead of having to click on
the sprite name again.
2017-11-26 20:54:26 -05:00
Rémi Verschelde 03a2cf2f94
Merge pull request #13240 from Krakean/fix_interpretcomma_as_decimalpoint
Makes possible to interpret comma as decimal point in editor
2017-11-27 00:55:40 +01:00
Rémi Verschelde 2755eeb2f0
Merge pull request #13252 from Krakean/file_dialogs_small_tweaks
A few adjustments to file/dir open dialogs
2017-11-27 00:23:15 +01:00
Rémi Verschelde 3b2e423c6f
Merge pull request #13222 from Calinou/tweak-editor-help-font-sizes
Tweak editor help font sizes for better readability
2017-11-26 21:17:25 +01:00
Dmitry Koteroff a4109200aa Makes possible to interpret comma as decimal point in editor 2017-11-26 23:08:16 +03:00
Rémi Verschelde f041d2e8ec
Merge pull request #13233 from Krakean/add_eidtorinspector_collapseexpand_v2
Inspector: Implemented a collapse/expand all (v2)
2017-11-26 20:57:59 +01:00
Rémi Verschelde 89313d8bfb
Merge pull request #13246 from volzhs/memory-format
Better number format for memory usage
2017-11-26 20:34:35 +01:00
Rémi Verschelde 2879e6f7ce
Merge pull request #13247 from groud/fix_this_stupid_setting_I_added
Remove option for the rulers graduations font size
2017-11-26 20:33:22 +01:00
Rémi Verschelde dc3509b2aa
Merge pull request #13259 from Paulb23/restore_scenes_on_startup_issue_2385
Restore scenes on startup, issue 2385
2017-11-26 20:16:06 +01:00
Rémi Verschelde ade39f5771
Merge pull request #13298 from YeldhamDev/translation_layout
Fix not being able to select an editor layout created in another language
2017-11-26 19:47:17 +01:00
Juan Linietsky c6f2db393e Ask users to explore official projects when none is loaded. 2017-11-26 15:31:48 -03:00
Juan Linietsky 22415e5a31
Merge pull request #12572 from RandomShaper/onion-skinning
Onion skinning
2017-11-26 15:13:35 -03:00
Dmitry Koteroff b8b5bb6577 Scene Tree Dock: added ability to deselect items when clicking on empty space 2017-11-26 18:30:48 +03:00
Michael Alexsander Silva Dias 8987f932d6 Fix not being able to select an editor layout created in another language. 2017-11-26 13:27:48 -02:00
Hugo Locurcio e3fc6fcaa6
Tweak the default editor camera settings
- The default FOV is now 70
- The default Z-near plane is now at 0.05 meters
2017-11-25 23:03:26 +01:00
Juan Linietsky 9738ebcda0 -Fixed height fog (was broken)
-Make sure materials are named in OBJ importer, so they can be saved outside as resources.
2017-11-25 12:32:41 -03:00
Pedro J. Estébanez d0e09d84f0 Implement onion skinning for the animation editor 2017-11-25 13:25:14 +01:00
Rémi Verschelde faf5ac8d54
Merge pull request #13263 from sersoong/master-test
3.0beta - Fixed doesn't close open a file window bug
2017-11-25 10:32:38 +01:00
sersoong c8d6a3b6dc Fix doesn't close open a file window bug 2017-11-25 13:03:43 +08:00
Juan Linietsky 66a8a07c2c Add importer option to make meshes bakeable by default. 2017-11-25 01:29:35 -03:00
Juan Linietsky bc2e8d99e5 Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Pedro J. Estébanez 1964d5fddd Improve/fix SpatialEditor state saving/restoring 2017-11-25 02:18:28 +01:00
Paulb23 76a53aa328 Restore scenes on startup, issue 2385 2017-11-24 23:32:54 +00:00
Juan Linietsky 2bc6db65c1 Fixes bug where enumeration is not being saved 2017-11-24 18:44:13 -03:00
Pedro J. Estébanez 3f31925b18 Universalize draw-over API for EditorPlugins
- Now it is usable from both `CanvasItem` and `Spatial` editors.
- `EditorPlugin` API changes:
 - `forward_draw_over_canvas()` becomes `forward_draw_over_viewport()`.
 - `update_canvas()` becomes `update_overlays()`, which now triggers the update of every overlay on top of any 2D or 3D viewports present. Also now it returns the number of such viewports, which is useful whenever you need to know the number of draw-over calls you'll get.
 - New: `[set/is]_force_draw_over_forwarding_enabled()` to force overlaying regardless it handles the current object type, in a similar fashion as `[set/is]_input_event_forwarding_always_enabled`. This kind of overlay is also on top of those for regular handled node types.
 - New: `forward_force_draw_over_canvas()`, which is the callback that gets called for plugins that enable forced overlaying.
2017-11-24 21:24:15 +01:00
Hugo Locurcio a86db9b347
Tweak editor help font sizes for better readability 2017-11-24 19:57:02 +01:00
Dmitry Koteroff e3b0214f40 A few small adjustments to file dialogs:
a) Added Backspace key support for Tree-based file dialog.
b) Fixed issue inability to select a folder in project manager (always previous folder was selected instead).
c) Open Directory mode: changed "Open" to "Select Current Folder"
d) Block "Open" button when inappropriate content is selected (for example, file when in open folder mode, or folder when in open files mode)
2017-11-24 21:21:55 +03:00
volzhs 452af98995 Better number format for memory usage 2017-11-25 02:09:32 +09:00
Juan Linietsky 31f62f53c5 Fix block where setter/getters are cached to be skipped 2017-11-24 14:00:01 -03:00
Juan Linietsky 60de407262 Add a bit space around the .import [deps] tag to make it more readable. 2017-11-24 14:00:01 -03:00
Juan Linietsky bb83c7d6b7 Changed reimport logic to also check md5 before reimporting, fixes #13135
Has the nice side effect that you can share your .import folder or rename
your project and godot wont reimport stuff.
2017-11-24 13:39:41 -03:00
Juan Linietsky f6139c2cfc Attempt to remove setters/getters from doc data 2017-11-24 12:33:28 -03:00
Gilles Roudiere 2a0a56443d Remove option for the rulers graduations font size 2017-11-24 16:11:03 +01:00
Dmitry Koteroff aa20a84aa9 Implemented a collapse/expand all feature request for Inspector (issue #9427) via popup of "Object properties" button.
Editor Settings->Interface->Editor: added "Expand All Properties" option. Off by default.

Cosmetics fixes due to @Reduz notes.
2017-11-24 14:08:44 +03:00
sersoong feb45aaf4b Fix context menu of first node in a new scene 2017-11-24 12:32:57 +08:00
geequlim 9ef720908f Improved update for remote scene tree and remote object. 2017-11-23 15:23:24 +08:00
Rémi Verschelde e38efe22c7
Merge pull request #12301 from MarianoGnu/master
Implement auto-tiling
2017-11-22 15:31:46 +01:00
Rémi Verschelde 012b397063
Merge pull request #13181 from GodotExplorer/debugger-settings
Allow keep show local scene tree while debugger start
2017-11-22 15:02:23 +01:00
geequlim 2f5defab0e Add editor setting to allow keep show local scene tree while debugger start.
Rename editor setting scene_tree_refresh_interval to remote_scene_tree_refresh_interval.
2017-11-22 21:53:01 +08:00
Rémi Verschelde b52e47f263 i18n: Sync translation templates with current source
[ci skip]
2017-11-22 13:16:51 +01:00
Rémi Verschelde 2b4fc2e9d0 i18n: Sync translations with Weblate
Adds Serbian (Cyrillic) translation.
2017-11-22 13:14:55 +01:00
Dmitry Koteroff 3cca09d96a When drag'n'drop (lets say, picture in 2D mode), automatically create dragged resource as a root node if you haven't any yet. 2017-11-22 05:28:02 +03:00
Rémi Verschelde 817efd0b68
Merge pull request #13153 from YeldhamDev/remote_relationships
Fixed the Remote tab not complying with the "Draw Relationship Lines" setting
2017-11-21 22:52:42 +01:00
Rémi Verschelde 613d374bc5
Merge pull request #12284 from bojidar-bg/allow-subproperty-set
Allow for getting/setting "dotted" properties of objects
2017-11-21 22:44:14 +01:00
Michael Alexsander Silva Dias 71ef7e8f6f Fixed the Remote tab not complying with the "Draw Relationship Lines" setting. 2017-11-21 18:21:03 -02:00
Bojidar Marinov 0cf9597758
Allow for getting/setting indexed properties of objects using get/set_indexed
Performance is around the same as using pure set() through GDScript.
2017-11-21 20:58:21 +02:00
Juan Linietsky 30dadb1228
Merge pull request #11933 from cxong/master
Use "Command" instead of "Meta" for macOS (#1619)
2017-11-21 14:25:09 -03:00
George Marques 20b07a1fb5
Merge pull request #13121 from Krakean/change_filedialog_removedot
Remove the "." and "/" (at the end of folders name) from file manage dialog (open scene, open file, ...)
2017-11-21 12:30:20 -02:00
Rémi Verschelde 5a23136d1b
Merge pull request #12573 from poke1024/macostouchpad
Native pan and zoom for macOS + InputEventGesture
2017-11-21 13:03:32 +01:00