summaryrefslogtreecommitdiff
path: root/editor/plugins
AgeCommit message (Collapse)Author
2020-03-30SCons: Format buildsystem files with psf/blackRémi Verschelde
Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
2020-03-29Properly handle node remove via undoTomasz Chabora
2020-03-27Renaming of servers for coherency.Juan Linietsky
VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
2020-03-27Rename more 2D and 3D nodes to follow conventionRémi Verschelde
Rename editor plugins to match the new node names.
2020-03-27Renamed 2D and 3D nodes to make their types explicitJuan Linietsky
Fixes #30736.
2020-03-26Multiple changes to DisplayServerX11Mateo Kuruk Miccino
- Travis: Change x11 to linuxbsd - SCons: Change x11 plataform to linuxbsd - Plugins: Remove ; to avoid fallthrough warning - DisplayServerX11: Implement set_icon - DisplayServerX11: Fix X11 bug when a window was erased from windows map, all the changes from that erased windows are sending to the main window - DisplayServerX11: Reorder create_window commands - DisplayServerX11: Change every Size2 to Size2i and Rect2 to Rect2i where it belongs + More X11 fixes which have been integrated directly back into reduz's original commits while rebasing the branch.
2020-03-26Popups have also been converted to windowsJuan Linietsky
Controls using the old modal API have been replaced to use popups.
2020-03-26Open sub-windows as embedded if the OS does not support themJuan Linietsky
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-26Refactored input, goes all via windows now.Juan Linietsky
Also renamed Input to InputFilter because all it does is filter events.
2020-03-26Added a Window node, and made it the scene root.Juan Linietsky
Still a lot of work to do.
2020-03-26Effective DisplayServer separation, rename X11 -> LinuxBSDJuan Linietsky
2020-03-26Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky
2020-03-26Merge pull request #37287 from Chaosus/vs_skyYuri Roubinsky
Added sky shader mode to visual shaders
2020-03-25Added sky shader mode to visual shadersYuri Roubinsky
2020-03-24Fixed IK rotation issueAndrea Catania
2020-03-22Merge pull request #37179 from clayjohn/VULKAN-sky-shaderRémi Verschelde
Implement Sky Shaders
2020-03-21Working sky shader implementationclayjohn
2020-03-21Merge pull request #37161 from simpuid/positon-gizmo-fixRémi Verschelde
Fixes transform gizmo position when node has default transform
2020-03-21Fixes transform gizmo position when node has default transformsimpuid
Changes made: * Added dirty bit for SpatialEditorSelectedItem's last_xform * SpatialEditorViewport checks that dirt bit too before skipping the selection
2020-03-18Editor 2D: Change pixel alignment strategy, fix jittering in high zoomjohan
Alignment of scene pixels on screen pixel ensure a crisp rendering of small features (such as text). Unfortunately, alignment of top left pixel on screen adds a lot of jittering when zooming at high zoom factor. This change allow to snap the top left scene pixel on the closest screen pixel (not only the top-left most), and we do so only when the scale factor is an integer.
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-14Merge pull request #36970 from JFonS/fix_viewports_updateRémi Verschelde
Update all editor viewports after settings changes
2020-03-14Update all editor viewports after settings changesJFonS
2020-03-12Merge pull request #36518 from Janglee123/no-underlined-keywordsRémi Verschelde
Removed underlining of not clickable symbols
2020-03-11Removed underlining for not clickable symbolsjanglee
2020-03-10Fix rotation gizmo for empty SpatialsJFonS
The AABB for an empty Spatial has 0 size, since the stored and compared Transform was scaled by the AABB size, it would completely destroy the rotation information. If there is no rotation information, the gizmo doesn't update when the rotation changes.
2020-03-10Merge pull request #36887 from MCrafterzz/relativeSnapRémi Verschelde
Made snap relative work on rotation as well
2020-03-10Fix "deploy with remote debug" editor option.Fabio Alessandrelli
The line to update the option was missing (rendering it useless). Of course the only one I didn't know how to test was broken.
2020-03-09Merge pull request #36751 from Faless/debugger/threads_and_profilersRémi Verschelde
ScriptDebugger refactor, threading, profilers.
2020-03-09Made snap relative work on rotation as wellMarcus Elg
2020-03-09Merge pull request #36917 from volzhs/cancel-snap-settingRémi Verschelde
Update snap setting only with OK
2020-03-09Merge pull request #36914 from guilhermefelipecgs/fix_check_view_informationRémi Verschelde
Fix the VIEW_INFORMATION checkbox not being selected (visually)
2020-03-09Merge pull request #36920 from Faless/debugger/more_instancesRémi Verschelde
Move Debug menu logic to DebuggerEditorPlugin, allow 4 debug instances
2020-03-09Allow running/debugging up to 4 instances.Fabio Alessandrelli
2020-03-08Add rotation widget to 3D viewportjfons
2020-03-08Move Debug menu logic to DebuggerEditorPluginFabio Alessandrelli
2020-03-09Update snap setting only with OKvolzhs
restore previous values with cancel
2020-03-08Fix the VIEW_INFORMATION checkbox not being selectedGuilherme Felipe
Generated id of "Display Advanced..." was in conflict with "View Information"
2020-03-08Threaded networking for editor debugger.Fabio Alessandrelli
2020-03-05Signals: Don't pass default binds to EditorProperty property_changedRémi Verschelde
This was done by mistake in #36758, but it's not necessary and actual causes a bug. `property_changed` is only emitted via `emit_changed()`, which already has default values for `p_field` and `p_changing`. Also reverted to using `String` for now to be on the safe side, even if it's inconsistent with `emit_changed()`. I had only changed it partially in #36758 so it was inconsistent. It probably does make sense to port `EditorInspector` and related property editors to use `StringName` where relevant, but that's for a dedicated PR. Fixes #36799.
2020-03-04Merge pull request #36739 from Calinou/improve-giprobe-editor-labelRémi Verschelde
Improve the GIProbe editor contextual label
2020-03-03Signals: Fix some regressions from #36426Rémi Verschelde
- Fix `callable_mp` bindings to methods which used to have default arguments passed to `bind_method`. We now have to re-specify them manually when connecting. - Re-add `GroupsEditor::update_tree` binding. - Misc code quality changes along the way.
2020-03-02Improve the GIProbe editor contextual labelHugo Locurcio
- Change the label color depending on the estimated performance (green = fast, yellow = average, red = slow). - Use the Unicode multiplication symbol. - Make the label translatable.
2020-03-01Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-02-29Merge pull request #36406 from nathanwfranke/revert-fix-signal-errorsRémi Verschelde
Partial revert "Fix two signal errors"
2020-02-28Signals: Fix signals error prints for the new signal systemMateo Dev .59
2020-02-28Signals: Manually port most of remaining connect_compat usesRémi Verschelde
It's tedious work... Some can't be ported as they depend on private or protected methods of different classes, which is not supported by callable_mp (even if it's a class inherited by the current one).
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)