summaryrefslogtreecommitdiff
path: root/editor/plugins
AgeCommit message (Collapse)Author
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.)
2020-02-28Merge pull request #36388 from AndreaCatania/some_renamesRémi Verschelde
Rename Navigation{Mesh,Polygon}Instance and PlaneShape for clarity
2020-02-28Renamed NavigationPolygonInstance to NavigationRegion2DAndrea Catania
2020-02-27Merge pull request #36232 from Calinou/add-soft-line-length-guidelineRémi Verschelde
Add a soft line length guideline to the script editor
2020-02-27Merge pull request #36490 from Calinou/assetlib-error-version-compatibilityRémi Verschelde
Mention version compatibility when there are no results in the assetlib
2020-02-27Merge pull request #36333 from Calinou/decrease-script-editor-split-widthRémi Verschelde
Decrease the script editor's default split width to 70
2020-02-27Renamed NavigationMeshInstance to NavigationRegionAndrea Catania
2020-02-27Merge pull request #36545 from nathanwfranke/syntax-highlight-int-typesRémi Verschelde
Fix autocomplete and highlighting for new integer types
2020-02-27Place paste after copy in new popup menu in visual shaderYuri Roubinsky
+ renamed _on_nodes_delete to _delete_nodes
2020-02-27Added popup menu for some actions in visual shadersYuri Roubinsky
2020-02-26Fix autocomplete and GDScript Highlighting for typesnathanwfranke
Types include new integer types and others
2020-02-26Fix a typo in the "Create Single Convex Collision Sibling" optionHugo Locurcio
2020-02-26Fix resizer icon color in VisualScripts/Shaders when graph headers is onYuri Roubinsky
2020-02-26Changed float type to int for INDEX visual shader inputYuri Roubinsky
2020-02-26Add support for integer type in visual shadersYuri Roubinsky
2020-02-25Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky
- Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
2020-02-25Rename `scancode` to `keycode`.bruvzg
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2020-02-23Signals: Fix invalid connections to missing callbacksRémi Verschelde
These bugs existed since those lines were added, so I assume that their intended use is no longer relevant.
2020-02-23Mention version compatibility when there are no results in the assetlibHugo Locurcio
This closes #36469.
2020-02-23Partial revert "Fix two signal errors"nathanwfranke
This partially reverts commit a31bc1b0ba608ef340068676f6709621a37f2140. Possible compatibility issues with #35864 that I am not sure about. Do I need to change "connect" to "connect_compat"?
2020-02-23Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde
This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
2020-02-21Merge pull request #36421 from Chaosus/vs_sort_custom_nodsYuri Roubinsky
Refactor node processing in visual shader member dialog