fixed a (wn32 avi) codec issue when adding an Empty scene.

added ttc and otc to the list of font extensions.
This commit is contained in:
2003-05-11 15:44:23 +00:00
parent a204816f3f
commit fe05ca64f2
7 changed files with 33 additions and 23 deletions

View File

@@ -6600,10 +6600,10 @@ void renderbuts(void)
#endif /* WITH_QUICKTIME */
} else {
#ifdef _WIN32
if(!have_avicodec)
if(G.scene->r.avicodecdata->avicodecname[0] == NULL)
uiDefBut(block, LABEL, 0, "Codec: not set.", 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
else
uiDefBut(block, LABEL, 0, avicdname, 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
uiDefBut(block, LABEL, 0, G.scene->r.avicodecdata->avicodecname, 892,yofs+42,225,20, 0, 0, 0, 0, 0, "");
#endif
uiDefBut(block, BUT,B_SELECTCODEC, "Set codec", 892,yofs,112,20, 0, 0, 0, 0, 0, "Set codec settings for AVI");
}