[Bf-blender-cvs] [73a5e4a] master: Fix T46946: EdgeSlide via G-G disables 'Correct UV'
Campbell Barton
noreply at git.blender.org
Fri Dec 18 08:32:52 CET 2015
Commit: 73a5e4afa945982d85a1836164c823a8213fade1
Author: Campbell Barton
Date: Fri Dec 18 18:25:37 2015 +1100
Branches: master
https://developer.blender.org/rB73a5e4afa945982d85a1836164c823a8213fade1
Fix T46946: EdgeSlide via G-G disables 'Correct UV'
===================================================================
M source/blender/editors/transform/transform.c
===================================================================
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 7656a8a..bae5701 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -2038,6 +2038,10 @@ void saveTransform(bContext *C, TransInfo *t, wmOperator *op)
RNA_property_boolean_set(op->ptr, prop, (t->flag & T_ALT_TRANSFORM) != 0);
}
}
+
+ if ((prop = RNA_struct_find_property(op->ptr, "correct_uv"))) {
+ RNA_property_boolean_set(op->ptr, prop, (t->settings->uvcalc_flag & UVCALC_TRANSFORM_CORRECT) != 0);
+ }
}
/**
More information about the Bf-blender-cvs
mailing list