summaryrefslogtreecommitdiffstats
path: root/thirdparty/basis_universal/transcoder/basisu_transcoder.cpp
diff options
context:
space:
mode:
authorSai Nane <esainane+git@gmail.com>2024-08-09 19:06:34 +0000
committerSai Nane <esainane+git@gmail.com>2024-08-09 19:08:27 +0000
commit15f698467514bdf1e352433e8e3b60eb3b912357 (patch)
tree680b18bd2ebb80f46ea4a83f11c83ec9a4f9127b /thirdparty/basis_universal/transcoder/basisu_transcoder.cpp
parentc73ac74c4a44ccfed158b3603f809a24590bac0a (diff)
downloadredot-engine-15f698467514bdf1e352433e8e3b60eb3b912357.tar.gz
Fix check in `Object._ValidateProperty` example
The GDScript version above makes the `number` property read only whenever `is_number_editable` is false. ```gdscript func _validate_property(property: Dictionary): if property.name == "number" and not is_number_editable: property.usage |= PROPERTY_USAGE_READ_ONLY ``` The C# version is similar, but omits the negation, so the Number property is made read only whenever `is_number_editable` is true. This adds the negation to the C# example, making it match the GDScript example.
Diffstat (limited to 'thirdparty/basis_universal/transcoder/basisu_transcoder.cpp')
0 files changed, 0 insertions, 0 deletions