summaryrefslogtreecommitdiff
path: root/editor/inspector_dock.cpp
AgeCommit message (Collapse)Author
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-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-04-02Replace NULL with nullptrlupoDharkael
2020-03-27Renamed 2D and 3D nodes to make their types explicitJuan Linietsky
Fixes #30736.
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-02-29Implement undo-redo feature for Parameter Paste in the Inspectorsimpuid
EditorData::undo_redo.add_do_property and EditorData::undo_redo.add_undo_property is used in EditorData::paste_object_params to implement this feature. It's action name is set to "Paste Params" Changes made * Removed the call for clearing the history on paste params case. * Instead of directly setting the properties value, EditorData::undo_redo is used.
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-23Signals: Make callbacks non-const, callable_mp can't handle itRémi Verschelde
2020-02-21Created the callable_mp macro, for signals to call method pointers directly.Juan Linietsky
2020-02-21Huge Debugger/EditorDebugger refactor.Fabio Alessandrelli
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-12ObjectID converted to a structure, fixes many bugs where used incorrectly as ↵Juan Linietsky
32 bits.
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-09Tweak the "Changes may be lost!" text color to match the icon's colorHugo Locurcio
2020-01-29Clip warning text in the remote dockMichael Alexsander
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-09-24Merge pull request #31978 from YeldhamDev/inspector_dock_small_improvementsRémi Verschelde
Small improvements to the inspector dock
2019-09-04Small improvements to the inspector dockMichael Alexsander Silva Dias
2019-09-04Fixes Subresource Showing While UnselectedEmmanuel Barroga
The inspector would still display the subresource of the last selected node. This PR resolves that issue.
2019-09-03Fixes Inspector Showing Unselected InfoEmmanuel Barroga
When deselecting a node, the inspector would show the name of the last thing selected.
2019-07-22Revert "Expose "meta" to the Inspector"Rémi Verschelde
2019-07-19Merge pull request #22642 from YeldhamDev/inspector_metadataRémi Verschelde
Expose "meta" to the Inspector
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
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-04-08Small fixes, mostly dupicated codeqarmin
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-13Re-add missing save resource button in the inspectorMarc Gilleron
2018-12-08Expose "meta" to the InspectorMichael Alexsander Silva Dias
2018-11-25Rewrite code for unfolding and make it automatic on scene load, which works ↵Juan Linietsky
better.
2018-10-29Automatically unfold sections of properties that someone else edited (no ↵Juan Linietsky
local info exists).
2018-10-05Fix inspector color when theme changedChaosus
2018-10-01Fixed name of deleted node not dissapearing from inspector dock.DualMatrix
Fixed name of deleted node not dissapearing from inspector dock.
2018-09-20Merge pull request #22131 from DualMatrix/unique_resRémi Verschelde
Make inspector select the correct resource after making them unique
2018-09-15Remove unnecessary "OK"s text settingsMichael Alexsander Silva Dias
2018-09-16Make inspector select the correct resource after making them uniqueDualMatrix
Make inspector select the correct resource after making them unique
2018-09-14Refactor editor icon retrievalwillnationsdev
2018-09-12Add expand/collapse all buttons for the "Errors" tabMichael Alexsander Silva Dias
2018-09-05Make expand/collapse all properties menu workingvolzhs
2018-08-20Massive rewrite to AnimationTree. Many APIs changed in order to:Juan Linietsky
-Reuse resources -Expose properties in AnimationTree
2018-08-11Do not use theme to set LineEdit right_iconŁukasz Rutkowski
2018-08-11Add clear text button to LineEditŁukasz Rutkowski
- Add pressed state to clear button - Enable clear button on all inputs with search icon - Remove duplicate clear buttons - Fix rendering of icon for center and right alignments - Add clear button to more search fields - Add clear icon to default theme - Add method to control enabled state of clear button - Add property to enable clear button from inspector
2018-08-05Use a standard "OK" text for confirmation buttons in error dialogsHugo Locurcio
[ci skip]
2018-07-22Allow opening and editing of any utf_8 file in script editorPaulb23
2018-06-15Fix path typo for editor def capitalize_propertiesGuilherme Felipe
2018-06-07Entirely new (and much improved) animation editor.Juan Linietsky
2018-05-17Small visual changes for some filter bars.Michael Alexsander Silva Dias
2018-05-17Moved inspector functionality from EditorNode to InspectorDock.Daniel J. Ramirez