Paste Code
Paste Blends
Paste Images
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index 9ad35fe9fc6..1000a8e91a8 100644
--- a/source/blender/editors/space_view3d/space_view3d.c
+++ b/source/blender/editors/space_view3d/space_view3d.c
@@ -1106,7 +1106,11 @@ static void view3d_main_region_cursor(wmWindow *win, ScrArea *sa, ARegion *ar)

ViewLayer *view_layer = WM_window_get_active_view_layer(win);
Object *obedit = OBEDIT_FROM_VIEW_LAYER(view_layer);
- if (obedit) {
+ Object *obact = OBACT(view_layer);
+ if (obact && obact->sculpt) {
+ WM_cursor_set(win, CURSOR_NONE);
+ }
+ else if (obedit) {
WM_cursor_set(win, CURSOR_EDIT);
}
else {
  1. diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
  2. index 9ad35fe9fc6..1000a8e91a8 100644
  3. --- a/source/blender/editors/space_view3d/space_view3d.c
  4. +++ b/source/blender/editors/space_view3d/space_view3d.c
  5. @@ -1106,7 +1106,11 @@ static void view3d_main_region_cursor(wmWindow *win, ScrArea *sa, ARegion *ar)
  6.  
  7.         ViewLayer *view_layer = WM_window_get_active_view_layer(win);
  8.         Object *obedit = OBEDIT_FROM_VIEW_LAYER(view_layer);
  9. -       if (obedit) {
  10. +       Object *obact = OBACT(view_layer);
  11. +       if (obact && obact->sculpt) {
  12. +               WM_cursor_set(win, CURSOR_NONE);
  13. +       }
  14. +       else if (obedit) {
  15.                 WM_cursor_set(win, CURSOR_EDIT);
  16.         }
  17.         else {
  18.  
go to heaven