Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAras Pranckevicius <aras@nesnausk.org>2022-09-07 11:47:29 +0300
committerAras Pranckevicius <aras@nesnausk.org>2022-09-07 12:57:34 +0300
commit97bd04d665cb8c964e9159da94a3c7941cd4841c (patch)
treefc6bdebcbe095f461c56b1b6375cc43c220d6195 /source/blender/editors/include
parent788952705c623d3748c6e46fa244b63bd9209717 (diff)
Fix T100797: C++ exporters do not remember the path on subsequent exports
Most/all C++ based IO code had a pattern of doing using RNA_struct_property_is_set to check whether a default path needs to be set. However, it returns false for properties restored from "previous operator settings" (property restoration code sets IDP_FLAG_GHOST flag on them, which "is set" sees and goes "nope, not set"). The fix here is to apply similar logic as 10 years ago in the T32855 fix (rBdb250a4): use RNA_struct_property_is_set_ex instead. Reviewed By: Campbell Barton Differential Revision: https://developer.blender.org/D15904
Diffstat (limited to 'source/blender/editors/include')
0 files changed, 0 insertions, 0 deletions