CompuServe Thread

#Selected Objects/Faces/V

3 messages in this thread
#90267From: Douglas HoltMar 10, 1994 12:44 AM
To anyone that knows, I've read in the R3 dev kit that 3D Studio currently does not properly update the flags field in the ItemMesh struct. This means that I cannot access selected objects! This is a major problem for me. Does anyone know if and when a fix will be delivered, and is that fix an incremental upgrade to 3DS itself? very worried… doug
#90314From: Jonas Ruikis [ADESK]Mar 10, 1994 8:32 AM
Doug, << will the flags bug be fixed soon? >> I don't know which bugs will be fixed or when. QA: answered Danny's similar question as follows: "I don't know about setting the flags. If I have time I could try it – I mean setting the flags myself (if selected, set flag to 1). Another work around could be getting something else in the ItemData structure and using it as a flag for selected objects. He could get the index of an object and save this in an array, or he could get the name and save it in an array of char*s or something. There would be some additional overhead, but I don't think it would be that big of a deal. /Jim" —————————————————— Hi Jonas, OK, so you can't set the flags variable of a mesh object…. Can you determine whether an object is selected? When I try to access 'idata.item.m.flags', all I get is zero. Does this mean that you can't access the flags at all? If that's the case, how can one determine whether objects in the editor are selected or not? I would like to be able to perform an operation on selected objects only. Something like: if( idata.type == 0 ){ if( idata.item.m.flags == MESH_SELECTED ){ do something; }else{ ignore this object; } } Thanks Jonas, Danny…
#90383From: [F] Grant Blaha [Adesk]Mar 10, 1994 2:00 PM
<<fix to mesh flags field>> The fix for the flags field would require an incremental update to 3DS itself. There are no projected dates for this, or even a projection to do it. Ciao, Grant