forked from bartvdbraak/blender
2.5/Multires:
* Disabled multires subdivide button in editmode (again) SVN weirdness: I already did this in r22447. Somehow it got changed back -- but I can't find any log of it getting reverted, either in my email or on p.b.o. This is extremely weird!
This commit is contained in:
parent
2355130c3a
commit
095ec3a6e9
@ -699,7 +699,8 @@ static int multires_subdivide_exec(bContext *C, wmOperator *op)
|
||||
|
||||
static int multires_subdivide_poll(bContext *C)
|
||||
{
|
||||
return (CTX_data_pointer_get_type(C, "modifier", &RNA_MultiresModifier).data != NULL);
|
||||
return (CTX_data_pointer_get_type(C, "modifier", &RNA_MultiresModifier).data != NULL) &&
|
||||
CTX_data_edit_object(C) == NULL;
|
||||
}
|
||||
|
||||
void OBJECT_OT_multires_subdivide(wmOperatorType *ot)
|
||||
|
Loading…
Reference in New Issue
Block a user