mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Set camera_is_active to false for CameraTexture to avoid doctool querying it to determine the default automatically.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user