Fix #91360: Remove Printf When Changing Screens
wm_gizmomap_handler_context_op currently prints an error message to the console when screen layouts change while modal operations are running. The operations work, and the comment above it says "this is not an error to print", and it is confusing for users to see a console message like this. Looks to be a left-over debugging tool. Pull Request: https://projects.blender.org/blender/blender/pulls/132778
This commit is contained in:
committed by
Harley Acheson
parent
64e3bfb485
commit
f71afc6bbb
@@ -965,7 +965,6 @@ void wm_gizmomap_handler_context_op(bContext *C, wmEventHandler_Op *handler)
|
||||
if (area == nullptr) {
|
||||
/* When changing screen layouts with running modal handlers (like render display),
|
||||
* this is not an error to print. */
|
||||
printf("internal error: modal gizmo-map handler has invalid area\n");
|
||||
}
|
||||
else {
|
||||
ARegion *region;
|
||||
|
||||
Reference in New Issue
Block a user