summaryrefslogtreecommitdiffstats
path: root/editor/editor_properties.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add type variations to ThemeYuri Sizov2021-07-131-26/+132
|
* Use PROPERTY_USAGE_NONE instead of 0 for no property usageAaron Franke2021-07-011-2/+2
| | | | Also use const more often.
* Fix editor suffixes and degrees conversionreduz2021-06-301-210/+132
| | | | | | | | | | | | | * Functions to convert to/from degrees are all gone. Conversion is done by the editor. * Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees. * Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m" * In general, can add suffixes for EditorSpinSlider Not covered by this PR, will have to be addressed by future ones: * Ability to switch radians/degrees in the inspector for angle properties (if actually wanted). * Animations previously made will most likely break, need to add a way to make old ones compatible. * Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes. * Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.
* Implement painting properties over TileSetsGilles Roudière2021-06-291-49/+58
|
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-1/+1
|
* Documentation search fixesGregory Basile2021-06-161-3/+3
| | | | | | Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
* Merge pull request #49083 from foxydevloper/make-easing-line-smoothRémi Verschelde2021-06-151-11/+6
|\ | | | | Make easing properties drawn with anti aliasing
| * Make easing properties drawn with anti aliasingfox2021-05-251-11/+6
| |
* | Rename Reference to RefCountedPedro J. Estébanez2021-06-111-1/+1
| |
* | Rename Quat to QuaternionMarcel Admiraal2021-06-041-12/+12
| |
* | Rename EditorPropertyTransform to EditorPropertyTransform3DAaron Franke2021-06-031-9/+9
| |
* | Rename Variant TRANSFORM to TRANSFORM3DAaron Franke2021-06-031-1/+1
| | | | | | Also _transform to _transform3d
* | Rename Transform to Transform3D in coreAaron Franke2021-06-031-2/+2
|/
* Use EditorResourcePicker in the InspectorYuri Sizov2021-05-191-696/+111
|
* Fix EditorPropertyEasing capturing drag events originated outside of itYuri Sizov2021-05-121-1/+1
|
* Fix EditorPropertyResource focus outline being drawn behind the previewHugo Locurcio2021-05-091-0/+2
|
* Rename `doubleclick` to `double_click`Aaron Franke2021-05-041-1/+1
|
* Replace remaining uses of `NULL` with `nullptr`Rémi Verschelde2021-04-291-1/+1
| | | | Follow-up to #38736 (these uses were likely added after this PR was merged).
* Add Various ColorPicker shapesKongfa Waroros2021-04-061-0/+3
|
* Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde2021-04-051-2/+4
|
* Use double when setting the default step sizemegalobyte2021-03-311-1/+1
| | | | Casting it as a float was causing issues with the progress bar
* Merge pull request #43155 from nathanfranke/collapse-resource-previewRémi Verschelde2021-04-011-0/+1
|\ | | | | Collapse Resource Preview Properly
| * Collapse Resource Preview ProperlyNathan Franke2020-10-281-0/+1
| |
* | Rename ButtonList enum and members to MouseButtonAaron Franke2021-03-231-6/+6
| |
* | Fix always capitalized properties in sub-inspectorjmb4622021-03-131-1/+1
| | | | | | | | | | Fix #46961: This commit correctly initialize capitalization in sub-inspectors (like shaders's sub-inspector in the inspector panel) with the editor settings.
* | Implement Navigation layersGilles Roudière2021-03-101-1/+18
| |
* | Improved Inspector Sub-Resource Editingreduz2021-02-121-0/+42
| | | | | | | | | | -Better margins -Colors to delimit subresources better.
* | Removed _change_notifyreduz2021-02-101-1/+0
| | | | | | | | | | | | -For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
* | Make Rect2 properties show in 2x2 layoutkobewi2021-02-041-6/+26
| |
* | Emit changed signal from Color Picker when changedkobewi2021-01-091-0/+12
| |
* | Merge pull request #44980 from RandomShaper/fix_res_lifetimeRémi Verschelde2021-01-071-9/+6
|\ \ | | | | | | Fix cases of resources destroyed too early
| * | Fix cases of resources destroyed too earlyPedro J. Estébanez2021-01-061-9/+6
| | |
* | | Revert "Fixed EditorPropertyText change signal emission."Rémi Verschelde2021-01-071-2/+2
|/ / | | | | | | | | | | | | | | | | | | This reverts commit ed1f208ec4c1111a450fe1401c3378b973c7a6e5. This caused a regression: #44854. Another PR will re-apply these changes while handling the regression: #44982. Fixes #44854.
* | Merge pull request #44971 from nekomatata/fix-string-property-updateRémi Verschelde2021-01-061-4/+8
|\ \ | | | | | | Update String property field only when text has changed
| * | Update String property field only when text has changedPouleyKetchoupp2021-01-061-4/+8
| | | | | | | | | | | | | | | | | | | | | Avoids resetting the cursor position when the inspector updates while editing a string property. Fixes #42488
* | | Don't emit changed signal on Color Picker closekobewi2021-01-031-5/+0
| | |
* | | Merge pull request #44809 from Calinou/physics-render-layers-zero-indexRémi Verschelde2021-01-011-3/+3
|\ \ \ | | | | | | | | Use zero-indexing for physics and render layer names
| * | | Use zero-indexing for physics and render layer namesHugo Locurcio2020-12-301-3/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | The first layer is now Layer 0 instead of Layer 1, and the last layer is now Layer 19 instead of Layer 20. This helps reference physics and render layers from scripts since layers start from 0 there.
* / / Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* | Fix instantiation of resource as property valuePedro J. Estébanez2020-12-291-5/+7
| |
* | Rename empty() to is_empty()Marcel Admiraal2020-12-281-3/+3
| |
* | Rename Control margin to offsetMarcel Admiraal2020-12-231-5/+5
| |
* | Fixed EditorPropertyText change signal emission.Andrea Catania2020-12-121-2/+2
| |
* | [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-10/+14
| | | | | | | | | | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* | Variant: Rename Type::_RID to Type::RIDRémi Verschelde2020-11-091-1/+1
|/ | | | | | | | The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
* fix toggle mask bit 0David Sichma2020-10-261-1/+1
|
* Shader globals bugfixesDavid Sichma2020-10-211-7/+7
| | | | | - shader globals editor displays properties correctly - fixed some errors how globals were transferred
* Ensure grid index is valid before trying to change value.Marcel Admiraal2020-10-121-1/+1
|
* Accept DynamicFontData for FontsTomasz Chabora2020-08-251-0/+10
|
* Added ability to unfold editor sections when dragging and dropping.Eric M2020-08-251-5/+3
| | | | Also added editor setting to control the delay used before unfold occurs.