BPython:
- new submodule Scene.Radio, for radiosity: still incomplete, but in shape for demos, updated SConscript to include it;
- new functions in Window module;
- doc updates: adding a todo file and a new start page for our docs: API_intro.py + other updates;
- small fix in Ipo.c provided by Damien McGuinnes (thanks!): Nathan has a patch with IPO additions and fixes for this and more, but until it is committed, there's this fix for Ipo.getCurve('LocX'), LocY, Z and QuatW,X,Y,Z too, according to Damien.
Other files:
- radpreprocess.c: added check for "during_script()" so eventual msgs don't popup during scripts;
- drawmesh.c: made a pointer (display list) be checked before accessed, fixes crash in scripts that forget to update display lists for subsurf meshes when a 3d view is in textured view mode.
Script: updated bevel_center by Loic Berthe.
This commit is contained in:
@@ -896,13 +896,12 @@ void draw_tface_mesh(Object *ob, Mesh *me, int dt)
|
||||
|
||||
if(mesh_uses_displist(me) && editing==0) {
|
||||
DispList *dl= find_displist(&me->disp, DL_MESH);
|
||||
DispListMesh *dlm= dl->mesh;
|
||||
|
||||
totface= dlm->totface;
|
||||
|
||||
DispListMesh *dlm= NULL;
|
||||
|
||||
if (!dl)
|
||||
totface= 0;
|
||||
else {
|
||||
dlm = dl->mesh;
|
||||
totface= dlm->totface;
|
||||
mvert= dlm->mvert;
|
||||
mface= dlm->mface;
|
||||
|
||||
Reference in New Issue
Block a user