Set camera_is_active to false for CameraTexture to avoid doctool querying it to determine the default automatically.

This commit is contained in:
Lukas Tenbrink 2025-03-25 02:04:39 +01:00
parent bf1c2583f4
commit 770267b337

View file

@ -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() {