summaryrefslogtreecommitdiff
path: root/editor/editor_inspector.cpp
AgeCommit message (Collapse)Author
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.
2018-10-29Automatically unfold sections of properties that someone else edited (no ↵Juan Linietsky
local info exists).
2018-10-29Ability to revert any property, not just from inherited scenes or scripts.Juan Linietsky
2018-10-24Make editor tooltips wider and scale them on hiDPI displaysHugo Locurcio
This also changes the TTR() call to avoid creating a duplicate ("Property:" is already used in other places).
2018-10-05Fix inspector color when theme changedChaosus
2018-10-01Fixed animation editor not moving to next frame of sprites when editing.DualMatrix
Fixed animation editor not moving to next frame of sprites when editing.
2018-09-30Merge pull request #22536 from DualMatrix/no_advanceRémi Verschelde
Fixed animation_player not advancing to the next frame when inserting a value.
2018-09-30Merge pull request #22570 from lupoDharkael/todo-removeRémi Verschelde
Remove old TODO from editor_inspector.cpp
2018-09-30Remove old TODO from editor_inspector.cpplupoDharkael
2018-09-29Fixed animation_player not advancing to the next frame when inserting a value.DualMatrix
Fixed animation_player not advancing to the next frame when inserting a value.
2018-09-28-Lightmap and lightmap capture support for GLES2Juan Linietsky
-Added hint to not show some properties when running on low end gfx
2018-09-27Fix warnings about unused variables [-Wunused-variable]Rémi Verschelde
Fixes the following GCC 5 warnings: ``` drivers/gles2/rasterizer_scene_gles2.cpp:1139:15: warning: unused variable 'offset' [-Wunused-variable] drivers/gles2/rasterizer_scene_gles2.cpp:1205:39: warning: unused variable 'multi_mesh' [-Wunused-variable] drivers/gles2/rasterizer_storage_gles2.cpp:359:7: warning: unused variable 'srgb' [-Wunused-variable] drivers/gles2/shader_gles2.cpp:1016:45: warning: unused variable 'texture_hints' [-Wunused-variable] editor/animation_track_editor.cpp:776:9: warning: unused variable 'keys_to' [-Wunused-variable] editor/editor_inspector.cpp:273:7: warning: unused variable 'vs_height' [-Wunused-variable] editor/editor_themes.cpp:202:10: warning: unused variable 'begin_time' [-Wunused-variable] editor/editor_themes.cpp:239:10: warning: unused variable 'end_time' [-Wunused-variable] editor/plugins/animation_blend_tree_editor_plugin.cpp:726:17: warning: unused variable 'an' [-Wunused-variable] editor/plugins/script_text_editor.cpp:1278:8: warning: unused variable 'fold_state' [-Wunused-variable] main/main.cpp:132:13: warning: 'use_vsync' defined but not used [-Wunused-variable] modules/cvtt/image_compress_cvtt.cpp:231:8: warning: unused variable 'y_end' [-Wunused-variable] modules/cvtt/image_compress_cvtt.cpp:311:6: warning: unused variable 'shift' [-Wunused-variable] modules/gdscript/gdscript_editor.cpp:58:7: warning: unused variable 'th' [-Wunused-variable] modules/gridmap/grid_map.cpp:1084:6: warning: unused variable 'ofs' [-Wunused-variable] modules/theora/video_stream_theora.cpp:442:9: warning: unused variable 'tr' [-Wunused-variable] modules/visual_script/visual_script_editor.cpp:2606:6: warning: unused variable 'count' [-Wunused-variable] modules/visual_script/visual_script_editor.cpp:2829:6: warning: unused variable 'seq_count' [-Wunused-variable] modules/visual_script/visual_script_editor.cpp:2844:24: warning: unused variable 'vnode_function' [-Wunused-variable] modules/websocket/lws_peer.cpp:122:12: warning: unused variable 'peer_data' [-Wunused-variable] modules/websocket/lws_peer.cpp:135:12: warning: unused variable 'peer_data' [-Wunused-variable] modules/websocket/lws_peer.cpp:63:12: warning: unused variable 'peer_data' [-Wunused-variable] modules/websocket/lws_peer.cpp:91:12: warning: unused variable 'peer_data' [-Wunused-variable] platform/android/export/export.cpp:763:16: warning: unused variable 'node_size' [-Wunused-variable] scene/gui/rich_text_label.cpp:850:10: warning: unused variable 'x_ofs' [-Wunused-variable] scene/gui/text_edit.cpp:653:8: warning: unused variable 'tab_w' [-Wunused-variable] scene/resources/bit_mask.cpp:186:6: warning: unused variable 'i' [-Wunused-variable] scene/resources/mesh.cpp:549:20: warning: '_array_name' defined but not used [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:107:10: warning: unused variable 'v2' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:108:10: warning: unused variable 'v3' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:109:10: warning: unused variable 'v4' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:110:10: warning: unused variable 'v5' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:111:10: warning: unused variable 'v0n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:112:10: warning: unused variable 'v1n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:113:10: warning: unused variable 'v2n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:114:10: warning: unused variable 'v3n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:115:10: warning: unused variable 'v4n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:116:10: warning: unused variable 'v5n' [-Wunused-variable] servers/visual/default_mouse_cursor.xpm:2:21: warning: 'default_mouse_cursor_xpm' defined but not used [-Wunused-variable] ```
2018-09-14Refactor editor icon retrievalwillnationsdev
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-11Drop obsolete PropertyEditor and SectionedPropertyEditor codeRémi Verschelde
Replaced by EditorInspector.
2018-09-11Replace last occurrences of PropertyEditor by EditorInspectorRémi Verschelde
Updates the following plugins: - ConnectionsDialog - ScriptEditorDebugger - ItemListEditorPlugin Also drop now unnecessary compatibility methods.
2018-08-20[EditorInspector] Fix ImportDock and ProjectExport capitalizeGuilherme Felipe