- fix: SHIFT+CTRL+P didn't work (make parent without inverse)
- added: when start blender in debug mode (blender -b) it prints the depth of framebuffer.
This commit is contained in:
@@ -107,6 +107,8 @@ void mywindow_init_mainwin(Window *win, int orx, int ory, int sizex, int sizey)
|
|||||||
glGetIntegerv(GL_BLUE_BITS, &b);
|
glGetIntegerv(GL_BLUE_BITS, &b);
|
||||||
|
|
||||||
mainwin_color_depth= r + g + b;
|
mainwin_color_depth= r + g + b;
|
||||||
|
|
||||||
|
if(G.f & G_DEBUG) printf("Color depth R=%d G=%d B=%d\n", (int)r, (int)g, (int)b);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXXXXXXXXXXXXXXX very hacky, not allowed to release
|
/* XXXXXXXXXXXXXXXX very hacky, not allowed to release
|
||||||
|
|||||||
@@ -1205,14 +1205,14 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
|||||||
case PKEY:
|
case PKEY:
|
||||||
|
|
||||||
if(G.obedit) {
|
if(G.obedit) {
|
||||||
if(G.qual==LR_CTRLKEY)
|
if(G.qual==LR_CTRLKEY || G.qual==(LR_SHIFTKEY|LR_CTRLKEY))
|
||||||
make_parent();
|
make_parent();
|
||||||
else if((G.qual==0) && G.obedit->type==OB_MESH)
|
else if((G.qual==0) && G.obedit->type==OB_MESH)
|
||||||
separatemenu();
|
separatemenu();
|
||||||
else if ((G.qual==0) && ELEM(G.obedit->type, OB_CURVE, OB_SURF))
|
else if ((G.qual==0) && ELEM(G.obedit->type, OB_CURVE, OB_SURF))
|
||||||
separate_nurb();
|
separate_nurb();
|
||||||
}
|
}
|
||||||
else if(G.qual==LR_CTRLKEY)
|
else if(G.qual==LR_CTRLKEY || G.qual==(LR_SHIFTKEY|LR_CTRLKEY))
|
||||||
make_parent();
|
make_parent();
|
||||||
else if(G.qual==LR_ALTKEY)
|
else if(G.qual==LR_ALTKEY)
|
||||||
clear_parent();
|
clear_parent();
|
||||||
|
|||||||
Reference in New Issue
Block a user