Cleanup: remove assert left in by accident, outdated comment

This commit is contained in:
Campbell Barton
2021-02-25 16:33:55 +11:00
parent b073e59d4e
commit 94dc6ceaa7
2 changed files with 0 additions and 4 deletions

View File

@@ -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;

View File

@@ -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";