Skip to content

Commit 770267b

Browse files
committed
Set camera_is_active to false for CameraTexture to avoid doctool querying it to determine the default automatically.
1 parent bf1c258 commit 770267b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scene/resources/camera_texture.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ void CameraTexture::_bind_methods() {
4545
ADD_PROPERTY(PropertyInfo(Variant::INT, "camera_feed_id"), "set_camera_feed_id", "get_camera_feed_id");
4646
ADD_PROPERTY(PropertyInfo(Variant::INT, "which_feed"), "set_which_feed", "get_which_feed");
4747
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "camera_is_active"), "set_camera_active", "get_camera_active");
48+
ADD_PROPERTY_DEFAULT("camera_is_active", false);
4849
}
4950

5051
void CameraTexture::_on_format_changed() {

0 commit comments

Comments
 (0)