|
From: Stefan H. <st...@to...> - 2005-09-10 10:55:05
|
Under QD3D it's possible to write multiple viewhints to the same file (e.g. the QD3D viewer's camera menu adds cameras from multiple viewhints). In Quesa E3FFW_3DMF_StartFile (E3FFW_3DMFBin_Writer) always writes the header (kQ3ObjectType3DMF). In my case (writing the current view, then writing several additional viewhints from another views to the same file), this behavior is wrong. In my case changing the first line in E3FFW_3DMF_StartFile to TQ3Status status = fileFormatPrivate->baseData.currentStoragePosition > 0 ? kQ3Success : E3FFW_3DMF_TraverseObject (theView, fileFormatPrivate, NULL, kQ3ObjectType3DMF, fileFormatPrivate); solves the problem. Stefan __________ www.topoi.ch |