高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】oddb3dsolid-rotate-move
oddb3dsolid->rotate->move
oddb3dsolid->rotate->move
hello
i used dd1.14.2 and made ddb3dsolid.
and i rotated oddb3dsolid.
i moved oddb3dsolid next.
however, oddb3dsolid did not move to a right position.
with odamfcappdll.exe, please try to move acdb3dsolid of an attached drawing.
thanking you in advance.
attached files
it is a bug in oddb3dsolid::transformby.
it will be fixed in the next release (either 1.15 or 1.14 maintenance, if it will be released)
vladimir
thank you
furthermore, i hope for the following revisions.
1.oddbregion::transformby,oddbbody::transformby was the same as oddb3dsolid, too.
2.rotate(or move) oddb3dsolid.
and i carry out explode.
a rotate, movement were not applied to a result.
1. oddbregion,oddbbody and oddb3dsolid share the same implementation.
2. 'explode' bug will be fixed, thanks for finding it.
vladimir
even further, i have a feeling that cloning an oddb3dsolid generates a second copy that somehow references the first graphics. modifying (transformby) the second objects graphics seems to affect the originals graphic as well.
hi,
please describe situation more detailed. is it possibly reproduce problem in mfcapp (some how) ? is some sample code available?
there was a bug in my own code, please forgive me.
i cloned the object, but when casting the resultant odrxobjectptr to an oddbentity, i managed to use the original object pointer rather than the clone ...
|