Skip to content

Commit

Permalink
Merge pull request #70808 from jamesmintram/james/bug/fix-placeholder…
Browse files Browse the repository at this point in the history
…-tex-size-binding

Fixes #70735
  • Loading branch information
Chaosus authored Jan 1, 2023
2 parents e1ca001 + af84579 commit 5726770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/resources/texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3386,7 +3386,7 @@ RID PlaceholderTexture2D::get_rid() const {
void PlaceholderTexture2D::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_size", "size"), &PlaceholderTexture2D::set_size);

ADD_PROPERTY(PropertyInfo(Variant::VECTOR2I, "size", PROPERTY_HINT_NONE, "suffix:px"), "set_size", "get_size");
ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "size", PROPERTY_HINT_NONE, "suffix:px"), "set_size", "get_size");
}

PlaceholderTexture2D::PlaceholderTexture2D() {
Expand Down

0 comments on commit 5726770

Please sign in to comment.