Bug 2057
authorTon Roosendaal <ton@blender.org>
Sat, 12 Feb 2005 12:06:30 +0000 (12:06 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 12 Feb 2005 12:06:30 +0000 (12:06 +0000)
Hotkeys comma and dot (around cursor, median) didn't work for user option
"global pivot". Now all 3d windows are set correctly.

source/blender/src/header_view3d.c
source/blender/src/space.c

index ca96f19a978e429e682b7876a35b1b22e9454188..7432facda3a3dc2c7ee698ee4621de1f7336c024 100644 (file)
@@ -3670,7 +3670,7 @@ void do_view3d_buttons(short event)
                allqueue(REDRAWVIEW3D, 1);
                break;
        case B_AROUND:
-               handle_view3d_around();
+               handle_view3d_around(); // copies to other 3d windows
                break;
                
        case B_SEL_VERT:
index 30162011a850634d511518a5beba0de5e088c242..48f03b584d65221c1a960253e78886ff4c1f3bf5 100644 (file)
@@ -1601,6 +1601,8 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
                                } else if(G.qual==0) {
                                        G.vd->around= V3D_CENTRE;
                                }
+                               handle_view3d_around();
+                               
                                scrarea_queue_headredraw(curarea);
                                break;
                                
@@ -1610,6 +1612,8 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
                                }       else if(G.qual==0) {
                                        G.vd->around= V3D_CURSOR;
                                }
+                               handle_view3d_around();
+                               
                                scrarea_queue_headredraw(curarea);
                                break;