![]() |
【转帖】problem with deleting oddbviewport object in version 1.14.01
problem with deleting oddbviewport object in version 1.14.01
problem with deleting oddbviewport object in version 1.14.01 hi to all, a problem occurs on deleting an oddbviewport object. by now the deleting is done in the following way: oddbviewportptr pviewport; //...get the viewport pviewport->erase(); //...update the derived odgsbasevectorizedevice object this code has no problems with the older version of the dwgdirect library. in the new version the viewport seems to be not properly deleted and it causes the application to crash. is there anything to be called to delete it correctly? maybe something to unregister it or to update the collection with all the viewports. thanks in advance, nino for example you can see the situation in the odamfcapp sample if you try to delete an oddbviewport object from the tree and you can notice an assert in the gsbasevectorizer.cpp. then switch to the relevant layout window and the application will crash. thanks for all suggestions, nino hi nino, yes, we can reproduce that. it's a bug. we'll fix it. hi dmitry, if the fix is something small, then is there a chance that you send me the source code fix through the mail? (i'm from the founding members). this bug tortures me too and i don't know when a new dwgdirect version would be released... thanks a lot in advance. best regards chudomir quote: originally posted by dmitry a. novikov hi nino, yes, we can reproduce that. it's a bug. we'll fix it. thanks. we hope it wiil be fixed in the next build. regards, nino chudomir, i sent you a letter with fix. sincerely yours, george udov |
所有的时间均为北京时间。 现在的时间是 11:01 AM. |