toralf wrote: ↑
Fri May 24, 2019 9:37 am
I'm trying to get involved in the A2p WB.
Thank you for your interest on A2plus.
Handling of transparency is still a work in progress and there are some issues.
When FC doc gets saved with transpareny off, all is ok,
but when FC doc gets saved with transparency on and FC
is closed and on the next call the A2P assembly is opened
the toggle of transparency doesn't work any more.
When switching to transparent mode of an assembly, the original colors/transparency values are saved to internal python data structures for recovery purposes, what you have probably already found when looking at a2plib.py.
Saving and closing the doc in transparent mode deletes the recovery structures and therefore the original transparency values get lost. Unfortunately ATM i do not know a working solution to prevent that. When there is some time, this part of code will be reworked again. Additionaly there seem still to be some issue of FC when loading transparent objects. Sometimes objects are shown non transparent after loading although obj.ViewObject.Transparency has a transparent value.