UV: Vert and Edge Slide UI improvements
Changes: - Add Vert Slide and Edge Slide to 'UV -> Transform' menu. - Add a separator for Vert Slide and Edge Slide in the context menu. - Don't display the "Correct UVs" option in the Redo menu of UV Editor.
This commit is contained in:
@@ -607,6 +607,12 @@ static bool transform_poll_property(const bContext *C, wmOperator *op, const Pro
|
||||
return RNA_boolean_get(op->ptr, "snap");
|
||||
}
|
||||
|
||||
/* #P_CORRECT_UV. */
|
||||
if (STREQ(prop_id, "correct_uv")) {
|
||||
ScrArea *area = CTX_wm_area(C);
|
||||
return area->spacetype == SPACE_VIEW3D;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user