summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
AgeCommit message (Collapse)Author
2020-02-05Remove duplicate WARN_PRINT macro.Marcel Admiraal
2020-02-05Remove duplicate ERR_PRINT macro.Marcel Admiraal
2020-01-24Fixed Inspector update when a node is renamedPouleyKetchoupp
Whenever any node is renamed, EditorNode::_edit_current() is called and it resets plugins used for current edited properties. This change forces the inspector to update even though the same object is edited, to make sure all plugins are restored properly from unfolded properties/resources/etc. Fixes #32832
2020-01-14Export: Properly disable resource preview threadRémi Verschelde
Fixes #26857. Fixes #34433. Fixes #34826.
2020-01-13EditorNode: Delay addon init to NOTIFICATION_READYRémi Verschelde
Fixes #25635.
2020-01-13Fixes the New Window option in macOS dock menuHaoyu Qiu
2020-01-08Export: Add dedicated --export-pack option to export data packRémi Verschelde
The previous behavior relying on the provided extension was problematic on macOS since .zip is the main extension used for the full project export (binary + data pack). We add a dedicated `--export-pack` command line option to define when only the data pack should be exported. Its extension will still be inferred from the path. Fixes #23073.
2020-01-07Export: Improve usability of command line interfaceRémi Verschelde
I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470.
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-30Merge pull request #34680 from Calinou/editor-export-nonzero-exit-code-errorRémi Verschelde
Exit the editor export process with a non-zero exit code on error
2019-12-30Merge pull request #34614 from qarmin/dont_create_preview_of_empty_sceneRémi Verschelde
Don't create preview of empty scene.
2019-12-30Exit the editor export process with a non-zero exit code on errorHugo Locurcio
This closes #34672.
2019-12-26Don't create preview of empty scene.Rafał Mikrut
2019-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-12-23Centers Dock Position textHaoyu Qiu
2019-12-16Makes more strings in editor translatableHaoyu Qiu
* File type names in file dialogs * Layout option names * Visual shader editor UI
2019-12-11Fixes infinite loop when switching editorHaoyu Qiu
2019-12-10Merge pull request #34040 from qarmin/unused_variable_more_precise_numbersRémi Verschelde
Removed unused variables, add some constants numbers
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-12-06Fixes prompt closes the wrong scene when exitingHaoyu Qiu
2019-11-25Debug menu in editor doesn't hide on checkbox togglePouleyKetchoupp
Fixes #33850
2019-11-14EditorNode: Improve tooltip for pause buttonRémi Verschelde
Closes #14742.
2019-11-10Keep focus on the top-most node for multi-selection in scene treePouleyKetchoupp
Makes behavior consistent with selecting/deselecting single nodes and fixes a regression about the focused node being lost when multi-selecting. Fixes #33332
2019-11-09Fixed errors when saving scene with a shrunk viewportPouleyKetchoupp
Handle viewport size larger than preview size but very close, when the ratio was 1 the size ended up being 0. Fixes #33497
2019-10-31Make the editor dimming smarterMichael Alexsander
2019-10-23Merge pull request #33019 from volzhs/class_iconRémi Verschelde
Resize custom class icon
2019-10-24Resize custom class iconvolzhs
2019-10-23Merge pull request #33009 from ebert83/fix_editor_save_layoutRémi Verschelde
Fix layout saving error
2019-10-23Fix layout saving errorThomas Ebert Hansen
As a result of commit b49226e085 FileAccess::open no longer returns ERR_CANT_OPEN if the file cannot be found/opened. Instead check against ERR_FILE_NOT_FOUND or ERR_FILE_CANT_OPEN.
2019-10-23Fix EditorNode.get_editor_themeFabio Alessandrelli
EditorNode was not correctly setting the class memeber when creating the theme, using a local variable instead. Theme is now created before registering exporters (as they might need it).
2019-10-20expose EditorSpinSlider to GDScriptMark Riedesel
2019-09-30Minor visual adjustment in drag preview of the scene and file tree editorsMichael Alexsander Silva Dias
2019-09-26Fixed unable to open project data folderRuslan Mullayanov
Removed `default` case to prevent hiding such errors in the future. Fixes #31939.
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin
2019-09-23Fix #32263 - Hide Console Window stores opposite valueStefano Coratti
2019-09-23Merge pull request #32074 from KoBeWi/ninja_reloadRémi Verschelde
Preserve folding when sub-scene is changed
2019-09-20Distinguish editor-originating messages in the editor logHugo Locurcio
This fades out messages originating from the editor to make messages printed by the project stand out more. This also tweaks wording in some editor messages for consistency.
2019-09-10Preserve folding when sub-scene is changedTomasz Chabora
2019-09-04Merge pull request #31927 from willnationsdev/csv-importRémi Verschelde
Add CSV import without translation.
2019-09-03Add CSV import without translation.willnationsdev
2019-09-04Merge pull request #30982 from iwek7/feature/skip_breakpointsRémi Verschelde
Adds skip-breakpoints feature
2019-09-04Merge pull request #31461 from IronicallySerious/add-vcs-integrationRémi Verschelde
VCS integration for Godot Editor
2019-09-03Adds skip-breakpoints featureiwek7
2019-09-03Add VCS editor plugin UI elements to editorTwarit
2019-08-31Default ColorPicker color mode settingBhupendra Aole
There is a new setting for Default ColorPicker color mode in Editor Settings->Interface->Inspector. Initially this setting will be RGB. Editor ColorPicker will always start with mode defined in this settiing. Fixes #30755 and #30754
2019-08-30Merge pull request #25353 from azagaya/masterRémi Verschelde
Use also invisible tabs to calculate minimum size of tab container
2019-08-30Make tab containers in editor, project settings, and export dialog, to use ↵azagaya
hidden tabs for min size computation.
2019-08-30Merge pull request #31706 from akien-mga/android-custom-build-improvementsRémi Verschelde
Buildsystem and workflow improvements to the new Android custom builds
2019-08-29Tweak the editor window dimming intensity, remove dim fade animationHugo Locurcio
The fade animation tended to give the editor a "sluggish" feel when running at lower FPS (which is common in heavy 3D scenes), so it's probably a good idea to remove it. This also makes dimming less intense (50% instead of 60%).