#7744 NORM Future : Rotated morph loses rotation on save

K. K. Subramaniam subbukk at gmail.com
Mon Aug 4 01:37:48 EDT 2008


On Friday 01 Aug 2008 8:22:01 pm Zarro Boogs per Child wrote:
>  I'm not sure this is a bug and not a feature ... It's easy enough to
>  rotate a morph when brought into another project?
Rotation center is saved in the file but not the rotation value itself. So how 
would the code loading the morph know how much to rotate?

If a morph is embedded in another morph, the submorph's rotation does get 
restored when the owner morph is loaded from file. I realize why this happens 
but the result is not consistent.

This raises a deeper question. Are rotation and scaling an inherent, 
persistent property of the morph (like color or extent) or a transient 
property (like its origin or owner). If the latter, then why should a flex 
wrapper persist after the rotation/scaling is ended? We could use a single 
rubberband handle to rotate/scale and cache (heading,scale,graphic) in an 
extension.

Subbu



More information about the Devel mailing list