diff options
| author | Bojidar Marinov | 2018-01-12 00:35:12 +0200 |
|---|---|---|
| committer | Bojidar Marinov | 2018-01-12 00:58:14 +0200 |
| commit | 9b8e8b2220b4e2bac3310262d3d1cd7a8eb3b0a5 (patch) | |
| tree | 805b828de2c1b899392245dbf77d45c4450664c8 /modules/theora | |
| parent | c1c17b04bd5090503416cef24b4da9209d5cf563 (diff) | |
| download | godot-9b8e8b2220b4e2bac3310262d3d1cd7a8eb3b0a5.tar.gz godot-9b8e8b2220b4e2bac3310262d3d1cd7a8eb3b0a5.tar.zst godot-9b8e8b2220b4e2bac3310262d3d1cd7a8eb3b0a5.zip | |
Bind many more properties to scripts
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
Diffstat (limited to 'modules/theora')
| -rw-r--r-- | modules/theora/video_stream_theora.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/theora/video_stream_theora.cpp b/modules/theora/video_stream_theora.cpp index ac1e81859..58c6d73ab 100644 --- a/modules/theora/video_stream_theora.cpp +++ b/modules/theora/video_stream_theora.cpp @@ -724,5 +724,5 @@ void VideoStreamTheora::_bind_methods() { ClassDB::bind_method(D_METHOD("set_file", "file"), &VideoStreamTheora::set_file); ClassDB::bind_method(D_METHOD("get_file"), &VideoStreamTheora::get_file); - ADD_PROPERTY(PropertyInfo(Variant::STRING, "file", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NOEDITOR), "set_file", "get_file"); + ADD_PROPERTY(PropertyInfo(Variant::STRING, "file", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NOEDITOR | PROPERTY_USAGE_INTERNAL), "set_file", "get_file"); } |
