mirror of
https://github.com/godotengine/godot.git
synced 2025-04-13 01:00:35 +08:00
Merge pull request #104582 from Ivorforce/cameratexture-nomonitor
Avoid doctools attempting to query the `CameraServer` to infer a default value for `camera_is_active`
This commit is contained in:
commit
68d71d6c8c
@ -45,6 +45,7 @@ void CameraTexture::_bind_methods() {
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "camera_feed_id"), "set_camera_feed_id", "get_camera_feed_id");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "which_feed"), "set_which_feed", "get_which_feed");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "camera_is_active"), "set_camera_active", "get_camera_active");
|
||||
ADD_PROPERTY_DEFAULT("camera_is_active", false);
|
||||
}
|
||||
|
||||
void CameraTexture::_on_format_changed() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user