summaryrefslogtreecommitdiff
path: root/editor/plugins
AgeCommit message (Collapse)Author
2020-06-26Make tilemap lines/rectangles their own toolsMarcus Elg
2020-06-20Merge pull request #39687 from Calinou/2d-editor-shift-horizontal-scrollRémi Verschelde
Scroll horizontally when holding Shift with Scroll to Pan enabled
2020-06-19Remove ToolButton in favor of ButtonHugo Locurcio
ToolButton has no redeeming differences with Button; it's just a Button with the Flat property enabled by default. Removing it avoids some confusion when creating GUIs. Existing ToolButtons will be converted to Buttons, but the Flat property won't be enabled automatically. This closes https://github.com/godotengine/godot-proposals/issues/1081.
2020-06-19Scroll horizontally when holding Shift with Scroll to Pan enabledHugo Locurcio
This closes https://github.com/godotengine/godot-proposals/issues/1077.
2020-06-19Added Texture2DArray support to visual shadersYuri Roubinsky
2020-06-19Autofilled path gets set properly on animation subresourcesSl3dge78
2020-06-18Merge pull request #39638 from mrushyendra/editor_previewRémi Verschelde
Fix editor texture preview for certain specific dimensions
2020-06-18Fix editor texture preview for certain specific dimensionsMaganty Rushyendra
Ensures no error is issued when attempting to preview a resource that may be scaled down to <1 pixel when resizing to fit the thumbnail.
2020-06-18Merge pull request #39626 from bojidar-bg/x-tileset-editor-crashRémi Verschelde
Fix a random crash in the TileSet editor
2020-06-17Fix a random crash in the TileSet editorBojidar Marinov
Occurred when selecting polygon collision mode, then drawing a single point, then selecting rectangle mode, and finally trying to select a rectangle.
2020-06-17Restore previous mouse position when leaving the editor freelook modeHugo Locurcio
- Remove the crosshair as it no longer serves a purpose (the cursor will now appear where the user "expects" it to). This closes https://github.com/godotengine/godot-proposals/issues/1076.
2020-06-16Merge pull request #39517 from Calinou/editor-display-freelook-speed-zoomRémi Verschelde
Display freelook speed and zoom in units in the 3D editor viewport
2020-06-16Display freelook speed and zoom in units in the 3D editor viewportHugo Locurcio
Now that the 3D editor grid is infinite and adjusts its step automatically, this helps people get a better sense of scale when moving around in the 3D viewport. This also fixes the indicator bar drawing on hiDPI displays.
2020-06-16Merge pull request #39126 from TwistedTwigleg/GSOC_2020_Working_BranchRémi Verschelde
Skeleton and Skeleton inspector low-level changes
2020-06-15Made low level changes to the Skeleton3D class and Skeleton3D inspector. ↵TwistedTwigleg
Changes listed below: * Added helper functions to Skeleton3D for converting transforms from bone space to global space, and vice versa. * Updated the Skeleton3D class reference. * Changed the icon used for bones in the Skeleton3D inspector to use BoneAttachement3D's icon. * Changed the Skeleton3D inspector to use EditorPropertyTransform and EditorPropertyVector3 when possible. * Placed the Transform/Matrix for each bone in a sub-section, so it is visually similar to the Node3D inspector.
2020-06-14Unhide Skeleton3D menu buttonSawrr
2020-06-09Fix crash when creating new text file with no namePhischermen
2020-06-09Merge pull request #39372 from aaronfranke/editor-cam-rotRémi Verschelde
Change the default editor camera rotation to position it in +X +Y +Z
2020-06-08Merge pull request #39365 from Calinou/editor-gizmos-visibility-tooltipRémi Verschelde
Add an editor tooltip to document gizmo visibility options
2020-06-07Re-apply basis of newly added node (via drag-n-drop) in editor viewportMarcus Brummer
2020-06-07Change the default editor camera rotation to position it in +X +Y +ZAaron Franke
2020-06-07Add an editor tooltip to document gizmo visibility optionsHugo Locurcio
See discussion in https://github.com/godotengine/godot-proposals/issues/716.
2020-06-042D Editor: modified zoom increment to the twelveth root of twojohan
- properly visit power of 2 factors (50%, 100%, 200%...) - index based zoom values to prevent floating point issues - Fix 2d editor not able to reach min and max zoom values
2020-06-04Merge pull request #39154 from dreamsComeTrue/sync-script-change-rememberRémi Verschelde
Preserving "Sync Scene Changes" & "Sync Script Changes" with Project Settings
2020-06-03Merge pull request #39167 from Calinou/tileset-editor-zoom-mouse-wheel-anywhereRémi Verschelde
Allow mouse zooming without hovering the texture in the TileSet editor
2020-06-03Merge pull request #39165 from Calinou/tilemap-editor-zoom-mouse-wheelRémi Verschelde
Implement zooming using Ctrl + Mouse wheel in the TileMap editor
2020-06-03Merge pull request #39262 from aaronfranke/okRémi Verschelde
Change OK text in snap dialog to OK
2020-06-03Merge pull request #39009 from Calinou/improve-script-editor-warnings-textRémi Verschelde
Improve the text appearance in the script editor warnings panel
2020-06-03Implement zooming using Ctrl + Mouse wheel in the TileMap editorHugo Locurcio
This was previously implemented in the GridMap editor. This makes the same feature available in the TileMap editor.
2020-06-03Allow mouse zooming without hovering the texture in the TileSet editorHugo Locurcio
This partially addresses https://github.com/godotengine/godot-proposals/issues/968.
2020-06-03Change OK text in snap dialog to OKAaron Franke
2020-06-03Preserving "Sync Scene Changes' and "Sync Script Changes" with Project SettingsDominik 'dreamsComeTrue' Jasiński
Fixes: #38739
2020-06-01Move `RayShape2D` implementation into its own translation unitAndrii Doroshenko (Xrayez)
2020-05-29Merge pull request #39051 from Xrayez/geometry-splitRémi Verschelde
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
2020-05-27Split `Geometry` singleton into `Geometry2D` and `Geometry3D`Andrii Doroshenko (Xrayez)
Extra `_2d` suffixes are removed from 2D methods accoringly.
2020-05-27Merge pull request #39062 from akien-mga/du-pain-et-des-jeuxRémi Verschelde
Add shortcut for Pan Mode (G)
2020-05-27Merge pull request #36409 from fire/skeleton-custom-inspectorRémi Verschelde
Custom Skeleton3DEditorPlugin
2020-05-26Add shortcut for Pan Mode (G)Rémi Verschelde
And change TileMap Bucket Fill shortcut to (B). Fixes #8582.
2020-05-24Improve the text appearance in the script editor warnings panelHugo Locurcio
- Make the Ignore button's position identical across all warnings by moving it to the left. - Change the Ignore button's text and color to make it more obvious that it can be clicked. - Use the editor font instead of the default project font to match the rest of the editor.
2020-05-22Dynamic infinite 3D gridAaron Franke
Well, infinite for all intents and purposes.
2020-05-22Custom Skeleton3DEditorPluginK. S. Ernest (iFire) Lee
Co-authored-by: Marios Staikopoulos <marios@staik.net>
2020-05-21Fix moving 2D node with mouse after using arrow keysDominik 'dreamsComeTrue' Jasiński
Fixes: #38894
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: Enforce separation line between function definitionsRémi Verschelde
I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-05-14Style: Fix missing/invalid copyright headersRémi Verschelde
2020-05-14Enforce use of bool literals instead of integersRémi Verschelde
Using clang-tidy's `modernize-use-bool-literals`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
2020-05-14Port member initialization from constructor to declaration (C++11)Rémi Verschelde
Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
2020-05-12Support multiple debug protocols.Fabio Alessandrelli
2020-05-11thirdparty: Cleanup after #38386, document provenance and copyrightRémi Verschelde
Also renamed `delaunay.h` to `delaunay_2d.h` to match the class name.