mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue