查看单个帖子
旧 2009-05-05, 11:11 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】geometry cache problem

geometry cache problem
geometry cache problem
hi,
i've got a problem with geometry cache with release 1.13.05.
(in my app there's a tab for each layout like autcad and i want to cache devices)
try that in odamfc :
- open a drawing
- vectorize a layout (let it open)
- select a other layout (of the same drawing)
- vectorize the other layout.
then the first vectorized layout have cache but not the other...
regards...
please give me a tips...

only one layout can have geometry cache. multiple layouts can't have geometry cache simultaneously.
second layout doesn't get cache because oddbentity's gsnodes (oddbdrawable::gsnode()) are already busy with cache for first layout.
the best way to implement your scenario (tab for each layout like in autocad) is to destroy the gs device for old tab layout when new layout is selected.
sincerely yours,
george udov
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)