THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/11/2003 at 08:51, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;
---------
I am evaluating an in-exclude list in my Draw function in my object plugin but encounter a problem. I get the objects correctly but my draw function does not update correctly when I move the objects of the in-exclude list. I most of the time need to rotate the view to let my draw function update. Here is a snipped of code:
InExcludeData *inex;
LONG xcnt=0;
InclusionTable* itable=NULL;
inex = (InExcludeData* )data->GetCustomDataType(INFORM_PLACE_1, CUSTOMDATATYPE_INEXCLUDE_LIST);
if(inex && inex->GetObjectCount()!=0)
{
itable = inex->BuildInclusionTable(doc,0);
xcnt = itable->GetObjectCount();
for(LONG n=0;n<xcnt;n++)
{
BaseObject* temp = (BaseObject* )itable->GetObject(n); if(!temp) continue;
PolygonObject *active = (PolygonObject* )GetDeformedObject(ToPoly(temp),doc);
//NOW I AM DRAWING STUFF
}
Any idea what might help?
Thanks