summaryrefslogtreecommitdiff
path: root/editor/editor_properties.cpp
AgeCommit message (Collapse)Author
2020-01-15Use int64_t for EditorPropertyInteger and warn when out of double rangeAaron Franke
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-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-11-07Merge pull request #32997 from Calinou/editor-color-picker-add-tooltipRémi Verschelde
Add a tooltip to Color properties in the editor inspector
2019-10-22Add a tooltip to Color properties in the editor inspectorHugo Locurcio
This makes it possible to view a color's raw R/G/B/A values without clicking the ColorPickerButton.
2019-10-23Add clear menu entries for extending and replacing scriptsAnubhab Ghosh
2019-10-21Make the the resource menu button fallback to the Object icon instead of NodeMichael Alexsander
2019-10-14Make resource editor fallback to Object icon if none is foundMichael Alexsander
2019-10-13Increased step precisionDavid Sichma
Results in nicer numbers for float properties like 20.0 instead of 20.000001
2019-10-06Set tooltip to an empty string when clearingJoe Morton
Format Remove string conversion
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-06Make editor inspector easing lines use the accent color when draggedHugo Locurcio
This makes their visual feedback more consistent with other controls. This also makes easing lines slightly more subtle by decreasing their opacity by 10%.
2019-08-31Default ColorPicker color mode settingBhupendra Aole
There is a new setting for Default ColorPicker color mode in Editor Settings->Interface->Inspector. Initially this setting will be RGB. Editor ColorPicker will always start with mode defined in this settiing. Fixes #30755 and #30754
2019-08-30Editor: remove TOOLS_ENABLED guardsmerumelu
For code inside editor/ `#ifdef TOOLS_ENABLED` is always true so those checks are redundant.
2019-08-23Merge pull request #31586 from SonerSound/issue_31533Rémi Verschelde
Export path is the only path to be saved as a relative path
2019-08-22Export path is the only path to be saved as a relative pathSonerSound
Also reverts 90b2415343287f67586956c798d4b7a63544158f
2019-08-09Tweak the size of the multiline text edit popup dialogHugo Locurcio
This caps its size on large displays. This in turn prevents lines from becoming very long, which could hamper text readability.
2019-07-23Inspector: Make default float step configurableRémi Verschelde
Also allow lifting the decimal step formatting with a hint range step of 0. A new `range_step_decimals()` is added for this to avoid breaking compatibility on the general purpose `step_decimals()` (which still returns 0 for an input step of 0). Supersedes #25470. Partial fix for #18251.
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-19Make multiline text edit grab focus when popping upMichael Alexsander Silva Dias
2019-06-30Export path may now be written as a relative pathSonerSound
If the target directory does not exist, it will be recursively created. Export paths are now saved as a relative to the projects base directory Renamed relative_to function to final_path_from_relative which takes a relative path and outputs the final path from a string that represents a directory. Added relative_path_from_final which takes in a final path and outputs a relative path if possible. If not possible it outputs the relative path that represents the current directory. If the target directory does not exist when exporting the project, then it is recursively created. Removed final_path_from_relative function Changed DirAccess into DirAccessRef for automatic object destruction
2019-06-29Merge pull request #24156 from AnaDenisa/masterRémi Verschelde
Add option to input value in EditorPropertyEasing. Fixes #8449
2019-06-28Fix an EditorPropertyResource bug where clicking on the flat buttons would ↵LikeLakers2
not select the property in the inspector
2019-06-28Add option to input value manually in EditorPropertyEasingAnaDenisa
Double-clicking on the EditorPropertyEasing widget (e.g. for the Light Attenuation parameter) shows an EditorSpinSlider to set the value manually. Fixes #8449. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-04-25Merge pull request #22301 from YeldhamDev/button_popup_highlightRémi Verschelde
Enable toggle behaviour for buttons that trigger popups
2019-04-19Added ability for multiple images to be imported as an atlasJuan Linietsky
This adds support for groups in the import system, which point to a single file. Add property hint for saving files in file field
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-06Merge pull request #26122 from vixelz/allow-embedding-gdscript-defined-resourcesRémi Verschelde
Include global class resources in Resource property inspector
2019-04-05Merge pull request #26954 from willnationsdev/refreshRémi Verschelde
Add a getter for the EditorInspector
2019-03-25Prevents crash on loading unrecognized resources.Anish
Editor crashes on trying to load resources with no loaders. Simple check on the resource loader prevents using a null resource loader. Fixes: #27385
2019-03-12Add EditorInspector getter. Update Sub-Inspectors.Will Nations
2019-03-09Allow class_name scripts to have nested inheritanceGeorge Marques
2019-03-06-Make tileset and meshlibrary edit in a separate inspector, fixes #26671Juan Linietsky
-Made relationship lines appear based on theme settings, not previous hack -Fix drawing of relationship lines (was broken) -Fix double initialization of theme settings
2019-03-04Ensure shader is not set if code did not changeJuan Linietsky
2019-03-04Some clean up to previous commit.Juan Linietsky
2019-03-04Remove the "Open Editor" button, it will open automatically.Juan Linietsky
2019-02-22Added a workaround to avoid crashes due to how TileSet editor works, fixes ↵Juan Linietsky
#23672 Also fixed a few uninitialized memory variables.
2019-02-21Include global class resources in Resource property inspectorVixelz
Much like how script defined global classes can be created from the "New Resource..." button in the FileSystem panel, this allows the creation of script defined resources to be embedded.
2019-02-21Fix EditorPropertyInteger and EditorPropertyEnum support for 64-bit intRémi Verschelde
Fixes #26116 and fixes #22004, thanks @kiidmale.
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-16Fix big text window in TextEditqarmin
2019-01-27Instantiate global classes properly, fixes #20857Juan Linietsky
2019-01-25Make sub-inspectors not listen to node removals, since they never edit ↵Juan Linietsky
nodes. Fixes #23554
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