Fix T46946: EdgeSlide via G-G disables 'Correct UV'

This commit is contained in:
Campbell Barton 2015-12-18 18:25:37 +11:00
parent f81d8e7fe1
commit 73a5e4afa9
Notes: blender-bot 2023-10-13 01:54:23 +02:00
Referenced by issue #46946, Edge Slide from G-G (key) deactivate "Correct UV" UI.
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}
}
/**