Jump to content
Search Community

Item lockScale property in XML

zwigger test
Moderator Tag

Recommended Posts

Hi,

I am setting individual lockScale properties in my Project for my different TransformItems and save this with exportFullXML.

After loading and applyFullXML, I am missing my set lockScale properties.

Is there an easy Solution to get them in the XML?

 

thanks

Link to comment
Share on other sites

okay – I got it!

just needed 2 additional lines in the TransformManager

 

i just added the following line in… public function exportItemXML:

xml.@lockScale = uint(item.lockScale);

 

and in… public function applyItemXML:

item.lockScale = Boolean(uint(xml.@lockScale));

 

rock on

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...