Skip to content

Commit b709e5a

Browse files
committed
Add "validate_property" virtual func
- Fix docs – `Object::validate_property` can't be called directly.
1 parent cd89861 commit b709e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

godot-codegen/src/generator/virtual_traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ fn make_special_virtual_methods(notification_enum_name: &Ident) -> TokenStream {
119119
unimplemented!()
120120
}
121121

122-
/// Called whenever Godot [`validate_property()`](crate::classes::Object::validate_property) is called. Allows to customize existing properties.
122+
/// Called whenever Godot retrieves value of property. Allows to customize existing properties.
123123
/// Every property info goes through this method, except properties **added** with `get_property_list()`.
124124
///
125125
/// Exposed `property` here is a shared mutable reference obtained (and returned to) from Godot.

0 commit comments

Comments
 (0)