You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Remove unintentional PROPERTY_USAGE_INTERNAL
The flag only matters for property definition, but was also used in _validate_property a lot.
This commit is contained in:
@@ -181,7 +181,7 @@ AABB ReflectionProbe::get_aabb() const {
|
||||
void ReflectionProbe::_validate_property(PropertyInfo &property) const {
|
||||
if (property.name == "ambient_color" || property.name == "ambient_color_energy") {
|
||||
if (ambient_mode != AMBIENT_COLOR) {
|
||||
property.usage = PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL;
|
||||
property.usage = PROPERTY_USAGE_NO_EDITOR;
|
||||
}
|
||||
}
|
||||
VisualInstance3D::_validate_property(property);
|
||||
|
||||
Reference in New Issue
Block a user