summaryrefslogtreecommitdiff
path: root/editor/editor_properties.cpp
AgeCommit message (Collapse)Author
2021-07-13Add type variations to ThemeYuri Sizov
2021-07-01Use PROPERTY_USAGE_NONE instead of 0 for no property usageAaron Franke
Also use const more often.
2021-06-30Fix editor suffixes and degrees conversionreduz
* 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.
2021-06-29Implement painting properties over TileSetsGilles Roudière
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-16Documentation search fixesGregory Basile
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"
2021-06-15Merge pull request #49083 from foxydevloper/make-easing-line-smoothRémi Verschelde
Make easing properties drawn with anti aliasing
2021-06-11Rename Reference to RefCountedPedro J. Estébanez
2021-06-04Rename Quat to QuaternionMarcel Admiraal
2021-06-03Rename EditorPropertyTransform to EditorPropertyTransform3DAaron Franke
2021-06-03Rename Variant TRANSFORM to TRANSFORM3DAaron Franke
Also _transform to _transform3d
2021-06-03Rename Transform to Transform3D in coreAaron Franke
2021-05-25Make easing properties drawn with anti aliasingfox
2021-05-19Use EditorResourcePicker in the InspectorYuri Sizov
2021-05-12Fix EditorPropertyEasing capturing drag events originated outside of itYuri Sizov
2021-05-09Fix EditorPropertyResource focus outline being drawn behind the previewHugo Locurcio
2021-05-04Rename `doubleclick` to `double_click`Aaron Franke
2021-04-29Replace remaining uses of `NULL` with `nullptr`Rémi Verschelde
Follow-up to #38736 (these uses were likely added after this PR was merged).
2021-04-06Add Various ColorPicker shapesKongfa Waroros
2021-04-05Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde
2021-03-31Use double when setting the default step sizemegalobyte
Casting it as a float was causing issues with the progress bar
2021-04-01Merge pull request #43155 from nathanfranke/collapse-resource-previewRémi Verschelde
Collapse Resource Preview Properly
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-13Fix always capitalized properties in sub-inspectorjmb462
Fix #46961: This commit correctly initialize capitalization in sub-inspectors (like shaders's sub-inspector in the inspector panel) with the editor settings.
2021-03-10Implement Navigation layersGilles Roudière
2021-02-12Improved Inspector Sub-Resource Editingreduz
-Better margins -Colors to delimit subresources better.
2021-02-10Removed _change_notifyreduz
-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.
2021-02-04Make Rect2 properties show in 2x2 layoutkobewi
2021-01-09Emit changed signal from Color Picker when changedkobewi
2021-01-07Merge pull request #44980 from RandomShaper/fix_res_lifetimeRémi Verschelde
Fix cases of resources destroyed too early
2021-01-07Revert "Fixed EditorPropertyText change signal emission."Rémi Verschelde
This reverts commit ed1f208ec4c1111a450fe1401c3378b973c7a6e5. This caused a regression: #44854. Another PR will re-apply these changes while handling the regression: #44982. Fixes #44854.
2021-01-06Fix cases of resources destroyed too earlyPedro J. Estébanez
2021-01-06Merge pull request #44971 from nekomatata/fix-string-property-updateRémi Verschelde
Update String property field only when text has changed
2021-01-06Update String property field only when text has changedPouleyKetchoupp
Avoids resetting the cursor position when the inspector updates while editing a string property. Fixes #42488
2021-01-03Don't emit changed signal on Color Picker closekobewi
2021-01-01Merge pull request #44809 from Calinou/physics-render-layers-zero-indexRémi Verschelde
Use zero-indexing for physics and render layer names
2021-01-01Update copyright statements to 2021Rémi Verschelde
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 🎆
2020-12-30Use zero-indexing for physics and render layer namesHugo Locurcio
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.
2020-12-29Fix instantiation of resource as property valuePedro J. Estébanez
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-12Fixed EditorPropertyText change signal emission.Andrea Catania
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-09Variant: Rename Type::_RID to Type::RIDRémi Verschelde
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`.
2020-10-28Collapse Resource Preview ProperlyNathan Franke
2020-10-26fix toggle mask bit 0David Sichma
2020-10-21Shader globals bugfixesDavid Sichma
- shader globals editor displays properties correctly - fixed some errors how globals were transferred
2020-10-12Ensure grid index is valid before trying to change value.Marcel Admiraal
2020-08-25Accept DynamicFontData for FontsTomasz Chabora
2020-08-25Added ability to unfold editor sections when dragging and dropping.Eric M
Also added editor setting to control the delay used before unfold occurs.