summaryrefslogtreecommitdiff
path: root/editor/editor_inspector.cpp
AgeCommit message (Collapse)Author
2020-02-26Don't show a copy of the property's name in the inspector's tooltip if ↵Michael Alexsander
there's no description
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-21Added StringName as a variant type.Juan Linietsky
Also changed all relevant properties defined manually to StringName.
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
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-01-31Merge pull request #33047 from silvanocerza/settings-searchRémi Verschelde
Improved search in settings dialogs
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-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-11-04Improved search in settings dialogsSilvano Cerza
Settings search used to work only on properties, so if a searchbox text was a substring of a category but not of a property the whole category would be filtered out and no property would be shown. Now the behaviour is changed so that when the searchbox text is a substring of a category all its properties are shown too. The previous behaviour is still present so that in case the searchbox text is both a substring of a category and a property of another category, all properties of the first category are shown and only the property of the second category is shown.
2019-10-22Auto-increment frame_coords when keyingTomasz Chabora
2019-10-10Remove redundant `camelcase_to_underscore()` call in EditorInspectorHugo Locurcio
Calling `String::capitalize()` already calls `String::camelcase_to_underscore()` under the hood.
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin
2019-09-19Improve folding appearance in the editor inspectorHugo Locurcio
The arrow is now displayed at the left to be consistent with other places where folding is used. The arrow icons used are now consistent with the rest of the editor. The `arrow_up` icon is no longer used anywhere, so it was removed. Additional spacing was also added for a better visual appearance.
2019-08-30Editor: remove TOOLS_ENABLED guardsmerumelu
For code inside editor/ `#ifdef TOOLS_ENABLED` is always true so those checks are redundant.
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-07-25Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGERémi Verschelde
This was a regression in 3.1 and later from the new inspector, where PROPERTY_HINT_SPRITE_FRAME was not fully re-implemented. It's meant to be a normal PROPERTY_HINT_RANGE which also automatically increments its value when keyed in the animation player. To avoid code duplication, I made the frames properties use the actual PROPERTY_HINT_RANGE and introduced a PROPERTY_USAGE_KEYING_INCREMENTS usage flag instead.
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-05Add a margin to "checkable" property checkboxes in the editor inspectorHugo Locurcio
This makes "checkable" property checkboxes look more consistent with other checkboxes.
2019-04-25Use approximate equallity methods in many placesAaron Franke
2019-04-23Added inspector plugin documentation.Juan Linietsky
Fixed plugin bindings.
2019-04-23Revert 8d3345a, I thought this was non functioning but it is..Juan Linietsky
2019-04-23Made virtual function begin with _, for consistency.Juan Linietsky
This was not yet used, anyway as no API is bound for this.
2019-04-22Fix drawing of checkable editor propertiesJames Buck
- Make text cutoff respect checkbox icon's width - Get checkbox icon from EditorIcons instead of CheckBox
2019-04-20Fix editor tooltip formattingJames Buck
Removed unnecessary word wrap which caused broken tags and general ugliness. Fixes #24926
2019-04-20Object::script may not be a valid Ref<Script>Hein-Pieter van Braam-Stewart
It appears that Object::script may be a valid ScriptInstance but not be castable to Ref<Script>. There were only 5 places in the code that made this assumption. This commit fixes that.
2019-04-08Add ability to edit editor feature profilesJuan Linietsky
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-03-07Force inspector to clean up on delete, fixes crash.Juan Linietsky
2019-03-06Fix how settings change, closes #26692Juan Linietsky
2019-03-06Fix crash on exit when removing EditorInspectorPluginsWill Nations
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-14-Fixes to undo redo to avoid crash, closes #24251Juan Linietsky
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer -Added missing emit_changed whe modifying keys to Animation -Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references -Changed AnimationEditor to update the current track when keys are edited -Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated) -Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-01-27Fix EditorInspector property_changed argument mismatchRémi Verschelde
Bug introduced in #21701, missed in 541422a4a28c873142af9bfc988468b3e9e05948.
2019-01-25Make sub-inspectors not listen to node removals, since they never edit ↵Juan Linietsky
nodes. Fixes #23554
2019-01-22Make inspector gain focus on refresh only if it has it, fixes #24979, closes ↵Juan Linietsky
#25053
2019-01-18Clean up and fix issues after merging #21701 , closes #21104Juan Linietsky
2019-01-18Merge pull request #21701 from AlexHolly/fix-multiselect-proptery-changeJuan Linietsky
Fix multiselect change property
2019-01-14Removed ancient code for set_edited that was doing nothing.Juan Linietsky
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-08Expose "meta" to the InspectorMichael Alexsander Silva Dias
2018-11-30Fix key icon overlapping revert iconGuilherme Felipe
2018-11-25Rewrite code for unfolding and make it automatic on scene load, which works ↵Juan Linietsky
better.
2018-11-24Fix multiselect change propertyAlexander Holland
2018-11-18Make sure inbetween lines in inspector can't be clicked, fixes #19014Juan Linietsky
2018-11-08 Made AnimationPlayer timeline only advance when keyframing frame variablesDualMatrix
Fixes #23330
2018-11-08-Moved EditorDefaultValue to ClassDB, made it coreJuan Linietsky
-Removed one and zero hints for properties, replaced by default value
2018-11-04Removed unnecessary assignmentsWilson E. Alvarez
2018-10-30Improve import dock usability when selecting multiple files, only change ↵Juan Linietsky
what was modified on re-import.