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:
authorCampbell Barton <ideasman42@gmail.com>2013-07-09 04:08:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-09 04:08:18 +0400
commit6c0d97fbcfaf60d6d932bb96f01e8caf30062c50 (patch)
tree5791cd495a13aad1c9db8039f8ce74f923c90f74 /source/blender/makesrna
parent3d847ed6e6e0a063d1676ad9c01bcc33b23b8ac4 (diff)
fix [#35806] Unable to check "Correct UVs" option in "Loop Cut and Slide" (Keymap Editor)
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_access.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index f67561954be..5499386dcf1 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -6385,6 +6385,15 @@ bool RNA_property_equals(PointerRNA *a, PointerRNA *b, PropertyRNA *prop, bool i
return equals;
}
+ case PROP_POINTER:
+ {
+ if (!STREQ(RNA_property_identifier(prop), "rna_type")) {
+ PointerRNA propptr_a = RNA_property_pointer_get(a, prop);
+ PointerRNA propptr_b = RNA_property_pointer_get(b, prop);
+ return RNA_struct_equals(&propptr_a, &propptr_b, is_strict);
+ }
+ }
+
default:
break;
}