Cleanup: format
This commit is contained in:
@@ -237,7 +237,8 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
|
||||
t->spacetype = SPACE_EMPTY;
|
||||
}
|
||||
else if (((region == nullptr) || (region->regiondata == nullptr)) &&
|
||||
(area->spacetype == SPACE_VIEW3D)) {
|
||||
(area->spacetype == SPACE_VIEW3D))
|
||||
{
|
||||
/* Running the operator through the text editor where e.g. `area.type` was
|
||||
* set to 'VIEW_3D' but the viewport was not updated. */
|
||||
t->spacetype = SPACE_EMPTY;
|
||||
|
||||
Reference in New Issue
Block a user