Rémi Verschelde
4e760096a9
Merge pull request #31443 from Calinou/editor-use-minimum-window-size
...
Define a minimum window size in the editor and project manager
2019-08-20 12:42:58 +02:00
Rémi Verschelde
cc9f2a2d8b
Merge pull request #31401 from aaronfranke/no-init-scripts
...
Allow plugins to not have an init script
2019-08-17 22:09:17 +02:00
Hugo Locurcio
c0eee235c4
Define a minimum window size in the editor and project manager
...
This prevents most UI elements from overlapping or being cut off
as a result of the window being too small.
This closes #20669 .
2019-08-17 21:56:59 +02:00
Braden Bodily
71d71d55b5
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'
...
Condensed some if and ERR statements. Added dots to end of error messages
Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?),
core/os/memory.cpp,
drivers/png/png_driver_common.cpp,
drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
2019-08-17 12:33:15 +02:00
Aaron Franke
ceb61fb784
Allow plugins to not have an init script
2019-08-15 17:52:07 -04:00
Tomasz Chabora
cedee8281b
Allow to create scene from FileSystem dock
2019-08-15 19:47:21 +02:00
Rémi Verschelde
8995d95da0
Merge pull request #31347 from neikeq/monodevelop-addin
...
C#: Add Ide Connection library and server for the editor
2019-08-14 11:39:41 +02:00
Hugo Locurcio
9e1c23a353
Reorganize various menus for consistency and conciseness
...
- Clean up the recent scripts dialog to match the recent scenes dialog
- Add "..." at the end of shortcuts that cause a modal dialog to appear
This closes #31148 .
2019-08-13 11:52:10 +02:00
Rémi Verschelde
f5f16e57fd
Merge pull request #30804 from hbina/fix_issue_30160
...
Fixed crash when making subresource unique in inspector dock
2019-08-07 11:43:16 +02:00
Hanif Bin Ariffin
befc2c0894
add forgotten calls to inspector_dock->update(...).
...
I believe many calls to the said function was mistakenly left out leading to InspectorDock having a pointer to deleted values.
As such, this commit introduces many such calls to inspector_dock where I believe is appropriate...
2019-08-06 18:02:36 -04:00
Rémi Verschelde
52cfb5f579
Merge pull request #31121 from willnationsdev/plugin-select-editor
...
Let EditorPlugins set editor/distraction-free mode
2019-08-06 16:43:49 +02:00
Will Nations
2e3264259b
Let EditorPlugins set editor/distraction-free mode
2019-08-06 08:48:00 -05:00
Rémi Verschelde
fa35a73f0a
Merge pull request #31116 from sparkart/add_quit_shortcut
...
Add Shortcut Settings for Quitting Editor
2019-08-05 22:02:11 +02:00
Emmanuel Barroga
8e4ae09639
Add Shortcut Settings for Quitting Editor
...
Adds the ability to change the shortcut keys in Editor Settings for quitting the editor.
2019-08-05 11:53:42 -07:00
merumelu
dcd551bf78
Remove Editor dependency from SceneTree
2019-08-05 19:46:23 +02:00
Ignacio Etcheverry
0b94203a79
C#: Add Ide Connection library and server for the editor
...
This will be used for communicating between the Godot editor and external IDEs/editors, for things like opening files, triggering hot-reload and running the game with a debugger attached.
2019-08-04 01:57:53 +02:00
Kanabenki
648313ab8a
Don't add unsaved scene to previous scenes list
2019-07-31 23:49:16 +02:00
Rémi Verschelde
7d76f3b393
Merge pull request #30944 from YeldhamDev/bottom_panel_icon_simplify
...
Make the expand icon in the bottom panel always be the same
2019-07-30 09:27:33 +02:00
Michael Alexsander Silva Dias
d6988b7d2b
Make the expand icon in the bottom panel always be the same
2019-07-29 18:08:05 -03:00
Kanabenki
a8ac739a5e
Add Undo Close Tab option in tabs context menu
2019-07-27 16:51:24 +02:00
Rémi Verschelde
e4ec59b6ae
Merge pull request #30763 from Calinou/editor-add-version-info
...
Display version information in the editor at all times
2019-07-26 19:08:42 +02:00
Hugo Locurcio
6f6a9d9c09
Simplify editor settings related to window dimming
...
Only a single checkbox is now exposed to control whether the editor
window should be dimmed when opening a popup. The main use case
for disabling it is picking colors from the editor window while
a popup is open.
2019-07-26 15:29:04 +02:00
Hugo Locurcio
dee9e9dc62
Display version information in the editor at all times
...
This closes #27811 .
2019-07-25 21:05:36 +02:00
Rémi Verschelde
d844e30614
Inspector: Make default float step configurable
...
Also allow lifting the decimal step formatting with a hint range step
of 0. A new `range_step_decimals()` is added for this to avoid breaking
compatibility on the general purpose `step_decimals()` (which still
returns 0 for an input step of 0).
Supersedes #25470 .
Partial fix for #18251 .
2019-07-23 17:31:38 +02:00
Michael Alexsander Silva Dias
9be52a5e0f
Move "Open Screenshot" from the "Editor" menu to the editor settings
2019-07-23 02:05:29 -03:00
Rémi Verschelde
d15cf7b672
Merge pull request #30576 from qarmin/lgtm_coverage
...
Changed some code reported by LGTM and Coverity
2019-07-20 12:00:13 +02:00
qarmin
6cbaf7662f
Changed some code showed in LGTM and Coverage
2019-07-20 08:09:57 +02:00
Bojidar Marinov
4f72178868
Make custom types more subtle and more useful
...
Implements #6067 (aaronfranke's idea)
Fixes #26980
2019-07-19 22:33:58 +03:00
Nils ANDRÉ-CHANG
7a1b399df2
Use switch instead of if statement
2019-07-15 17:21:34 +01:00
Bojidar Marinov
eed2251f17
Add a way to copy the text of warnings shown in the editor
...
Closes #20662
2019-07-09 21:11:31 +03:00
Bojidar Marinov
e222615e97
Fix editor remaining dimmed after certain actions
...
Fixes #30368
2019-07-06 17:37:40 +03:00
Rémi Verschelde
595763e0a0
Revert "Add editor menu to open the project data "user://" location."
2019-07-05 12:37:42 +02:00
Rémi Verschelde
3676100964
Merge pull request #30336 from fire/open_project_data
...
Add editor menu to open the project data "user://" location.
2019-07-05 11:40:28 +02:00
K. S. Ernest (iFire) Lee
44df7c8b9b
Add editor menu to open the project data "user://" location.
2019-07-05 01:07:11 -07:00
Rémi Verschelde
133a07ed2d
Merge pull request #30327 from Calinou/editor-dim-window-quitting
...
Dim the editor window while it's quitting
2019-07-05 09:44:43 +02:00
Hugo Locurcio
492c3196ae
Dim the editor window while it's quitting
...
This makes it clearer that the editor window is busy while it's quitting
(which can take a while on slower PCs).
This also makes it feel more responsive to user input.
Note that the effect is only visible if
"Interface > Editor > Quit Confirmation" is disabled in the
Editor Settings, as the quit confirmation already makes
the editor window dim while quitting.
2019-07-04 23:47:47 +02:00
Hugo Locurcio
acbd0fea97
Use CheckBoxes in the editor instead of CheckButtons when applicable
...
CheckButtons should only be used if toggling them has an
immediate effect. Otherwise, CheckBoxes should be used.
2019-07-04 17:32:59 +02:00
Fabio Alessandrelli
c798173332
Fix editor crash when StreamPeerSSL is unavilable.
...
The fix for EditorNode is a bit hacky, but the handling of the buttons
and features there is hacky too (based on enums that might not reflect
the actual state).
2019-07-02 15:34:34 +02:00
Rémi Verschelde
98879be276
Merge pull request #27510 from fire/screenshot_editor
...
Add editor screenshot on control - f12.
2019-07-02 11:30:16 +02:00
K. S. Ernest (iFire) Lee
05de0eafab
Add editor screenshot on control - f12.
2019-07-01 13:39:21 -07:00
Rémi Verschelde
d17eac735c
Merge pull request #29815 from NilsIrl/plus_file_1
...
Replace ` + "/" + ` with `String::file_add()`
2019-07-01 12:06:35 +02:00
Chaosus
da7cf8b49f
Added convertor from VisualShader to Shader
2019-06-28 19:54:43 +03:00
Thomas ten Cate
05b67514a6
Make visibility of update spinner editor-wide, hidden by default
...
- Make visibility of the spinner and "update always" option editor-wide,
rather than per-project metadata.
- Add options "Show Update Spinner" and "Update Continuously" under
Editor Settings > Interface > Editor. Both options are false by
default.
- Rename some variables and constants to be more consistent and clearer:
"update always" -> "update continuously", "update changes" -> "update
when changed", "update menu" -> "update spinner", "circle" -> "update
spinner".
Fixes #23738 .
2019-06-25 14:57:44 +02:00
Rémi Verschelde
30383a1cdc
Merge pull request #29376 from hilfazer/editor_layouts_dialog
...
Saving/deleting editor layouts dialog with layout list
2019-06-23 23:56:52 +02:00
Nils ANDRÉ-CHANG
d2833d4f4d
Replace + "/" +
with String::file_add()
2019-06-23 13:33:50 +01:00
hilfazer
9986cf7005
editor save/delete layout dialog with layout list
2019-06-21 19:38:04 +02:00
Luka Dornhecker
ad504b926f
Add option to toggle console window on Windows
...
This is an editor setting and its value can also be toggled
using an entry in the Editor toolbar. The console will still
appear briefly when starting the project manager or editor,
as it's still compiled as console application.
Does not impact exported games, which will still run without
console in release and with console in debug mode.
A project setting or export option could be added to disable
it in debug mode if there's demand for it, but that would
greatly reduce the usefulness of debug builds if Windows users
can no longer report error and crash messages.
Fixes #17889 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2019-06-20 16:55:52 +02:00
Rémi Verschelde
d2e8b5bd18
Merge pull request #29493 from YeldhamDev/enhance_fix_feature_profile
...
Enhancements and fixes for the editor feature profile
2019-06-19 00:14:05 +02:00
Rémi Verschelde
b5459d9f0a
Merge pull request #29830 from NilsIrl/remove_useless
...
Remove useless cast from c-string to String
2019-06-17 11:00:01 +02:00
Rémi Verschelde
e864237f1a
i18n: Fix extract.py support for new TTRC
...
Also make compatible with Python 3.
2019-06-16 22:02:44 +02:00
Nils ANDRÉ-CHANG
640ed6baba
Remove useless cast from c-string to String
2019-06-16 13:12:01 +01:00
Michael Alexsander Silva Dias
484127c88f
Enhancements and fixes for the editor feature profile
2019-06-12 21:46:53 -03:00
Rémi Verschelde
971b5160c6
Merge pull request #29306 from qarmin/small_code_fixes
...
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-12 12:49:21 +02:00
Rémi Verschelde
6d16f2f053
Fix error macro calls not ending with semicolon
...
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
2019-06-11 14:49:34 +02:00
Hein-Pieter van Braam-Stewart
0ac7715a27
Fix moving and renaming files
...
This commit fixes several issues related to moving scenes and resources
in an open project.
* Don't try to reload scenes while not all scenes are updated yet.
* Don't use the UndoRedo system to update non-user initiated editor
state.
* Resave scenes after moving files and updating resource path(s).
2019-06-04 16:24:32 +02:00
qarmin
8245db869f
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-03 21:52:50 +02:00
Rémi Verschelde
a69436aa4e
Merge pull request #27309 from KoBeWi/main_scene_on_android
...
Ensure main scene is set when running on device
2019-05-31 16:55:46 +02:00
Tomasz Chabora
9e18e94dc1
Ensure main scene is set when running on device
2019-05-31 16:02:57 +02:00
Tomasz Chabora
847a74d588
Fix crash when inherit in rootless unsaved scene
2019-05-31 02:08:37 +02:00
Hugo Locurcio
ac14efcdfb
Decrease the editor FPS cap when the window is unfocused
...
This decreases CPU/GPU usage when the window is unfocused, which can
be beneficial to laptop users.
This also makes the low-processor mode sleep project setting no longer
affect the editor. Instead, two new editor settings now define the
duration of sleeping when the editor is focused and unfocused.
This closes #24209 and partially addresses #29257 .
2019-05-30 15:42:57 +02:00
Rémi Verschelde
3f11505f4f
Merge pull request #29253 from IronicallySerious/remove-duplicate-plugin
...
Remove duplicate audio bus plugin registry
2019-05-29 10:42:09 +02:00
Rémi Verschelde
80f7a19569
Merge pull request #28789 from mitchcurtis/quick-open
...
Add Quick Open dialog
2019-05-28 20:45:52 +02:00
Twarit
506436b28a
Remove duplicate audio bus plugin registry
2019-05-28 23:56:04 +05:30
Mitch Curtis
ffb6aab1f4
Add Quick Open dialog
...
This dialog searches every Resource-derived file in the project, making
it extremely useful for searching everything from audio files to scripts.
Unlike the Quick Open Script and Quick Open Scene dialogs, you don't need
to think about the type of file you're opening, just its name.
Shift + Alt + O was chosen to match the existing shortcuts for
Quick Open Scene and Quick Open Script.
2019-05-28 18:27:18 +02:00
Rémi Verschelde
47f00925dc
Merge pull request #28454 from homer666/popup-centered-maxsize
...
Add `popup_centered_clamped()` method to Popup
2019-05-28 11:36:41 +02:00
Rémi Verschelde
11f20c43d7
Merge pull request #28907 from dankan1890/contextual_help
...
ScriptEditor: Changed the shortcut for contextual help in ALT + F1
2019-05-24 19:55:42 +02:00
Max Hilbrunner
ac58abfd58
Merge pull request #28970 from KoBeWi/a_wild_bug_appeared
...
Fix saving scenes when multi-closing scene tabs
2019-05-18 16:46:31 +02:00
Hugo Locurcio
2713b44da7
Fix "Open Project Data Folder" in the editor
...
The handling code also had to be moved as this option was moved
to the Tools submenu.
2019-05-18 14:35:13 +02:00
Tomasz Chabora
27e17fa5de
Fix saving scenes when multi-closing scene tabs
2019-05-17 23:47:02 +02:00
Max Hilbrunner
05cb337f2d
Merge pull request #28587 from Daw11/lanczos
...
Implement Lanczos image filter
2019-05-16 23:25:48 +02:00
Michael Alexsander Silva Dias
be8dc97be7
Fix leftover connection to the "Open" signal in FileSystemDock
...
Fixes #28903 .
2019-05-15 11:25:52 -03:00
dankan1890
81e48e2cf3
ScriptEditor: Changed the shortcut for contextual help in ALT + F1, to resolve the conflict with the help menu opening shortcut.
2019-05-15 14:27:24 +02:00
Michael Alexsander Silva Dias
dcf27c71b7
Make possible to create inherited scenes via the RMB menu in the FileSystem dock
2019-05-11 05:13:29 -03:00
Michael Alexsander Silva Dias
19b8c51e1d
Change empty scene closing on new inherented scene to a better approach
2019-05-08 04:47:39 -03:00
Daw11
28bff3d1ad
Implement Lanczos image filter
2019-05-05 14:03:56 +02:00
Rémi Verschelde
36d4f86ed9
Merge pull request #27707 from Calinou/tweak-message-wording
...
Improve wording of various messages and make casing more consistent
2019-04-30 11:10:36 +02:00
homer666
80e9e93e27
Add Popup::popup_centered_clamped method
...
- Also replace redundant duplicate code in editor dialogs with calls to popup_centered_clamped()
2019-04-30 05:35:43 +10:00
Hugo Locurcio
f5940e2909
Limit the size of the Manage Editor Feature Profiles dialog
...
This makes it more readable on large monitors.
2019-04-26 18:49:37 +02:00
Rémi Verschelde
f05dce3ee2
Merge pull request #28262 from KoBeWi/gotta_close_them_all
...
Add Close Others/Right/All for scene tabs
2019-04-25 22:46:46 +02:00
Tomasz Chabora
6169e755aa
Add Close Others/Right/All for scene tabs
2019-04-25 18:14:36 +02:00
DixiE
f06b62028e
Save Layout When Scene Is Closed Via Context Menu
2019-04-23 22:37:02 +01:00
Hugo Locurcio
35a0162167
Improve wording of various messages and make casing more consistent
...
This also adds the number of selected projects to the confirmation
dialog that appears before removing projects.
2019-04-21 14:37:14 +02:00
Juan Linietsky
04847ef5f9
Added ability for multiple images to be imported as an atlas
...
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
2019-04-19 15:56:34 -03:00
Tomasz Chabora
331f922359
Save opened scenes when necessary
2019-04-15 22:17:49 +02:00
Rémi Verschelde
c8994b56f9
Style: Apply new changes from clang-format 8.0
...
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Juan Linietsky
3474e1586d
Changes to to feature profile editor
...
Changed "Disable Editor" to "Contextual Editor Enabled"
Do not show contextual editors for disabled classes.
2019-04-08 20:20:20 -03:00
Juan Linietsky
a20235aeb0
Add ability to edit editor feature profiles
...
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08 19:18:51 -03:00
Juan Linietsky
dd03dcbd5a
Android now (optionally) builds the template when exporting
...
Added new way to create add-ons
Removed old way to create add-ons
2019-04-07 15:46:52 -03:00
Rémi Verschelde
5881c6505b
Merge pull request #27414 from KoBeWi/drop_the_dir
...
Allow to drop folders onto editor
2019-04-22 12:01:32 +02:00
Rémi Verschelde
71bbe6eb01
Merge pull request #27979 from Paulb23/remember_script_state
...
Restore script editor state between sessions
2019-04-21 13:01:43 +02:00
Paulb23
6ea253aa77
Restore script editor state between sessions
2019-04-13 13:07:12 +01:00
Rémi Verschelde
694ec9b3d0
Merge pull request #26551 from ZahFox/editor-shortcuts
...
New shortcuts for the editor menu items
2019-04-07 13:49:12 +02:00
Rémi Verschelde
03581e49b7
Merge pull request #27151 from vorabrijesh/updated
...
Changed default shortcut for opening help menu to (Shift + F1)
2019-04-07 11:53:08 +02:00
vorabrijesh
f1e4fd3e39
Change Help menu shortcut to Shift+F1: Fixes #3786
2019-04-07 01:45:26 +05:30
Rémi Verschelde
fc370b3feb
Fix -Wimplicit-fallthrough warnings from GCC 8
...
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135 .
2019-04-05 15:14:53 +02:00
Rémi Verschelde
de54ee975d
Merge pull request #27238 from ShyRed/cpu2dmask
...
Add Emission Mask to CPUParticle2D
2019-04-03 09:13:14 +02:00
Tomasz Chabora
c0da243f04
Allow to drop folders onto editor
2019-03-26 13:33:38 +01:00
Pedro J. Estébanez
9c3ddf05cb
Revert accidental commits
...
This reverts commit fb37284c02
.
This reverts commit 4db0f51b9a
.
2019-03-20 21:43:55 +01:00
Pedro J. Estébanez
4db0f51b9a
Create live view dock [wip]
2019-03-20 20:44:43 +01:00
ShyRed
dcd268e183
Add Emission Mask to CPUParticle2D
...
Add ability to load emission masks to CPUParticle2D.
2019-03-19 17:28:57 +01:00
Will Nations
2d106eb715
Fix inherited icons for script classes
2019-03-17 00:04:15 -05:00
Rémi Verschelde
ffd115dd6f
Merge pull request #26935 from qarmin/show_class_name_icon_in_tabs
...
Show in tabs custom class icons
2019-03-16 11:04:03 -07:00
Michael Alexsander Silva Dias
ebabb0ea65
Make bottom panel only try to hide editors when they're visible
2019-03-16 03:39:49 -03:00
qarmin
825a870f06
Show in tabs non default class icons
2019-03-11 22:54:23 +01:00
George Marques
25f9aee005
Allow class_name scripts to have nested inheritance
2019-03-09 00:47:27 -03:00
Juan Linietsky
6eac688952
Don't hide/show top editor if they did not change, fixes #26644
2019-03-06 12:42:01 -03:00
Juan Linietsky
5f079e2ef9
-Make tileset and meshlibrary edit in a separate inspector, fixes #26671
...
-Made relationship lines appear based on theme settings, not previous hack
-Fix drawing of relationship lines (was broken)
-Fix double initialization of theme settings
2019-03-06 12:12:42 -03:00
Juan Linietsky
472c94ce3e
Remove the "Open Editor" button, it will open automatically.
2019-03-04 16:50:21 -03:00
Juan Linietsky
53bec9deeb
Fix and restore text, material and mesh previewers.
2019-03-04 15:53:18 -03:00
Juan Linietsky
e653c79ef7
Better warnings when resources can't be saved. Fixes #26531
2019-03-04 11:06:49 -03:00
Juan Linietsky
a1e73dcc94
Add support for event accumlation (off by default, on for editor), fixes #26536
2019-03-03 19:53:13 -03:00
will
7a88002992
New shortcuts for the editor menu items
2019-03-03 15:24:58 -06:00
Bruno Lourenço
ed7534a6aa
Fix grid view button icon not showing on filesystem dock.
2019-03-03 15:02:51 +00:00
Paul Trojahn
f3d94cc752
Fix misleading modified status of scenes
...
If a scene is instanced in another scene, any changes to the first
triggers _clear_undo_history in EditorNode::set_current_scene, which
increments the version in UndoRedo::clear_history. This results in a
modified status. Passing false to clear_history fixes this issue.
Fixes #25942
2019-03-01 18:27:37 +01:00
Juan Linietsky
9ca6ffa341
Save resources even if no scene is present, closes #26273
2019-02-27 20:00:40 -03:00
Rémi Verschelde
028303f167
Merge pull request #26373 from groud/fix_layout_loading
...
Fixes layout loading
2019-02-27 22:39:31 +01:00
Juan Linietsky
d8f12c4343
Avoid docks to be overriden while scanning, fixes #26359
2019-02-27 18:14:59 -03:00
Gilles Roudiere
04fb1069cd
Fixes layout loading
2019-02-27 21:36:12 +01:00
Juan Linietsky
a5370b1b1b
-Fix problem of order of import plugins, closes #26340
...
-Ensure resource previewer does not start until first import is done
2019-02-27 14:11:17 -03:00
Juan Linietsky
eb2b9b88a9
Make sure restoring opened scenes happens after scanning is done.
2019-02-27 11:00:32 -03:00
Juan Linietsky
caa42667e8
If resources on disk have subresources and they are edited, also save the resource on ctrl-s
2019-02-26 23:48:30 -03:00
Rémi Verschelde
68f675fba2
Merge pull request #26290 from groud/move_setting_to_layout
...
Move the FileSystem dock layout properties to the per-project layout file
2019-02-26 09:14:41 +01:00
Gilles Roudiere
de95493de2
Move the FileSystem dock layout properties to the per-project layout file
2019-02-25 23:39:49 +01:00
Eric Rybicki
747b9ac870
Fix editor crash after disabling plugin that used forward_spatial_gui_input
...
Fixes #26124 .
2019-02-25 17:11:04 +01:00
Juan Linietsky
7f63b0e8cd
Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
...
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Juan Linietsky
8b231b96e3
Implement a cleaner (and better) way to save imagedata from ImageTexture, fixes #18801
2019-02-21 20:49:42 -03:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
Rémi Verschelde
74ef11d404
Merge pull request #26061 from qarmin/fix_res_error
...
Fix res:// error when dragging file from outside of editor
2019-02-20 17:28:05 +01:00
Michael Alexsander Silva Dias
0de15955ad
Add small spacing between top bars in main editor and project manager
2019-02-20 12:08:52 -03:00
qarmin
2f0c4de1f0
Fix res:// error when dragging file to other file
2019-02-19 17:21:05 +01:00
Rémi Verschelde
f5f2b5d4af
Merge pull request #25962 from willnationsdev/fix-missing-addon
...
Auto-cleanup missing addons
2019-02-18 10:09:58 +01:00
Will Nations
2d0fcd5c4a
Auto-cleanup missing addons
2019-02-17 22:57:45 -06:00
Michael Alexsander Silva Dias
da45f1bf85
Minor cleanup in the Project Manager
2019-02-12 08:25:09 -02:00
Michael Alexsander Silva Dias
3a70020c98
Cleanup editor's top bar of old nodes
2019-02-11 02:18:54 -02:00
QbieShay
fe046de216
Root node of a scene is now selected when the scene is opened.
2019-02-08 22:50:39 +01:00
Rémi Verschelde
4cfce99955
Merge pull request #25355 from YeldhamDev/color_picker_changes
...
Make some small enhancements to the ColorPicker
2019-01-27 18:37:48 +01:00
Juan Linietsky
a089061120
Fix pixelized previews, but also instances of breaking ImageTexture cache. Closes #25378 .
2019-01-27 13:41:47 -03:00
Michael Alexsander Silva Dias
182f26fe5e
Make some small enhancements to the ColorPicker
2019-01-27 12:44:39 -02:00
Juan Linietsky
5bd3f72878
Properly warn about the effects of changing an import type, as well as force editor restart. Fixes #23874
2019-01-25 17:23:56 -03:00
Juan Linietsky
32fa136cc7
Ability to keep images in ImageTexture cached while using editor, fixes #25243
2019-01-25 13:40:23 -03:00
Juan Linietsky
e8d31cc765
Perform a cleaner exit for resource preview, fixes #24206
2019-01-17 09:09:39 -03:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Chaosus
b26d2ac190
Fix "method not found" error when script is removed from object
2018-12-31 12:09:08 +03:00
Rémi Verschelde
ac46862097
Merge pull request #24506 from JFonS/expose_gizmos
...
Expose the new gizmo plugin system to scripting
2018-12-30 15:42:30 +01:00
JFonS
6b15b4f904
Expose the new gizmo plugin system to scripting
2018-12-21 23:56:39 +01:00
Alexandre LittleWhite Laurent
ca90dd302b
Change global timestamp behaviour earlier
2018-12-16 23:39:17 +01:00
Rémi Verschelde
9df7ed59fb
Merge pull request #19501 from Zylann/custom_loaders
...
Added basic support for custom resource savers and loaders
2018-12-16 14:26:56 +01:00
Marc Gilleron
065e2670af
Added basic support for custom resource savers and loaders
2018-12-15 05:34:53 +00:00
Rémi Verschelde
bf59b73250
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
...
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00
Michael Alexsander Silva Dias
bc9cb0e6cd
Cleanup some unused controls in the editor's top bar
2018-12-09 17:51:30 -02:00
Rémi Verschelde
e4a2003b98
Merge pull request #22323 from williamd1k0/ignore-main-scene
...
Editor: Skip loading main scene if restore_scenes_on_load is used
2018-12-07 15:08:34 +01:00
Juan Linietsky
ab9bbce311
Disable progress dialog on export from command line, stab at fixing #24031
2018-11-28 08:46:26 -03:00
Juan Linietsky
616b91b498
Added test to avoid saving cyclic scene instancing, fixes #9686
2018-11-27 18:56:31 -03:00
Juan Linietsky
e6bc152de8
NORMALMAP was not working (no normal being used detected), fixes #9263
2018-11-27 18:05:20 -03:00
Juan Linietsky
0d69da8c0e
Rewrite code for unfolding and make it automatic on scene load, which works better.
2018-11-25 10:47:33 -03:00
Rémi Verschelde
da31d63f76
Merge pull request #23680 from YeldhamDev/unified_help_search_revived
...
Unified Class and Reference Search 2: Resurrection
2018-11-22 16:16:52 +01:00
Max Hilbrunner
998d3a30a5
Merge pull request #22983 from Ashafix/master
...
Better error message for malformed plugins
2018-11-21 12:18:15 +01:00
Juan Linietsky
da0ec37aa9
Reworked how non-imported resources are reloaded on change, fixes #19852
2018-11-20 21:48:48 -03:00
Ray Koopa
fddffa9eb8
Unify editor class and reference search
...
Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2018-11-20 20:52:27 -02:00
Michael Alexsander Silva Dias
da7d3c5a58
Make opening menus with the same parent on mouse focus explicit
2018-11-20 20:37:45 -02:00
Rémi Verschelde
90dd3774a3
Merge pull request #23802 from JFonS/add_save_option
...
Add Save option to resource property menu
2018-11-20 14:15:31 +01:00
Michael Alexsander Silva Dias
6ba94d5ca0
Add argument to UndoRedo's "clear_history()" to not increase the version
2018-11-18 19:46:35 -02:00
JFonS
dbca3b81ba
Add Save option to resource property menu
2018-11-18 15:17:04 +01:00
Rémi Verschelde
8dfe786406
Merge pull request #23649 from willnationsdev/fix-scene-icons
...
Fix scene dock not showing custom icons
2018-11-12 08:19:40 +01:00
Juan Linietsky
d16ce4a8ed
Many fixes to script editor remote debugger, closes #13346
2018-11-11 09:16:27 -03:00
Will Nations
33e18ab2b5
Fix scene dock not showing custom icons
2018-11-10 22:46:20 -06:00
Juan Linietsky
f2e54057ae
-Moved EditorDefaultValue to ClassDB, made it core
...
-Removed one and zero hints for properties, replaced by default value
2018-11-08 11:30:59 -03:00
Rémi Verschelde
5f8af252e8
doc: Use HTTPS for docs.godotengine.org and point to latest branch
...
Fixes #23509 .
2018-11-05 08:46:27 +01:00
Pedro J. Estébanez
d2b0f69a64
Let user fix dependencies in resources
2018-11-02 04:44:40 +01:00
Rémi Verschelde
91e5782795
Merge pull request #23311 from YeldhamDev/editor_capitalization_fix
...
Small capitalization fixes across the editor
2018-11-01 21:37:33 +01:00
Juan Linietsky
4761c6bb7b
Automatically unfold sections of properties that someone else edited (no local info exists).
2018-10-29 17:39:17 -03:00
Juan Linietsky
e647342140
Moved folding outside the resource files, now saved outside the project.
2018-10-29 16:37:09 -03:00
Juan Linietsky
6cc116d415
Ability to revert any property, not just from inherited scenes or scripts.
2018-10-29 12:25:56 -03:00
Michael Alexsander Silva Dias
f3835282c4
Small capitalization fixes across the editor
2018-10-26 16:11:36 -03:00
groud
5536e7a8d4
Fixes the editor layout
2018-10-26 12:44:49 +02:00
Ashafix
9e36f5f6f8
Better error message for malformed plugins
2018-10-25 22:46:01 +02:00
Michael Alexsander Silva Dias
9765a8dc21
Fix default layout dock sizes
2018-10-25 17:21:23 -03:00
Rémi Verschelde
ece9a0f400
Merge pull request #23114 from groud/allow_smaller_dock_width
...
Allow the editor dock to have a lower width
2018-10-25 15:06:41 +02:00
Paulb23
642ba881ea
Don't create scene thumbnail before its saved, issue 22890
2018-10-21 15:55:58 +01:00
groud
6cf13e881c
Allow the editor dock to have a lower width
2018-10-18 15:23:04 +02:00
Rémi Verschelde
32ee3bf092
Revert "Make KEY_ESCAPE close all output/debugger docks on bottom"
...
This reverts commit 2ae2735a7a
.
It also closes panels like the shader text editor when trying to
discard code completion tooltips. It could be readded with extra
care that modals like tooltips will take precedence and mark the
event as handled.
Fixes #17159 , fixes #20738 , closes #22727 .
2018-10-07 11:10:13 +02:00
Aaron Franke
4f7b33cdcf
Remove redundant "== false" code
...
Some of this code has been re-organized.
f
2018-10-06 16:20:41 -04:00
William Tumeo
62218ea41b
Editor: Skip loading main scene if restore_scenes_on_load is used
2018-10-02 15:41:16 -03:00
Rémi Verschelde
c026e3957a
Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor]
...
Fixes the following Clang 7 warnings:
```
editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual]
editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual]
main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual]
servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual]
core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
```
2018-10-02 13:40:17 +02:00
Rémi Verschelde
7aca38e218
Merge pull request #22354 from evandropoa/resources_list_icon_issue
...
Fix icon issue for the resource list popup #22320 .
2018-10-02 09:30:21 +02:00
Rémi Verschelde
879e4d8312
Merge pull request #22364 from YeldhamDev/rect2_inspector_singleline
...
Make Rect2 EditorProperty obey the horizontal setting
2018-10-02 09:27:40 +02:00
Rémi Verschelde
62ecb44035
Fix warning about functions defined but not used [-Wunused-function]
...
Fixes the following GCC 5 warnings:
```
core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function]
core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function]
editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function]
editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function]
modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function]
scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
```
Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword.
Not fixed yet (static definition in header used in some files but not all):
```
modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function]
```
Also fixed a couple other warnings missed in previous commits.
2018-09-29 22:26:12 +02:00
Juan Linietsky
f2ed26d71e
Reflection probe support in GLES2 back-end.
2018-09-28 16:42:47 -03:00
Michael Alexsander Silva Dias
b8f946f118
Make Rect2 EditorProperty obey the horizontal setting
2018-09-23 16:00:48 -03:00
Evandro Bitencourt
4065b8dd28
Fix issue #22320 .
...
When a resource item doesn´t define a icon it should not use the theme default icon, the default theme icon is an error msg.
2018-09-22 18:53:34 -03:00
Rémi Verschelde
76ca46d1f4
Merge pull request #22225 from groud/fix_draw_on_viewport
...
Fixes drawing of the 2D plugins on the 3D view
2018-09-20 21:45:16 +02:00
Rémi Verschelde
8e0dfe5501
EditorNode: New default dock layout
...
As discussed with @reduz, now that the FileSystem dock is getting
files display in tree view (#21426 ), we can change the docks layout
again to give more height to the new inspector.
The new layout is thus:
- Top left: Scene and Import docks
- Bottom left: FileSystem
- Right (full height): Inspector and Node docks
The 2nd left (LEFT_R) and 1st right (RIGHT_L) VSplitContainers (the
ones in use) also get an additional 40px of width compared to their
previous size (which was the minimum size).
Fixes #21480 .
2018-09-20 18:35:38 +02:00
Rémi Verschelde
c884b55ff0
EditorNode: Reorder and cleanup initial dock setup
2018-09-20 18:35:38 +02:00
Rémi Verschelde
69ee33896a
Merge pull request #21426 from groud/add_files_to_tree_view
...
Add files to tree view
2018-09-20 18:32:13 +02:00
groud
5172642c32
Fixes drawing of the 2D plugins on the 3D view
2018-09-18 20:00:07 +02:00
Fabio Alessandrelli
d2b38aabec
Bundle SSL certs with the templates.
...
If this is undesired it can be avoided by specifying builtin_certs=no .
Bundled SSL certs will be used unless you specify an override in:
Project Settings -> SSL -> Certificates .
2018-09-15 10:54:00 +02:00
Rémi Verschelde
d3527834f3
Fix video toggle UX issue
...
It was still functional but showing duplicate entries and thus
"GLES2" for both GLES2 and GLES3 choices.
Fixes #22089 .
2018-09-15 01:49:59 +02:00
willnationsdev
5436abefe4
Refactor editor icon retrieval
2018-09-14 09:27:56 -05:00
groud
d7b638ed32
Replace the -show in filesystem- button by a RMB entry
2018-09-14 10:22:13 +02:00
groud
796418aa11
Merge the disable_split and show_files_in_tree settings
2018-09-14 10:22:07 +02:00
groud
b2633a97b9
Add thumnails to the tree view
2018-09-14 10:14:33 +02:00
Rémi Verschelde
399f667911
Use plain text instead of icons for video driver toggle
...
Fixes #21660 , supersedes and closes #21724 .
2018-09-13 12:15:17 +02:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Hugo Locurcio
ff9d3e569f
Fix project and editor data paths not being opened correctly on macOS
...
This closes #21904 .
2018-09-11 20:32:08 +02:00
Rémi Verschelde
45b609f46a
Replace last occurrences of PropertyEditor by EditorInspector
...
Updates the following plugins:
- ConnectionsDialog
- ScriptEditorDebugger
- ItemListEditorPlugin
Also drop now unnecessary compatibility methods.
2018-09-11 16:09:19 +02:00
Rémi Verschelde
4c37ea59be
Merge pull request #21971 from scayze/window_title_update
...
Update window title when switching scenes
2018-09-11 13:03:11 +02:00
Manuel Strey
909885642a
update window title when switching scenes
2018-09-11 12:28:32 +02:00
Rémi Verschelde
0471386a97
Revert "Fix selection of spatial nodes after selecting a non-spatial one."
2018-09-11 11:30:48 +02:00
Rémi Verschelde
fcabf95934
Merge pull request #21835 from DualMatrix/save_branch
...
Prevent overwriting open scenes when saving
2018-09-10 16:00:25 +02:00
DualMatrix
c43ffc8917
Prevent overwriting open scenes when saving
...
Prevent overwriting open scenes when saving, this fixes #17628
2018-09-07 15:54:26 +02:00
JFonS
b82f037818
Fix selection of spatial nodes after selecting a non-spatial one.
...
Fixes #13849
2018-09-07 10:49:40 +02:00
Rémi Verschelde
e22f0515c9
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 11:49:08 +02:00
Rémi Verschelde
0e6551d8e2
Merge pull request #21274 from YeldhamDev/meshlib_editor_fixes
...
Fix MeshLibrary editor
2018-08-22 01:54:59 +02:00
Michael Alexsander Silva Dias
d0f55ab6e4
Fix MeshLibrary editor
2018-08-21 19:06:52 -03:00
Rémi Verschelde
a3fe19dd10
Merge pull request #21252 from vnen/remove-autoload-init
...
Disable scripting and physics early in EditorNode
2018-08-21 23:42:26 +02:00
George Marques
ed3776c6a4
Disable scripting and physics early in EditorNode
...
This avoids issues with scripts being instanced before this is set, like
autoloads.
2018-08-20 21:55:01 -03:00
Juan Linietsky
c7e4527a88
Massive rewrite to AnimationTree. Many APIs changed in order to:
...
-Reuse resources
-Expose properties in AnimationTree
2018-08-20 13:39:16 -03:00
Rémi Verschelde
2f20836e52
Merge pull request #19837 from willnationsdev/plugin-utilities
...
Add PluginConfigDialog.
2018-08-15 11:42:51 +02:00
Rémi Verschelde
1e49b2d720
Merge pull request #20997 from Gamblify/add_files_to_tree_view
...
Add a way to disable the split view in the FileSystem dock
2018-08-14 22:50:51 +02:00
Juan Linietsky
e6a64b1888
Avoid scripts from being opened in same inspector, closes #20111
2018-08-14 15:44:23 -03:00
Rémi Verschelde
7a2ad1321a
Merge pull request #20621 from YeldhamDev/bottom_panel_min
...
Adjust bottom panel's minimal height for the expand icon
2018-08-14 15:57:19 +02:00
groud
b3f02d0840
Add a way to disable the split view
...
Also add a parameter as the max height before split
2018-08-14 10:17:51 +02:00
Chaosus
94cf2133d5
Add warning color to output log
2018-08-13 21:52:38 +03:00
Hugo Locurcio
c541430315
Fix a typo in a TTR() call
2018-08-08 16:30:23 +02:00
Juan Linietsky
51da08856a
Merge pull request #20737 from Calinou/use-standard-button-texts
...
Use a standard "OK" text for confirmation buttons in error dialogs
2018-08-08 09:46:22 -03:00
Juan Linietsky
254eb46de3
Several improvements to inspector.
...
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3)
-Some clean ups with fonts and styles
2018-08-07 12:22:46 -03:00
Juan Linietsky
edde52c8de
Added proper import support for 3D and Array textures
2018-08-06 14:56:06 -03:00
Hugo Locurcio
1368bcfc53
Use a standard "OK" text for confirmation buttons in error dialogs
...
[ci skip]
2018-08-05 16:49:22 +02:00
AndreaCatania
b7e66188df
Implemented IK
2018-08-04 11:25:07 +02:00
Michael Alexsander Silva Dias
22ffaded01
Adjust bottom panel's minimal height for the expand icon
2018-07-30 19:12:31 -03:00
Juan Linietsky
317dee95de
It is now possible to import images as a separate resource, closes #5738 and likely many others
2018-07-29 16:45:23 -03:00
Juan Linietsky
0fcc28b6f3
Merge pull request #15269 from ianb96/context_menu_improvements
...
Context Menu Improvements
2018-07-29 12:31:20 -03:00
Juan Linietsky
936b5a395a
Do conversion of scene preview icon at the end, improves save performance a bit. Closes #14387
2018-07-27 08:59:43 -03:00
Will Nations
ff604414a4
Add PluginConfigDialog, EditorPluginSettings GUI
2018-07-26 10:12:05 -05:00
Ian
1bb13e95a8
context menu improvements
2018-07-26 08:58:35 -04:00
Rémi Verschelde
eab105310b
Merge pull request #19257 from volzhs/edit-visual-script
...
Open internal visual script editor while use external editor is on
2018-07-26 10:36:01 +02:00
Hein-Pieter van Braam
0e29f7974b
Reduce unnecessary COW on Vector by make writing explicit
...
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Hugo Locurcio
b4f6b20273
Add menu buttons to open the project and editor data folders
2018-07-25 23:41:35 +02:00
volzhs
6bdec4ffb6
Open internal visual script editor while use external editor is on
2018-07-25 11:59:31 +09:00
Max Hilbrunner
b92c432313
Merge pull request #19225 from Paulb23/open_all_files_in_script_editor
...
Open all files in script editor
2018-07-24 21:52:11 +02:00
Wilson E. Alvarez
a22e746bc3
Removed unnecessary assignments
2018-07-24 09:51:03 +02:00
Paulb23
8ff747171f
Allow opening and editing of any utf_8 file in script editor
2018-07-22 11:55:56 +01:00
Juan Linietsky
336db8bcd1
-Fix tooltips in inspector, now they show as rich text.
2018-07-20 18:16:19 -03:00
Michael Alexsander Silva Dias
12b55610ed
Make Update Spinner popup use radio items
2018-07-20 14:32:53 -03:00
Juan Linietsky
c69de2ba46
-Project/Editor settings now use new inspector
...
-Project/Editor settings now show tooltips properly
-Settings thar require restart now will show a restart warning
-Video driver is now visible all the time, can be changed easily
-Added function to request current video driver
2018-07-19 19:02:04 -03:00
Juan Linietsky
43dc050947
Several improvements to editor inspector usability and style
2018-07-18 19:37:41 -03:00
Rémi Verschelde
13239cd4cc
Export: Properly reload preset when opening dialog
...
Fixes #20119 where newly installed templates were not detected.
Also fix a bug with preset deletion where it would attempt to
edit an already removed preset. For this I made it so that
ItemList::deselect_all() also resets `current` to -1, as a manual
ItemList::deselect(idx) already does.
2018-07-18 13:49:34 +02:00
Rémi Verschelde
afb554afdf
Merge pull request #20185 from volzhs/audio-preview
...
Add audio preview to Inspector dock
2018-07-18 10:38:30 +02:00
volzhs
4bb85b70e1
Fix copying ttf, otf by DND to editor
...
regression from d65ac7378c
2018-07-18 01:49:57 +09:00
volzhs
dd2f39da53
Add audio stream preview to Inspector dock
2018-07-17 22:11:35 +09:00
Juan Linietsky
af7d8fb844
Added small icon to expand the bottom panel (and shortcut too)
2018-07-15 22:38:14 -03:00
Juan Linietsky
f6ce73f724
Visual Shaders are back.
2018-07-14 18:16:18 -03:00
Juan Linietsky
7dcaabaf19
Support for CPU based particles, which aids compatibility with OpenGL ES 2.0
2018-07-06 20:21:42 -03:00
Max Hilbrunner
dacd9c51b1
Merge pull request #19849 from willnationsdev/expose-script-create-dialog
...
Expose ScriptCreateDialog to EditorPlugin
2018-07-04 22:37:27 +02:00
willnationsdev
2a6c591957
Expose ScriptCreateDialog to EditorPlugin
2018-07-04 09:41:12 -05:00
Max Hilbrunner
fb838bf1b4
Merge pull request #19192 from marcelofg55/undo_redo_msg
...
Add a message when there is nothing to Undo or Redo
2018-07-03 17:32:16 +02:00
Juan Linietsky
896e250f2b
-Fix in animationplayback, sound would be cut on loop
...
-Fix on scene importer, keeping changes to animation tracks was not working
2018-07-01 17:45:19 -03:00
Rémi Verschelde
5d7f9f804a
Revert "Fix saving unmodified scenes and resources"
...
This reverts commits 28ab60422d
and 7821b70a00
.
Fixes #19576 , and likely the fact that subresources are no
longer saved when saving scenes with no change.
2018-06-29 08:38:49 +02:00
Juan Linietsky
c633b770cb
-Add root motion support in AnimationTree.
...
-Add RootMotionView, to debug root motion in 3D (disabled in runtime)
2018-06-26 19:06:16 -03:00
Thomas Herzog
0f7c35f955
added BlendSpace1D editor plugin
...
This commit also fixes a crash in the BlendSpace2D as well as correct
the drawing of the x-zero indicator in the BlendSpace2D editor plugin.
2018-06-25 21:46:12 +02:00
Thomas Herzog
1ff7aa4c9b
rename BlendSpace to BlendSpace2D
2018-06-25 21:36:10 +02:00
Juan Linietsky
4f5a7ebaec
State machine animation node
2018-06-25 16:22:41 -03:00
Juan Linietsky
b80946ee0d
Fix crashes, ability to add blendpsace into blendtree, ability to delete with delete key
2018-06-21 18:08:11 -03:00
Juan Linietsky
a0719533bd
Animation Blend Spaces
2018-06-21 15:46:11 -03:00
Juan Linietsky
0a1c1c660f
-Added AnimationGraphPlayer (still missing features)
...
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
2018-06-18 22:12:08 -03:00
Guilherme Felipe
3511a7ac7e
Fix path typo for editor def capitalize_properties
2018-06-15 11:51:09 -03:00
Rémi Verschelde
3f09cac267
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
...
KEY_MASK_CMD is automatically replaced by KEY_MASK_CTRL on non-OSX
and KEY_MASK_META (Command key) on OSX, so it should be used for all
Ctrl/Cmd + key shortcuts.
Also de-hacked the macOS shortcut replacements with proper conditional
definition. Not tested on macOS, cannot judge if they are good shortcuts.
Fixes #10761 .
2018-06-11 07:53:28 +02:00
Juan Linietsky
b659fd6d74
Entirely new (and much improved) animation editor.
2018-06-07 12:52:00 -03:00
Rémi Verschelde
59c2c21b15
Move NavigationMeshEditorPlugin to Recast module as should be
...
Modules can register their own editor plugins (like GridMap does),
so no need to put module-specific classes in the `editor/` folder.
Also cleans up the previous SCons env pollution from the Recast
module, integrating its code into libmodules as other modules.
2018-05-30 22:10:11 +02:00
Marcelo Fernandez
e9db8964e3
Add a message when there is nothing to Undo or Redo
2018-05-27 12:53:52 -03:00
Max Hilbrunner
8a9e7ab6a6
Merge pull request #15489 from willnationsdev/gdnative-hook
...
Add EditorPlugin.build() build callbacks
2018-05-26 19:01:45 +02:00
Max Hilbrunner
23b4b7d53a
Merge pull request #18234 from flashyincceo/font-preview
...
Adding font preview to file browsers
2018-05-26 18:31:48 +02:00
Daniel J. Ramirez
9a365a1216
Moved inspector functionality from EditorNode to InspectorDock.
2018-05-17 16:29:26 -05:00
Juan Linietsky
4b5227ff77
-Ability to open resources in the same window
...
-Plenty of fixes and improvements to new inspector
-Fixes that were needed to make inspector work better
2018-05-17 18:03:05 -03:00
Juan Linietsky
005b69cf6e
-New inspector.
...
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
2018-05-15 17:14:31 -03:00
Leon Krause
af7926cf98
Allow exporting runnable presets from command line
2018-05-10 20:17:51 +02:00
Peter Folkins
365d814361
Adding font preview to file browsers
2018-05-09 13:34:30 -05:00
AndreaCatania
9e57a07fb6
Implemented ragdoll
...
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
a
Implemented implicit hierarchy.
Improved
Added some physics properties
Added bone offset to preserve COM, partially fixed scaling
work in progress
WIP
wip
Implemented Joint Gizmos
Implemented pin joint joint
Implemented all joints
2018-05-07 21:03:16 +02:00
Max Hilbrunner
d4cdee5f9e
Merge pull request #15640 from willnationsdev/resource-saved-signal
...
Added EditorPlugin 'resource_saved' signal
2018-05-07 15:07:32 +02:00
Rémi Verschelde
18c28c159d
Merge pull request #17196 from RandomShaper/improve-gui-touch
...
Implement universal translation of touch to mouse (3.1)
2018-05-02 10:47:49 +02:00
Rémi Verschelde
de97339a2d
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
...
Fix Coverity reports of uninitialized scalar variable
2018-05-01 19:14:07 +02:00
Rémi Verschelde
007d1754e3
Revert "Added a more specific error message on export"
...
This reverts commit 00c689d625
.
Reason: "Missing template" is just one possible explanation for
`err` being != OK here, it does not make sense to hardcode it in
the generic error message (and break translations doing so).
2018-05-01 13:07:11 +02:00
Pedro J. Estébanez
de9d40a953
Implement universal translation of touch to mouse
...
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*)
The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers.
Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse.
*: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest.
On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction.
Plus: Improve/fix tracking of current mouse position.
** Summary of changes to settings: **
- `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse`
- New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-30 19:03:38 +02:00
Max Hilbrunner
c408eb7520
Merge pull request #18506 from AlexHolly/export-more-specific-error-message
...
Added a more specific error message on export
2018-04-30 18:14:35 +02:00
Hein-Pieter van Braam
3bd3f41465
Merge pull request #18455 from neikeq/export-pck-zip-debug
...
Make 'Export PCK/ZIP' work well with EditorExportPlugin
2018-04-29 18:29:32 +02:00
Alexander Holland
00c689d625
Added a more specific error message on export
2018-04-29 15:26:33 +02:00
Juan Linietsky
8d199a9b2c
CSG Support for Godot!
...
-Missing Icons
-Missing freezing option (for baking light and faster load)
-Missing a way to export from Godot (GLTF2?)
-Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs)
Happy testing!
2018-04-27 21:55:10 -03:00
Ignacio Etcheverry
68b35de2b6
Make 'Export PCK/ZIP' work well with EditorExportPlugin
...
Add debug flag to the 'Export PCK/ZIP' option
Make 'Export PCK/ZIP' notify when the export process begins. This is necessary to receive the 'EditorExportPlugin::_export_begin' callback
2018-04-26 23:21:05 +02:00
Hugo Locurcio
1c419531a0
Change ".." punctuation for "..." in editor strings ( #16507 )
2018-04-22 19:36:01 +02:00
Rémi Verschelde
bf7ca623a6
Fix Coverity reports of uninitialized scalar variable
...
Fixes most current reports on Coverity Scan of uninitialized scalar
variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html
These happen most of the time (in our code) when instanciating structs
without a constructor (or with an incomplete one), and later returning
the instance. This is sometimes intended though, as some parameters are
only used in some situations and should not be double-initialized for
performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-19 15:20:45 +02:00
ianb96
9ac3c474b8
Drag to rearrange Tabs and TabContainer
2018-04-08 20:23:37 -04:00
Juan Linietsky
6eb0c74e9d
Merge pull request #17443 from Noshyaar/tilesetcrash
...
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-08 09:31:54 -03:00
Pieter-Jan Briers
4954982b95
Explicitly print an error when --export fails.
...
Previously this would not explicitly say the export failed.
Sure you might see another error somewhere,
but that's not very reliable/obvious.
2018-04-04 16:51:35 +02:00
robfram
7821b70a00
Fix bug added in PR#17589. Resources couldn't be saved to files
...
This PR fixes the code to avoid saving default environment every time
the project is run whitin the editor.
Should fix #17727 . Sorry for the troubles!
2018-03-24 19:16:47 +01:00
Poommetee Ketson
ed3b080ca6
Fix converting to tileset crashes Godot if existing file is not tileset
...
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23 21:27:30 +07:00
Rémi Verschelde
fd79de01c2
Merge pull request #17706 from Calinou/overhaul-hidpi-settings
...
Overhaul the display scaling editor settings
2018-03-23 14:12:20 +01:00
Hugo Locurcio
61bf0d10d5
Overhaul the display scaling editor settings
...
This adds more scaling options, in addition to a custom scaling option
which allows any scale between 0.75 and 3.0 to be used.
2018-03-23 14:04:39 +01:00
Rémi Verschelde
f16652d1a2
Merge pull request #17496 from robfram/fix-f3-change-editor-and-find
...
Fix pressing `F3` do both changing to script editor AND find next text
2018-03-23 11:28:48 +01:00
Rémi Verschelde
74382dbfbb
Merge pull request #17576 from Mr-Slurpy/master
...
Allow users to add items to Tool menu
2018-03-23 11:08:03 +01:00
Ivan Vodopiviz
f5147befb6
Prevented external editor from running multiple times
...
Fixes #16923 . I'm not a fan of the special case for scripts in editor_node.cpp, but in any case,
I made it so it wouldn't make the external editor to re-open just because we switched scenes.
2018-03-21 22:23:15 +01:00
robfram
28ab60422d
Fix saving unmodified scenes and resources
...
When `_save_all_scenes` or `save_resource_in_path` was called, they
always saved all the scenes and the resource no matter if they were
modified or not. For example, when `saving before run` option was
checked, it always overwrote the current scene and the default
environment simply by opening and runing the project.
This PR adds checks for unsaved scenes (using the same `unsave` check
others method used) and modified resources (comparing last modified
time and last import time).
Fix #6025 .
2018-03-18 11:58:40 +01:00
Mr-Slurpy
9da18f3974
Added tool menu functions in EditorPlugin
2018-03-17 14:41:50 -04:00
robfram
8939f44f6a
Fix pressing F3
do both changing to script editor AND find next text
...
As `KEY_F3` was used both for changing to script editor window and, in
the script editor, for finding the next result in the last search, and
the key event is **not** consumed, the resulting behaviour was similar
to press `F3` twice, first to change to script editor and second to
find the next result of a previous search.
This PR sets the `key_pressed` status of `InputEvent` to `false` if
this event is responsible of an editor change, simulating the
consumption of the event.
Fix #17334
2018-03-16 20:17:42 +01:00
Rémi Verschelde
535205196f
Merge pull request #17013 from Noshyaar/theme
...
Update icons when theme changed
2018-03-13 13:48:37 +01:00
Rémi Verschelde
401a39f57e
Merge pull request #17116 from poke1024/fix16734
...
Fix round preview getting square on "run scene" (issue 16734)
2018-03-13 13:33:51 +01:00
Rémi Verschelde
ed1fb87429
Merge pull request #17435 from poke1024/output-error-icon
...
Show error icon at "Output" in case of errors
2018-03-13 11:22:28 +01:00
Poommetee Ketson
e12e6cacdb
EditorNode: fix clicking ok keeps trying to save
2018-03-11 21:33:21 +07:00
Bernhard Liebl
5120690013
Show error icon at "Output" in case of errors
2018-03-11 14:20:32 +01:00
poke1024
899f7b125e
Fix round preview getting square on "run scene" (issue 16734)
2018-02-28 20:23:40 +01:00
Poommetee Ketson
2de1dfa42f
Update icons when theme changed
2018-02-25 23:04:16 +07:00
Juan Linietsky
7cd867c3fe
2D Skeletons WORK IN PROGRESS
2018-02-21 17:24:00 -03:00
luz.paz
612ab4bbc6
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Juan Linietsky
9e3a1e5401
Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.
2018-02-21 09:39:09 -03:00
Nathan Warden
4bfb504c2f
Added an auto quit and auto build flag to the command line options.
2018-02-19 16:22:55 -05:00
Rémi Verschelde
d71d78b7e7
Merge pull request #15862 from poke1024/esc-close-dock
...
Make KEY_ESCAPE close all output/debugger docks on bottom
2018-02-14 16:12:38 +01:00
Michael Alexsander Silva Dias
08559a68d2
Small changes to the "Recent Scenes" menu.
2018-02-02 17:18:55 -02:00
Will Nations
80595ba92b
Added EditorPlugin 'resource_saved' signal
2018-01-31 09:06:09 -06:00
Juan Linietsky
1322ca6fb2
Ability to import .escn files, which is just a .tscn but with forced import.
...
This works together with the new Blender to Godot exporter.
2018-01-30 11:04:22 -03:00
Bernhard Liebl
2ae2735a7a
Make KEY_ESCAPE close all output/debugger docks on bottom
2018-01-19 09:04:55 +01:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Juan Linietsky
702e28f265
Properly save the new save safe setting, avoid crash.
2018-01-12 17:18:40 -03:00
Juan Linietsky
e56b3439a5
Attempt renaming multiple times on safe file save, and make the behavior optional. Fixes #14339 .
2018-01-12 17:03:52 -03:00
Will Nations
732a877b21
Add EditorPlugin.build() build callbacks
2018-01-08 13:02:47 -06:00
Blazej Floch
9d3eb3d2b0
Fixes #15416 - "The deleted nodes are hanging in the inspector."
2018-01-08 03:12:41 -05:00
Rémi Verschelde
25e942d64f
Merge pull request #15438 from endragor/export-after-import
...
Perform export after import is fully complete
2018-01-07 14:27:03 +01:00
Juan Linietsky
50b975548d
Removed PBM bitmap loader, added abiliy to importi mages as bitmap. Fixes #14828
2018-01-06 16:38:36 -03:00
Juan Linietsky
061db1ca95
Avoid crashing when dependencies on inherited/instanced scenes cant be satisfied, fixes #15298
2018-01-05 19:02:54 -03:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
d65ac7378c
Fix crash in OS::execute on FreeBSD
...
As spotted by @robfram, closes #15288 .
Also reviewed other uses of `if (String.find(.*))` for potential similar mistakes, found a wrong (and useless) one in ScriptEditorDialog.
2018-01-04 01:20:20 +01:00
Rémi Verschelde
5cbbf87e60
Merge pull request #15226 from volzhs/copy-resource
...
Copy resource with specific extension
2018-01-03 11:56:08 +01:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
volzhs
4d0097e8ae
Copy resource with specific extension
...
Fix #15169
2018-01-01 02:35:46 +09:00
Ruslan Mustakov
ab12a5cf8e
Perform export after import is fully complete
...
Previously command line export would go simultaneously with reimport,
which caused final package to either miss something or contain
outdated assets or perhaps even broken ones.
2017-12-30 16:39:09 +07:00
Michael Alexsander Silva Dias
68a6edfd1b
Fixed right dock dragger not disappearing when there is no docks there.
2017-12-22 17:12:13 -02:00
Rémi Verschelde
03823f12c5
EditorSettings: Move scene tab options to their dedicated category
...
Fixes #14870 .
2017-12-20 19:41:02 +01: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
Rémi Verschelde
8f25a2dc11
Cleanup some #if 0'd code
2017-12-17 15:40:24 +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
Juan Linietsky
93a63a5e1a
GDScript files are converted to binary on export now.
2017-12-14 15:34:47 -03: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
Paulb23
bdde82169d
Fixed close current scene closing the wrong scene, issue 13844
2017-12-10 12:48:03 +00:00
Rémi Verschelde
a845411454
Style: Re-apply clang-format over recent invalid additions
2017-12-10 01:27:02 +01: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
b38378dd6c
Reduce some graphics memory usage by disabling unnecesary modes, closes #12831
2017-12-06 20:49:54 -03:00
Waldson Patrício
c6f28925e2
Add method to set main screen plugin icon
2017-12-06 19:31:25 -03:00
Juan Linietsky
86fcc39fa9
Fix and rewrite folding logic, closes #14005 , closes #13421
2017-12-06 19:07:17 -03: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
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
Waldson Patrício
606401331a
Fix stop button always enabled (issue #13933 )
2017-12-04 16:48:46 -03:00
Dmitry Koteroff
45c5a865c2
Small fixes to #13233
2017-11-28 16:53:40 +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
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
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
Paulb23
76a53aa328
Restore scenes on startup, issue 2385
2017-11-24 23:32:54 +00: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
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
Rémi Verschelde
c846e49a7d
Fix loop of scene tabs updates
...
It was a regression of f8e8b7d1a2
,
thanks to @dragmz for finding it.
2017-11-21 08:46:39 +01:00
Rémi Verschelde
6065b2d177
Merge pull request #11940 from GodotExplorer/debugger
...
Enhanced debugger for godot 3.0
2017-11-20 22:55:49 +01:00
Poommetee Ketson
82ad05a20e
Merge pull request #13097 from ianb96/scene_tab_crash_fix
...
Fixes a crash on linux regarding scene tabs
2017-11-20 22:35:24 +07:00
Ian
9f308a5bf3
fix linux crash in _update_scene_tabs
2017-11-20 10:27:56 -05:00
Rémi Verschelde
4784e9506b
Merge pull request #12555 from kosz78/export-pck
...
Add command line support to export pck or zip
2017-11-20 15:19:06 +01:00
Rémi Verschelde
6d105aba9a
Merge pull request #12983 from ianb96/scene_add_tab
...
Add Scene button and tab scrolling
2017-11-20 09:11:31 +01:00
Rémi Verschelde
6947bed015
Pass engine name and version parts as proper strings
...
Removes the need for _MKSTR all over the place which has the drawback of
converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing
a compilation error.
2017-11-20 00:51:14 +01:00
Rémi Verschelde
ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
...
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Rémi Verschelde
9143df1597
Merge pull request #13059 from dragmz/13009
...
Fix Regression: running current scene (unsaved) will ask for main scene
2017-11-19 23:50:28 +01:00
Marcin Zawiejski
a14bd70995
Fix Regression: running current scene (unsaved) will ask for main scene
2017-11-19 22:59:05 +01:00
Rémi Verschelde
d2bc961388
Merge pull request #13000 from djrm/pr_import_fixes
...
import fixes
2017-11-19 21:59:11 +01:00
Rémi Verschelde
6e3f2f44af
Use new XDG folders to dehardcode paths
2017-11-19 20:54:26 +01:00
Rémi Verschelde
39a4a67776
Merge pull request #13043 from volzhs/post-import
...
Restore post_import function
2017-11-19 20:15:46 +01:00
Rémi Verschelde
3c5ce7cd85
Merge pull request #13031 from YeldhamDev/dock_label
...
Added a label to the Dock Positioner
2017-11-19 18:07:59 +01:00
volzhs
30af5e81db
Restore post_import function
2017-11-19 23:45:16 +09:00
Michael Alexsander Silva Dias
fd52555bbe
Added a label to the Dock Positioner.
2017-11-19 03:24:55 -02:00
Ian
f8e8b7d1a2
add scene button and tab scrolling
2017-11-18 20:31:51 -05:00
Daniel J. Ramirez
59c2e8906a
Improved packed scene previews.
2017-11-17 21:42:14 -06:00
Andreas Haas
3495190497
Editor: Drop files to copy to project.
2017-11-17 21:52:55 +01:00
Rémi Verschelde
ad199c3964
EditorSettings: Rename settings_path to settings_dir
...
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
geequlim
c655fc7cd8
Better supported for remote object editing with the inspector with a simple dictionary editor implement
2017-11-17 09:20:33 +08:00
George Marques
b96ee28acd
Add a print handler for the editor output panel
2017-11-16 21:57:02 -02:00
Chaosus
acc45ccf41
Fix current scene run when scene saved
2017-11-16 21:47:10 +03:00
Juan Linietsky
04edfc090b
Finalized ability to convert from CanvasItem/Spatial/Particles materials to ShaderMaterial, closes #10242
2017-11-14 15:45:30 -03:00
Daniel J. Ramirez
2932cc79ee
Update meshes when reimporting,
...
Save scene preview even when not doing save and play.
2017-11-12 13:41:44 -06:00
Daniel J. Ramirez
592ee82010
Fixed theme update and some widgets.
2017-11-11 11:58:30 -06:00
Daniel J. Ramirez
8cf0d6ceb4
Some fixes and improvements.
...
Changed FileDialogs for EditorFileDialogs in EditorNode.
Updated CheckButton.
2017-11-10 16:45:08 -06:00
Rémi Verschelde
9a4a59ce13
Merge pull request #12796 from djrm/pr_some_virtual_classes
...
Expose some editor singletons as virtual
2017-11-10 10:07:02 +01:00
Rémi Verschelde
346b4b5a1c
Merge pull request #12390 from MillionOstrich/filesystem-folder-drag
...
Improved file/folder drag preview for filesystem dock
2017-11-10 09:57:23 +01:00
Daniel J. Ramirez
31147ea3ed
Expose some editor singletons as virtual
2017-11-09 22:25:10 -06:00
Caleb Richardson
a607e6125e
Fix crash when converting empty scene to TileSet
...
Closes #12708 .
Cherry-picked from #12732 .
2017-11-09 18:39:29 +01:00
MillionOstrich
f6ca9d34a2
Improve file/folder drag preview on filesystem dock
...
Added icons for files/folders in drag preview
Fixed folders getting an empty string label
Don't show "1 more file(s)" label instead of the file
Added "more folders" case if moving folders exclusively
Merged drag_files and drag_files_and_dirs to reduce code duplication
Simplified get_drag_data_fw and removed commented out code
2017-11-03 21:39:53 +00:00
Konstantin Zaitsev
56b25b5fc8
Add command line support to export pck or zip
2017-11-01 14:39:20 +07:00
volzhs
59cc6f2ff5
Fix warning message format for addon plugin
2017-10-24 05:31:26 +09:00
Rémi Verschelde
b7bebb0f92
Merge pull request #12254 from seixasfelipe/fix_recent_scenes_resizing_font
...
Fix recent scenes layout when resizing font
2017-10-21 23:41:33 +02:00
Rémi Verschelde
6361e24f29
Cleanup unnecessary debug prints
2017-10-21 20:41:07 +02:00
Felipe Seixas
651246cbff
Fix drop-down size when resizing font #12207
...
Fixes Scene > Open Recent
Fixes ScriptEditor > File > Open Recent
2017-10-21 11:53:53 -04:00
Rémi Verschelde
7969565de7
Merge pull request #12052 from hi-ogawa/particle-material-conversion-plugin
...
Create ParticlesMaterialConversionPlugin
2017-10-20 23:54:56 +02:00
Rémi Verschelde
84251d7aec
Merge pull request #12195 from groud/fix_snapping
...
Fix snapping with 2D nodes
[ci skip]
2017-10-20 12:42:35 +02:00
Indah Sylvia
cf8537ad37
Adjusted editable_warning for "This resource was imported...." alert:
...
- fixed a typo from it's to its
- added 'then' to make it clearer
2017-10-20 09:47:29 +07:00
Gilles Roudiere
fc02605b49
Fixes snapping and replaces the _draw_canvas by forward_canvas_draw
2017-10-18 00:01:59 +02:00
vonzimr
b7b13d010b
Add an option to clear recent scenes in the 'Open Recent' submenu
2017-10-12 10:59:57 -07:00
Hiroshi Ogawa
d777681882
Create ParticlesMaterialConversionPlugin and format generated shader code
2017-10-12 21:30:19 +09:00
Rémi Verschelde
490722c34f
Merge pull request #11875 from endragor/fix-export-loop
...
Fix command-line export looping infinitely
2017-10-11 22:21:52 +02:00
Rémi Verschelde
2e0c7bb22a
Merge pull request #11718 from poke1024/retina
...
Fixes some retina problems on multi monitor setups
2017-10-09 11:04:46 +02:00
Ruslan Mustakov
0cd9993ed5
Fix command-line export looping infinitely
...
EditorProgress calls Main::iteration which calls MessageQueue::flush
which may result in _fs_changed being called again. This fixes the loop
Godot enters in such case.
Fixes #11189
2017-10-06 12:30:54 +07:00
Juan Linietsky
3d87b70f7a
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
2017-10-05 15:34:34 -03:00
Bernhard Liebl
a7f18798aa
fixes several scaling problems on multi monitor retina/non-retina setups on OS X
2017-10-05 08:12:17 +02:00
Gilles Roudiere
6af38d119e
Merge pull request #11399 from toger5/bottom_panel_debugger
...
Bottom panel debugger
2017-10-01 21:30:43 +02:00
Gilles Roudiere
e6dfce6b52
Merge pull request #11704 from Hinsbart/move_interface_properties
...
EditorSettings: Move interface/ properties to interface/editor
2017-09-30 12:38:59 +02:00
Juan Linietsky
f494470005
Restored ability to import OBJ files as meshes directly. Finally closes #9445 .
2017-09-29 20:38:27 -03:00
Andreas Haas
20eb17a685
EditorSettings: Move interface/ properties to interface/editor
...
Fixes inconsistent behaviour where clicking on the "Interface"
in the Editor Settings wouldn't collapse the category as is the
case for all the other categories.
2017-09-29 18:52:56 +02:00
toger5
e8c620abac
fixed bottom panel debugger exception
...
- make it work in combination with the border for tabs
- fixed updating when changing theme
2017-09-28 16:52:34 +02:00
Gilles Roudiere
6f185cc9f7
Remove unecessary anchors&margins set causing bad display (sons of containers)
2017-09-27 00:38:28 +02:00
Daniel J. Ramirez
b622c92fad
Removed most of the custom colors from the interface.
2017-09-25 21:43:20 -05:00
Rémi Verschelde
f577efd47e
Merge pull request #11424 from groud/control_node_presets
...
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Juan Linietsky
3237e05c36
Ability to convert from SpatialMaterial to ShaderMaterial
2017-09-22 09:20:52 -03:00
Gilles Roudiere
05bb8e0c10
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-22 11:39:44 +02:00
volzhs
cd81ef4d38
Show button name always in main toolbar
2017-09-20 16:03:52 +09:00
Daniel J. Ramirez
4d14097439
Fixed metrics.
2017-09-17 18:58:36 -05:00
Rémi Verschelde
bc005a57d3
Merge pull request #11220 from toger5/bottom_panel_debugger_tabs_fix
...
made tabs visible in debugger fixes : #11212
2017-09-17 23:06:38 +02:00
Rémi Verschelde
c74bab66aa
Merge pull request #11274 from Rubonnek/keep-argument-names-consistent
...
Renamed function arguments to keep them consistent between declaration and implementation
2017-09-17 12:53:48 +02:00
Rémi Verschelde
a29559bc0e
Merge pull request #11075 from ISylvox/fix-main-scene-state
...
Fixes Tab Switching of Main Scene State. Closes #11045
2017-09-17 12:43:01 +02:00
Rémi Verschelde
c24ca2c7a8
Merge pull request #10900 from toger5/theme_tab_border
...
Added border for tabs + container.
2017-09-17 12:41:36 +02:00
toger5
10c400c456
Added border for tabs + container.
...
- moved tabConetent position to be more reasonable.
- fixed drawing order to allow those kind of styles.
2017-09-15 00:50:34 +02:00
Juan Linietsky
d3c1f2a7f6
Re-Added export plugins with a more interesting API, as well as the ability to do path remapping.
...
Also added ability to tell the exporter that a shared object needs to be bundled in the build.
2017-09-14 19:41:14 -03:00
toger5
b37e869c89
fixed double border for debugger tab panel
2017-09-15 00:29:31 +02:00
Wilson E. Alvarez
072e379ffe
Renamed function arguments to keep them consistent between declaration and implementation
2017-09-14 13:49:15 -04:00
Indah Sylvia
3aa7ea3bfc
Fixed typo in editor_node.cpp: 'my' to 'may'
2017-09-14 21:30:16 +07:00
Juan Linietsky
7e3c5043c1
Warn the user that changes to resources will be lost when editing imported or instanced resources from scenes.
2017-09-14 10:39:47 -03:00
Indah Sylvia
9e204658ff
Fixed Tab Switching of Main Scene State. Closes #11045
2017-09-14 12:53:57 +07:00
Rémi Verschelde
27ae3c839d
Merge pull request #7908 from SaracenOne/recast
...
In-editor navmesh generation.
2017-09-13 19:22:29 +02:00
toger5
4ccf3bb2ed
made tabs visible in debugger fixes : #11212
...
- the stylebox is changed so the top part is transparent when the
debugger is selected
2017-09-13 02:37:33 +02:00
Daniel J. Ramirez
15904d66b4
Fixed file system dialog icons
2017-09-12 14:32:04 -05:00
Daniel J. Ramirez
1e8048dd45
Improved theme generation, and other fixes
2017-09-12 13:16:38 -05:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Rémi Verschelde
431de234e4
Merge pull request #10899 from toger5/theme_fixes_from_light
...
Theme fixes from light
2017-09-04 23:14:18 +02:00
Juan Linietsky
334a81844e
Improve guessing of what editor to switch to, fixes #10405
2017-09-04 18:00:52 -03:00
Saracen
92e77d5ff2
Recast integration.
2017-09-04 21:41:57 +01:00
toger5
45d57ccf28
fixed hover line for menu button
2017-09-04 18:06:13 +02:00
Ignacio Etcheverry
52a7be4eef
Fixes language overridden external editors
2017-09-03 21:23:36 +02:00
Wilson E. Alvarez
2a2c4230c6
Removed empty segment
2017-09-02 10:19:43 -04:00
Poommetee Ketson
69ccae3d99
Fix typo 'begining' to 'beginning'
2017-09-01 22:54:57 +07:00
Juan Linietsky
d39e79e7ec
Fix issues regarding reload of resources in imported scenes. Closes #10017
2017-08-31 18:57:44 -03:00
Rémi Verschelde
f00760b22c
Merge pull request #10382 from toger5/dark_icons
...
Light Theme
2017-08-31 11:47:18 +02:00
toger5
7793bfc544
added icon updating to most ui elements
2017-08-30 21:47:09 +02:00
Hein-Pieter van Braam
89fbc5482d
Fix a crash when an early dialog tries to appear
...
This changes the order of creating some of the dialogs that may appear
during project import/startup. It is possible for the 'accept' dialog to
be required before it is initialized.
This moves all of these dialogs to earlier in the constructor so this
can't happen.
2017-08-30 13:59:48 +02:00
Juan Linietsky
6d41ceea99
Merge pull request #10771 from neikeq/pr-improve-build-callbacks
...
Improve build callbacks
2017-08-29 20:12:04 -03:00
Ignacio Etcheverry
c18b7046c6
Improve build callbacks
...
- Build callbacks now return bool to determine if the build was successful. If the build fails, the editor won't run the game.
- Makes sure build callbacks are called after saving the scene ("Save Before Running" option).
2017-08-29 23:59:26 +02:00
Rémi Verschelde
28c85922b1
Merge pull request #10716 from Noshyaar/pr-update
...
Change editor update_mode to boolean (update_always)
2017-08-29 07:47:34 +02:00
Rémi Verschelde
61acc0762c
Merge pull request #10704 from Noshyaar/pr-scene
...
EditorNode: enhance open scene error dialog
2017-08-29 07:47:04 +02:00
Poommetee Ketson
f620e19be7
Change editor update_mode to boolean
...
Fix potential issues when MenuOptions enum or the entry in
project metadata file is altered.
2017-08-29 07:50:41 +07:00
Poommetee Ketson
d25ea73822
EditorNode: fix scene save over others
2017-08-29 07:27:18 +07:00
Poommetee Ketson
6bb290f6a7
EditorNode: enhance open scene error dialog
2017-08-29 07:09:47 +07:00
Juan Linietsky
d23f323cde
-Moved script run to editor, removed from project
...
-fixed to code completion
-fix shader crash bug reported by tagcup
2017-08-27 19:04:19 -03:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Rémi Verschelde
5976e8d7de
Merge pull request #10625 from Rubonnek/fixed-leaks
...
Fixed several memory leaks
2017-08-27 02:10:32 +02:00
Andreas Haas
b2ec9e108d
Save update mode in project metadata.
2017-08-26 20:43:28 +02:00
Rémi Verschelde
565600e844
Cleanup tons of obsolete commented out code
...
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
Juan Linietsky
dd7145b778
-Split EditorPlugin into EditorPlugin and EditorInterface
...
-Added EditorInterface to EditorScript
-Added functions to save the scene to EditorInterface
2017-08-26 10:33:07 -03:00
Andreas Haas
6134d8741d
Editor: Add some more translatable strings.
2017-08-25 18:49:45 +02:00
Wilson E. Alvarez
1577f41653
Fixed several memory leaks
2017-08-25 08:47:05 -04:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Rémi Verschelde
e9c43cecbf
Merge pull request #10433 from djrm/pr_svg_support
...
SVG support
2017-08-21 23:49:07 +02:00
Rémi Verschelde
93f1fb1c2f
Fixes for new two-dash long command line arguments
...
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping
- Cleanup obsolete code here and there
2017-08-21 08:09:22 +02:00
Hugo Locurcio
1d757c43d7
Tweak command-line arguments to make them more UNIX-like
...
Also improves the command-line help text readability.
2017-08-21 08:08:35 +02:00
Daniel J. Ramirez
0c18009665
Added missing icon and svgs upscaling
2017-08-20 13:53:09 -05:00
Daniel J. Ramirez
c873661c30
Added pure vector theme, with dark icons variation
2017-08-20 13:53:09 -05:00
Juan Linietsky
541fdffc0a
Merge pull request #10319 from neikeq/pr-engine-editor-hint
...
Adds Engine::is_editor_hint() method
2017-08-20 12:55:46 -03:00
Juan Linietsky
b9dcebb37c
Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup"
2017-08-19 17:47:27 -03:00
Rémi Verschelde
70b0857f6c
Fixes for new two-dash long command line arguments
...
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Cleanup obsolete code here and there
2017-08-19 16:48:11 +02:00
Hugo Locurcio
27fc96f3c8
Tweak command-line arguments to make them more UNIX-like
...
Also improves the command-line help text readability.
2017-08-19 16:48:11 +02:00
Rémi Verschelde
c57671f0b3
Merge pull request #10435 from endragor/export-quit
...
Quit after command-line export
2017-08-19 10:36:03 +02:00
Ruslan Mustakov
02670a3806
Quit after command-line export
2017-08-19 11:59:00 +07:00
Ignacio Etcheverry
90b8a5b71e
Removes editor_hint from SceneTree
2017-08-19 01:29:45 +02:00
Ignacio Etcheverry
fd69604bd9
Adds editor_hint to Engine class
2017-08-19 01:03:12 +02:00
Juan Linietsky
fc89cf90b2
Inspector re-edits edited object when dock moves, closes #9287
2017-08-18 19:51:17 -03:00
Rémi Verschelde
b1ecaaa22b
Merge pull request #10307 from Rubonnek/update-argument-names
...
Updated function argument names
2017-08-16 17:17:56 +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
kubecz3k
aa24ddc59f
Merge pull request #10337 from endragor/command-line-export
...
Enable command-line export
2017-08-15 22:46:20 +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
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
Wilson E. Alvarez
428f03cf06
Updated function argument names
2017-08-12 15:12:49 -04:00
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07: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
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
Poommetee Ketson
dd6cb0b404
Fix !save_each_scene saving scenes with no filename
...
When save_each_scene is false, only scenes that have been saved at
least once are saved. But EditorNode tries to save scenes with no
filename too (they're never saved), so it crashes.
2017-07-26 18:57:34 +07:00
Poommetee Ketson
24329155eb
EditorNode: fix missing distraction-free tooltip
2017-07-24 13:07:53 +07:00
Juan Linietsky
66009706c9
-Ability to set default import presets for type
...
-More presets for scene importer
-Option in scene importer to export root nodes as separate scenes
-Fixed MeshInstance preview
2017-07-23 18:50:25 -03:00
Poommetee Ketson
a572eb6453
Suppress get_edited_scene_root error
2017-07-23 22:11:34 +07:00
Rémi Verschelde
21497bd501
Merge pull request #9790 from Noshyaar/pr-req
...
EditorNode: request_attn when behind other windows
2017-07-23 13:15:52 +02:00
Poommetee Ketson
7b1e15b88c
EditorNode: request_attn when behind other windows
...
The current version requests attention only when minimized
which might not work as expected when it's not minimized
but doesn't have focus.
2017-07-23 14:36:38 +07:00
Poommetee Ketson
20d36bf226
Move About dialog to editor_about.cpp
2017-07-23 00:14:44 +07:00
Poommetee Ketson
47c4777ccf
Enhanched About dialog, Add ItemList auto_height
...
Add set/has_auto_height for ItemList to automatically set minimum
size by content.
Add hash to About dialog.
Resize About dialog so that dev list appears in 3 columns.
2017-07-21 14:18:40 +07:00
Juan Linietsky
25678b1876
-Renamed GlobalConfig to ProjectSettings, makes more sense.
...
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
Rémi Verschelde
d4c73ea2b3
Merge pull request #9565 from kubecz3k/tool-signals
...
Make more informations available for Tool Plugins about the editor
2017-07-19 09:54:02 +02:00
Rémi Verschelde
ae80d57b31
Merge pull request #9695 from Noshyaar/pr-rcd
...
EditorNode: remove obsolete comments in constructor
2017-07-18 18:13:43 +02:00
Jakub Grzesik
708d825001
Make available more informations about editor for Tool Plugins
2017-07-18 17:48:19 +02:00
Poommetee Ketson
4c4969f639
EditorNode: remove obsolete comments in constructor
2017-07-18 20:04:20 +07:00
Daniel J. Ramirez
17c3422431
Added separators using StyleBoxLine, some theme style fixes, added variant icon
2017-07-18 01:09:19 -05:00
Juan Linietsky
bbada82f80
-Reorganized all properties of project settings (Sorry, Again).
...
(Lot's of bloat accumulated, so it was time for clean up.)
-Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-17 22:18:58 -03:00
Daniel J. Ramirez
a3c2d9a6bd
Improvements and fixes for the default theme.
...
Added customizable border size and window highlight.
2017-07-16 13:23:59 -05:00
Juan Linietsky
5e361ba2ea
Script editor usability fixes
2017-07-15 09:35:29 -03:00
Juan Linietsky
2e73be99d8
Lots of work on Audio & Physics engine:
...
-Added new 3D stream player node
-Added ability for Area to capture sound from streams
-Added small features in physics to be able to properly guess distance to areas for sound
-Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children
-Fixed KinematicBody API to make it the same as 2D.
2017-07-15 08:32:34 -03:00
Daniel J. Ramirez
12db63df14
Added some missing icons, fixed some ui icons
2017-07-12 14:11:56 -05:00
Jakub Grzesik
29c2aabdaf
ability to reposition scene tabs with drag & drop
2017-07-10 10:31:15 +02:00
Poommetee Ketson
7c5a19dcd6
Fix crash on closing [empty](*) scene tab
2017-07-10 02:01:12 +07:00
Poommetee Ketson
ab948dd3d1
About: center valign copyright label
2017-07-08 20:47:27 +07:00
Poommetee Ketson
da2de8932c
About: add thirdparty license info
2017-07-06 14:42:47 +07:00
Poommetee Ketson
272cfdc0c8
About: Add License info
2017-07-04 22:07:43 +07:00
Rémi Verschelde
8a23313177
Merge pull request #9447 from Noshyaar/pr
...
EditorNode: mark opened deleted scenes as unsaved
2017-07-03 23:46:54 +02:00
Rémi Verschelde
2036273f94
Merge pull request #9462 from Noshyaar/pr2
...
SceneTab: MMB or double LMB to create new scene
2017-07-03 23:32:29 +02:00
Poommetee Ketson
21f6cc75a1
Authors/About: support for multiple sections
2017-07-03 09:40:56 +07:00
Poommetee Ketson
003a49eb66
SceneTab: MMB or double LMB to create new scene
2017-07-01 23:23:16 +07:00
Poommetee Ketson
bbcf999e99
EditorNode: request attention when quit while minimized
2017-06-30 08:16:29 +07:00
Poommetee Ketson
a7ff7af8ae
EditorNode: mark opened deleted scenes as unsaved
2017-06-30 00:55:29 +07:00
Juan Linietsky
db3b05d289
Reworked translation system
...
-Label and Button reload translation on the fly
-Resources are loaded and reload depending on locale
2017-06-28 17:01:35 -03:00
Poommetee Ketson
090ddada46
Clean up redundancy in scene save confirmation
2017-06-27 11:08:16 +07:00
Rémi Verschelde
90592ccf03
Fix regression in dc18432015
...
Closes #9407 .
2017-06-27 00:57:18 +02:00
Rémi Verschelde
f28f2b6ce8
Merge pull request #9402 from nunodonato/selectimportagain
...
Update import dock when editing a resource from the inspector
2017-06-27 00:09:24 +02:00
Nuno Donato
dc18432015
Update import dock when editing a resource from the inspector (improved version)
...
closes #8139 . (just in case it wasn't closed well enough the first time :p)
2017-06-26 23:15:22 +01:00
Rémi Verschelde
4e12bf19cc
Merge pull request #9304 from Noshyaar/pr-save
...
EditorNode: add Save/Discard/Cancel dialog
2017-06-26 23:29:39 +02:00
Poommetee Ketson
a9367ce6bc
EditorNode: enhance save/quit dialog
2017-06-27 03:04:47 +07:00
Nuno Donato
41029c71d2
Update import dock when editing a resource from the inspector
2017-06-25 23:12:34 +01:00
Juan Linietsky
760cdbe1a3
-Added folding to property editor, persistent on objects it edits
...
-Some changes to tree to support this properly
2017-06-25 17:31:22 -03:00
Poommetee Ketson
1453d67145
EditorNode: enhance quit dialog
2017-06-25 08:04:34 +07:00
Poommetee Ketson
14fa4190b3
EditorNode: add Save/Discard/Cancel dialog
2017-06-25 08:04:34 +07:00
Poommetee Ketson
e3998528e0
BuildSystem: generated files have .gen.extension
2017-06-25 07:55:01 +07:00
Marc Gilleron
2bb1638b0a
GradientTexture now uses a Gradient
...
- Added gradient property
- Deleted duplicate code
2017-06-24 21:50:44 +02:00
Marc Gilleron
659897cfb8
Added Curve resource
...
- New resource for curves in y(x) form
- CurveTexture now has a Curve
- Curve and CurveTexture share the same editor
2017-06-24 01:01:36 +02:00
Juan Linietsky
54815b9dde
project and scene swapped, sorry could never get used to it :(
...
Also reorganized menus a bit.
2017-06-22 18:04:03 -03:00
Thomas Herzog
6b93455b6b
Merge pull request #9099 from kubecz3k/plugin-camera-expose
...
EditorPlugin can request user inputs from editor 3d view
2017-06-19 22:43:33 +02:00
Kryptocron
4bee1d98fa
Added option to not save a scene when played.
2017-06-17 03:04:50 -07:00
volzhs
d2f72ca923
Fix scene tab color not updated when theme changed
2017-06-17 03:00:57 +09:00
Rémi Verschelde
3e7bbf2ca3
Merge pull request #9196 from volzhs/scene-tab
...
Enhance scene tabs
2017-06-16 08:14:45 +02:00
volzhs
fc2fe7ebd1
Enhance scene tabs
...
- show scene thumbnail on hover
- resize if has many tabs
- show full scene file name with current edited scene
- can be customized EditorSettings > Interface > Scene Tab
- close scene with mouse middle button
2017-06-16 13:21:05 +09:00
Karroffel
23c5fa8687
renamed occurances of ColorRamp with Gradient
...
ColorRamp got renamed to Gradient recently, reduz missed some occurances though.
2017-06-14 01:24:04 +02:00
Juan Linietsky
42b2d52c88
Properly adjust the visible editor rect and make limits respected, closes #8328
2017-06-12 16:19:12 -03:00
Unknown
d8b65b1657
EditorPlugin can request user inputs from editor 3d view
2017-06-12 17:55:15 +02:00
Juan Linietsky
4d50c7ad8c
Restored multiple viewport function, as well as view modes.
2017-06-11 15:52:03 -03:00
Juan Linietsky
612ab8fcdb
-Restored multithread capability to VisualServer
...
-Restored resource previews!
2017-06-09 00:24:18 -03:00
Rémi Verschelde
932694e759
Merge pull request #9092 from Noshyaar/pr-run
...
Fix unsaved scene not running after save
2017-06-08 07:36:24 +02:00
Poommetee Ketson
6b7021ad90
Fix unsaved scene not running after save
2017-06-08 11:38:31 +07:00
Nuno Donato
1ab0a779d8
Run project after selecting main scene. Fixes #9077
2017-06-07 23:31:53 +01:00
Rémi Verschelde
b21e68c8bc
Merge pull request #9007 from noshyaar/pr-about
...
AboutBox: update copyright, add contributors list
2017-06-05 16:49:50 +02:00
alexholly
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
Andreas Haas
9bc5348961
InputEvent: Renamed "pos" property to "position"
...
Make the naming consistent with other classes.
2017-06-03 11:26:39 +02:00
Poommetee Ketson
db439308e6
About: add contributors list
2017-06-01 18:15:15 +07:00
Juan Linietsky
5567e898d1
Several fixes related to PBR and Environment
2017-05-30 08:56:19 -03:00
Juan Linietsky
bb20f230ad
-Added .hdr format support
...
-Added default environment editor setting
-Added environment created by default in new projects
-Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-28 21:48:05 -03:00
Nuno Donato
7661cb5a62
Added an help menu
...
Also renamed the "tutorials" button in the script editor to be consistent with the help menu entry.
Fixed #8921
2017-05-26 16:20:33 +01:00
Rémi Verschelde
ef66f8451c
Merge pull request #8901 from tagcup/path_editor_plugin
...
Revive PathEditorPlugin.
2017-05-26 07:58:13 +02:00
Ferenc Arn
42de893f9a
Applied clang-format.
...
Since PathEditorPlugin was commented out, it didn't get clang-format'ed.
2017-05-25 10:12:05 -05:00
Ferenc Arn
fdf301e78b
Revive PathEditorPlugin.
...
Adapted the plugin to recent changes in input classes and pool arrays.
Fixed an out-of-bounds bug in the process.
Doesn't display anything for a single point (existing issue).
2017-05-24 17:09:53 -05:00
Nuno Donato
78781355ac
Join text menus on the top-left, move shortcut buttons to new location
2017-05-24 22:08:07 +01:00
Juan Linietsky
5b3709d309
Removal of InputEvent as built-in Variant type..
...
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Rémi Verschelde
231511b2a6
Merge pull request #8631 from volzhs/editor-theme-custom
...
New customizable editor theme
2017-05-20 07:16:11 +02:00
Rémi Verschelde
0aede444ef
Merge pull request #8789 from Hinsbart/editor_shortcuts
...
Editor: Make "open 2d/3d/script editor" shortcuts configurable.
2017-05-18 18:59:22 +02:00
Andreas Haas
3be8a94868
Editor: Make "open 2d/3d/script editor" shortcuts configurable.
...
Also adds shortcuts for opening the AssetLib and for switching to the next/prev editor.
2017-05-18 18:36:16 +02:00
Rémi Verschelde
871b6b5517
Merge pull request #8716 from Hinsbart/import-plugins
...
Bring back EditorImportPlugin
2017-05-18 13:08:07 +02:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
Andreas Haas
c04604461d
Bring back EditorImportPlugin
...
This adds a new implementation of the EditorImportPlugin class, allowing to leverage the new importing system via tool scripts.
Will be especially useful when used together with GDNative, to support formats like fbx :)
2017-05-12 12:46:25 +02:00
volzhs
bb81293047
New customizable editor theme
2017-05-09 17:46:54 +09:00
Will Nations
adafaf15aa
Fixing previous merger's "not" vs. "!" mistake in C++ ( #8664 )
...
Also fix typo on the main editor confirmation prompt
2017-05-06 10:31:36 +02:00
Rémi Verschelde
1f9266cbff
Merge pull request #8532 from RameshRavone/patch-4
...
Separate distraction mode for scene & script editor
2017-05-05 22:40:57 +02:00
volzhs
17e8e343fb
Revert "Add new editor and default theme (WIP)"
...
This reverts commit f045efe007
.
2017-05-03 06:19:15 +09:00
Rémi Verschelde
a37364620f
Merge pull request #8569 from volzhs/editor-theme-1
...
Fix to use editor theme instead of handling each UI
2017-05-02 11:28:52 +02:00
Rémi Verschelde
82fa41bce3
Merge pull request #8541 from RandomShaper/opt-out-capitalization
...
Add setting to opt-out of capitalization in property inspectors
2017-05-02 11:25:27 +02:00
volzhs
3223305e5a
Fix to use editor theme instead of handling each UI
2017-04-28 22:42:52 +09:00
volzhs
be454ba2d6
Update editor theme
2017-04-28 11:01:17 +09:00
Pedro J. Estébanez
7b315dc666
Add setting to opt-out of capitalization in the property inspector
2017-04-27 08:46:16 +02:00
Daniel J. Ramirez
f045efe007
Add new editor and default theme (WIP)
2017-04-27 08:04:57 +02:00
Ramesh Ravone
204d3ccf5f
Separate fullscreen state for scene & script editor
2017-04-26 17:43:35 +05:30
Rémi Verschelde
515f92d03b
Fix property warnings and hide some debug prints
...
"ALL IS GOOD" was a lie.
In particular, removes verbose "path not recognized" false positive.
The actual logic is to (somewhat naively) check all ResourceFormatLoaders
and to pick the first good match, so no need to warn about the formats
that do not match the type hint.
2017-04-23 11:17:32 +02:00
Andreas Haas
58edf26500
Merge pull request #8374 from nunodonato/killimport
...
Removed the deprecated Import menu from the main editor.
2017-04-14 17:50:16 +02:00
Karroffel
3bc09da0b1
re-enabled obj import
2017-04-12 22:22:13 +02:00
Nuno Donato
2025672e7b
Removed the deprecated Import menu from the main editor.
2017-04-12 13:32:22 +01:00
Sergey Pusnei
8589ca3903
Rename [gs]et_pos to [gs]et_position for Controls
...
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
2017-04-10 08:27:34 +02:00
Juan Linietsky
fccf2816d4
-Fix eternal black screen on Windows
...
-Disabled warnings on windows, need to properly set up warnings
2017-04-09 17:59:17 -03:00
Andreas Haas
0029440955
Fix warning message when EditorPlugin script is not in tool mode.
2017-04-09 10:33:03 +02:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Juan Linietsky
74808ac4d9
New particle system, mostly working, some small features missing.
2017-04-06 23:49:27 -03:00
supaiku
d51fe99a8b
Fix highlight typo
2017-04-06 17:35:08 +02:00
Andreas Haas
e19ccbdc32
Editor: Swap Scene and Import tabs in dock.
...
Swaps the ordering of those tabs. Now the editor defaults to displaying the scene tab instead of import, which I found a bit confusing.
2017-04-03 17:29:29 +02:00
Rémi Verschelde
debeee56f7
Fix typos in source code using codespell
...
From https://github.com/lucasdemarchi/codespell
2017-03-24 21:45:31 +01:00
Rémi Verschelde
c103f32ea3
Only assume HiDPI mode if DPI >= 192 and width > 2000
...
Also fix detection of single-column dock if width < 1200,
it only worked with hidpi_mode=auto.
2017-03-24 18:04:57 +01:00
Juan Linietsky
b5a06cecff
Export template management dialog.
...
Missing download (need to discuss this!)
2017-03-21 08:42:06 -03:00
Rémi Verschelde
00c4782910
Merge pull request #8051 from RayKoopa/resizable_new_node_dialog
...
Make Create New Node dialog resizable and burninate old dialog
2017-03-18 14:52:34 +01:00
Ray Koopa
c0c4ba4e94
Make Create New Node dialog resizable and burninate old dialog
2017-03-18 11:21:50 +01:00
Andreas Haas
7ec697695f
Editor: Fix "About" dialog
...
Use a HBoxContainer instead of hardcoded positions.
2017-03-18 01:53:45 +01:00
Rémi Verschelde
0f429f8f9e
Merge pull request #7979 from RandomShaper/fix-sub-inheritance
...
Fix node duplication in scene sub-inheritance
2017-03-13 11:00:58 +01:00
Pedro J. Estébanez
383dea5796
Fix node duplication in scene sub-inheritance
2017-03-09 01:19:40 +01:00
Andreas Haas
9080232f17
Editor: Dim UI when a WindowDialog is shown.
...
Darkens the editor on WindowDialog popup.
This adds the following new Editor settings:
- interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming
- interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1)
- interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant.
Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all
windows of the editor :P
2017-03-06 20:14:41 +01:00
Rémi Verschelde
5dbf1809c6
A Whole New World (clang-format edition)
...
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Rémi Verschelde
49c065d29c
Refactoring: rename tools/editor/ to editor/
...
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00