Commit Graph

67 Commits

Author SHA1 Message Date
Rémi Verschelde 91e5782795
Merge pull request #23311 from YeldhamDev/editor_capitalization_fix
Small capitalization fixes across the editor
2018-11-01 21:37:33 +01:00
Juan Linietsky 74d895425d
Merge pull request #23313 from DavidSichma/viewport-reassign
Handling NodePaths in in-place Editor for Resources
2018-11-01 13:59:59 -03:00
David Sichma 4e9c411229 Handling NodePaths in in-place Editor for Resources 2018-10-26 22:16:38 +02:00
Michael Alexsander Silva Dias f3835282c4 Small capitalization fixes across the editor 2018-10-26 16:11:36 -03:00
Rémi Verschelde 0b2d1364c5
Merge pull request #23038 from DualMatrix/ugly_names
Made NodePath property display path instead of object name if object is not named.
2018-10-25 17:27:05 +02:00
Rémi Verschelde 5d4a073e98
Merge pull request #22885 from neikeq/issue-22122
Hide numeric value for constants in EditorPropertyEnum
2018-10-16 15:01:03 +02:00
Ignacio Etcheverry 57f46f7fcd Fix enum values in the editor and hide enum numeric values in the Inspector
- Hide numeric value of enum constants in the inspector (EditorPropertyEnum)
- EditorPropertyEnum, CustomPropertyEditor: Calculate values of enum constants correctly when only some of these constants have explicit values.
2018-10-15 23:48:54 +02:00
DualMatrix be52063aaa Made NodePath property display path instead of object name if object is autogenerated.
This is to prevent those ugly and unclear names with the @'s to appear in things like standalone animationplayer nodes.
2018-10-15 23:42:00 +02:00
Rémi Verschelde 451e5fd051
Merge pull request #22915 from fire/visuals-shader-colour-constant-22906
Fix for Visual Shader Editor #22906: Cannot change color on Color Con…
2018-10-11 17:59:35 +02:00
groud f236507689 Fixes resources name not showing in the inspector 2018-10-11 11:23:48 +02:00
K. S. Ernest (iFire) Lee 6097a5af14 Fix for Visual Shader Editor #22906: Cannot change color on Color Constant
Revert line from 5f2f108908
2018-10-10 13:20:57 -07:00
Guilherme Felipe a9ec69663f Fix inspector preview
Remove script preview to inspector dock
2018-10-07 10:41:56 -03:00
Rémi Verschelde 879e4d8312
Merge pull request #22364 from YeldhamDev/rect2_inspector_singleline
Make Rect2 EditorProperty obey the horizontal setting
2018-10-02 09:27:40 +02:00
Rémi Verschelde 9258d7b5d0 Fix warnings about uninitialized vars [-Wsometimes-uninitialized]
Fixes the following Clang 7 warnings:
```
drivers/gles3/rasterizer_scene_gles3.cpp:1260:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:1280:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:1281:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:1282:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:1286:5: warning: variable 'target' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
editor/editor_properties_array_dict.cpp:982:15: warning: variable 'change_index' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
editor/editor_properties.cpp:2655:6: warning: variable 'lt' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
editor/settings_config_dialog.cpp:367:11: warning: variable 'current_search_box' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
```
2018-10-01 17:33:08 +02:00
Rémi Verschelde c459fad43c
Merge pull request #22536 from DualMatrix/no_advance
Fixed animation_player not advancing to the next frame when inserting a value.
2018-09-30 22:16:26 +02:00
DualMatrix 5f2f108908 Fixed animation_player not advancing to the next frame when inserting a value.
Fixed animation_player not advancing to the next frame when inserting a value.
2018-09-29 16:44:20 +02:00
Rémi Verschelde d55491a7b8
Merge pull request #22407 from DualMatrix/step_int
Added step support when exporting integers.
2018-09-28 10:39:50 +02:00
Rémi Verschelde ea63c9a870 Inspector: Enable wrap for multiline text widget
Fixes #22458.
2018-09-27 09:09:47 +02:00
DualMatrix 0e37829031 Added step support when exporting integers.
Added step support when exporting integers.

This wasn't possible before and was kinda unclear see #21441
2018-09-24 18:26:39 +02:00
Michael Alexsander Silva Dias b8f946f118 Make Rect2 EditorProperty obey the horizontal setting 2018-09-23 16:00:48 -03:00
willnationsdev 5436abefe4 Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
luz.paz 08bde5b2de Misc. typos
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
volzhs 192beed068 Make better look for bitmask 2018-09-05 10:49:48 +09:00
Juan Linietsky 0d0cf2e948 Change how path properties are presented, so they can be edited. Fixes #20709 2018-08-23 11:45:54 -03:00
Rémi Verschelde 661c9ece7c Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
Use it to provide a better example for application identifiers
on Android, iOS and macOS, where users thought they *had* to use
this as a magic token.
2018-08-20 13:48:05 +02:00
Rémi Verschelde 8bc9986db4
Merge pull request #21155 from ordigdug/fix-colorpicker-popup
Fixes colorpicker popup immeditately closing when interacting with co…
2018-08-18 22:48:29 +02:00
DualMatrix 8ad251b331 Fixed text entry is going in reverse
Fixed text entry is going in reverse, this undoes what seems to be a mistake in #20400 and fixes #21061
2018-08-18 20:23:54 +02:00
ordigdug 17b439844d Fixes colorpicker popup immeditately closing when interacting with colorpicker property in a subinspector. Fixes #19559 2018-08-18 11:47:14 -04:00
Rémi Verschelde ba47f15b78 Fix crash assigning script to a Resource
We were dereferencing the wrong identifier, which could be NULL.
Fixes #19289, supersedes and closes #20985.
2018-08-16 15:40:06 +02:00
Juan Linietsky c72cab1293
Revert "Open visual editor when "open editor" button in the inspector is pressed" 2018-08-14 15:35:21 -03:00
Rémi Verschelde bbdb6cf16e
Merge pull request #20400 from OliPerraul/oliperraul/20332/fix_defects_with_editor_export_dict
Fixed a number of issues related to the Dictionary export property for the editor
2018-08-14 16:15:43 +02:00
Juan Linietsky 254eb46de3 Several improvements to inspector.
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3)
-Some clean ups with fonts and styles
2018-08-07 12:22:46 -03:00
Hein-Pieter van Braam 5c88bc66e3 Undo an accidental revert.
Sorry for the history pollution. I was testing something on this branch
and forgot to reset befor pushing the security update.

This reverts commit 2ef66def46.
2018-07-29 04:14:57 +02:00
Hein-Pieter van Braam 2ef66def46 Revert "Open visual editor when "open editor" button in the inspector is pressed."
This reverts commit 0ae400f523.
2018-07-28 21:16:20 +02:00
oliperraul dc2df7a146 Fixed a number of issues related to the Dictionary export property for the editor
* Fixed a problem when buttons were deleted on the same frame they were pressed (inside update_property)
* Prevent usage of nul key for a dictionary.
* Provide symetry in the interface for both the array property and dictionary property by first clicking on the field to instantiating the dictionary.
	Array (Nil), Array (size 0), Array (size 1)
	Dictionary (Nil), Array (size 0), Array (size 1)
* Allow to press enter to confirm a string in line edi.
2018-07-28 14:17:56 -04:00
Rémi Verschelde 578c8fc1e5 Fix layer 2-line tooltips used as name in inspector
Fixes #20288.
2018-07-28 10:27:19 +02:00
Tiger Caldwell 5421e46a43 Fixed Issue #20399 2018-07-25 18:50:12 -04:00
K. S. Ernest (iFire) Lee 23744d8064 Add editor property type so that inspector can search for objects. This is a regression. 2018-07-25 12:54:35 -07:00
Rémi Verschelde 76bfe14e00
Merge pull request #20117 from ordigdug/inspector-fix-inconsistencies-with-exported-enums
Fix -new inspector- Inconsistencies with exported enums - Fixes remai…
2018-07-19 18:18:20 +02:00
Juan Linietsky 911febb41f Improvements to vector fields, show axis in color with a background 2018-07-18 22:27:39 -03:00
ordigdug afb4dfab22 Fix -new inspector- Inconsistencies with exported enums - Fixes remaining issues in #19534 2018-07-18 20:01:03 -04:00
Juan Linietsky 43dc050947 Several improvements to editor inspector usability and style 2018-07-18 19:37:41 -03:00
Rémi Verschelde 71b18acb05
Merge pull request #20220 from volzhs/texture-size
Fix preview texture size on Inspector
2018-07-17 18:04:19 +02:00
volzhs d551f81874 Fix preview texture size on Inspector 2018-07-17 23:08:47 +09:00
Rémi Verschelde 634ce7917e Inspector: Add bit/value info to layer tooltip
Fixes #20213.
2018-07-17 14:33:22 +02:00
Thomas Herzog 103524e6b7
Merge pull request #20112 from nunodonato/openvisualeditorbutton
Open visual editor when "open editor" button in the inspector is pressed
2018-07-16 15:42:57 +02:00
Juan Linietsky f6ce73f724 Visual Shaders are back. 2018-07-14 18:16:18 -03:00
Nuno Donato 0ae400f523 Open visual editor when "open editor" button in the inspector is pressed.
Fixes #20111
2018-07-12 12:41:22 +01:00
Max Hilbrunner 073e77454d
Merge pull request #19713 from volzhs/fix-crash-nodepath-animation-edit
Fix crash when assigning a node on editing animation key
2018-07-05 04:20:40 +02:00
Max Hilbrunner 43748f67be
Merge pull request #19351 from guilhermefelipecgs/fix_reversed_text
Fixes to the new inspector
2018-07-05 03:50:31 +02:00