diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-25 09:18:18 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-25 09:18:18 +0100 |
commit | b9bf12e99a222d9a1b8d663399d96462b6c7b064 (patch) | |
tree | aabc97e38390282c25bfa5c420ccf127d800f28a /scene/resources/skeleton_modification_stack_2d.cpp | |
parent | 0218b1cf6b6e4000ea0f68a87d3bae163c4ad9ea (diff) | |
parent | 2a65f6812b98ef24ad2fb156376932a87b55062f (diff) |
Merge pull request #71142 from aaronfranke/never-duplicate-script
Add `PROPERTY_USAGE_NEVER_DUPLICATE` flag and use for script
Diffstat (limited to 'scene/resources/skeleton_modification_stack_2d.cpp')
-rw-r--r-- | scene/resources/skeleton_modification_stack_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/skeleton_modification_stack_2d.cpp b/scene/resources/skeleton_modification_stack_2d.cpp index 4fa287e7b6..71ddbc0898 100644 --- a/scene/resources/skeleton_modification_stack_2d.cpp +++ b/scene/resources/skeleton_modification_stack_2d.cpp @@ -37,7 +37,7 @@ void SkeletonModificationStack2D::_get_property_list(List<PropertyInfo> *p_list) PropertyInfo(Variant::OBJECT, "modifications/" + itos(i), PROPERTY_HINT_RESOURCE_TYPE, "SkeletonModification2D", - PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_DEFERRED_SET_RESOURCE | PROPERTY_USAGE_DO_NOT_SHARE_ON_DUPLICATE)); + PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_DEFERRED_SET_RESOURCE | PROPERTY_USAGE_ALWAYS_DUPLICATE)); } } |