diff options
| author | Juan Linietsky | 2015-06-29 00:29:49 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-06-29 00:29:49 -0300 |
| commit | 95047562d743b1c1fdc007432c8a0c145a455c5d (patch) | |
| tree | f563e5c900c4330fcc602b6e5a721bc63022b253 /scene/gui/texture_frame.cpp | |
| parent | 2b64f73b0459190d20b2f6de39275ee7979317c4 (diff) | |
| download | godot-95047562d743b1c1fdc007432c8a0c145a455c5d.tar.gz godot-95047562d743b1c1fdc007432c8a0c145a455c5d.tar.zst godot-95047562d743b1c1fdc007432c8a0c145a455c5d.zip | |
Diffstat (limited to 'scene/gui/texture_frame.cpp')
| -rw-r--r-- | scene/gui/texture_frame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/texture_frame.cpp b/scene/gui/texture_frame.cpp index 931fb1cb1..5a6bc8663 100644 --- a/scene/gui/texture_frame.cpp +++ b/scene/gui/texture_frame.cpp @@ -77,9 +77,9 @@ void TextureFrame::_bind_methods() { ObjectTypeDB::bind_method(_MD("set_expand","enable"), & TextureFrame::set_expand ); ObjectTypeDB::bind_method(_MD("has_expand"), & TextureFrame::has_expand ); - ADD_PROPERTY( PropertyInfo( Variant::OBJECT, "texture", PROPERTY_HINT_RESOURCE_TYPE, "Texture"), _SCS("set_texture"),_SCS("get_texture") ); - ADD_PROPERTY( PropertyInfo( Variant::COLOR, "modulate"), _SCS("set_modulate"),_SCS("get_modulate") ); - ADD_PROPERTY( PropertyInfo( Variant::BOOL, "expand" ), _SCS("set_expand"),_SCS("has_expand") ); + ADD_PROPERTYNZ( PropertyInfo( Variant::OBJECT, "texture", PROPERTY_HINT_RESOURCE_TYPE, "Texture"), _SCS("set_texture"),_SCS("get_texture") ); + ADD_PROPERTYNO( PropertyInfo( Variant::COLOR, "modulate"), _SCS("set_modulate"),_SCS("get_modulate") ); + ADD_PROPERTYNZ( PropertyInfo( Variant::BOOL, "expand" ), _SCS("set_expand"),_SCS("has_expand") ); } |
