Cleanup: remove assert left in by accident, outdated comment
This commit is contained in:
@@ -224,9 +224,6 @@ static void mball_undosys_step_decode(struct bContext *C,
|
||||
CTX_data_scene(C), CTX_data_view_layer(C), us->elems[0].obedit_ref.ptr, us_p->name, &LOG);
|
||||
|
||||
/* Check after setting active. */
|
||||
|
||||
BLI_assert(BKE_object_is_in_editmode(us->elems[0].obedit_ref.ptr));
|
||||
|
||||
BLI_assert(mball_undosys_poll(C));
|
||||
|
||||
bmain->is_memfile_undo_flush_needed = true;
|
||||
|
@@ -229,7 +229,6 @@ static bool screenshot_poll(bContext *C)
|
||||
|
||||
void SCREEN_OT_screenshot(wmOperatorType *ot)
|
||||
{
|
||||
/* weak: opname starting with 'save' makes filewindow give save-over */
|
||||
ot->name = "Save Screenshot";
|
||||
ot->idname = "SCREEN_OT_screenshot";
|
||||
ot->description = "Capture a picture of the active area or whole Blender window";
|
||||
|
Reference in New Issue
Block a user