|
From: SourceForge.net <no...@so...> - 2004-03-01 21:51:15
|
Bugs item #907877, was opened at 2004-03-01 21:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442052&aid=907877&group_id=45158 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dair Grant (grantd) Assigned to: Nobody/Anonymous (nobody) Summary: Custom attributes sometimes inaccessible Initial Comment: When I read a QD3D file containing a custom attribute in a loose set in a group then it is put somewhere where I cannot access it either by using Q3Shape_GetSet, nor by iterating through the group. e3read_3dmf_merge_element_set puts a pointer to my set in the group's instanceData->set, but Q3Shape_GetSet expects an attribute set which has an element of type kQ3ElementTypeSet, but it does not have this, its got a set with my data in it instead, so it returns a failure. Thus : TQ3Status E3Shape_GetSet(TQ3ShapeObject theShape, TQ3SetObject *theSet) { *theSet = NULL; return E3Object_GetElement( theShape, kQ3ElementTypeSet, theSet ); } Does the fault lie in E3Shape_GetSet or in e3read_3dmf_merge_element_set ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442052&aid=907877&group_id=45158 |