CC :: Rebuild Curves
 1-18  19-21

Previous
Next
 From:  Michael Gibson
2776.19 In reply to 2776.15 
Hi pitrak,

> One thing I just noticed: when rebuilding a curve it changes
> to the current style. The script is probably from before
> 'styles'. Anyone knows how to change the script so it
> keeps its style?

It's not so easy to make the script handle this at the moment, but I have added some additional script methods for the next v2 release which will make it possible to adjust this in the next beta.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2776.20 In reply to 2776.17 
Hi Petr, re: Lock - actually what happens in this case is the rebuild command locks the input objects, and if that object is then deleted with a call to moi.geometryDatabase.removeObjects() it will get recorded on the undo stack with that locked property set.

So this can be fixed by just unlocking the objects before they are deleted in RebuildCurve.js .


For the next v2 release I've also added some methods on factories so that it is easier to retrieve the objects that were generated and inserted into the geometry database with a regular factory update() call.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  tyglik
2776.21 In reply to 2776.20 
>> So this can be fixed by just unlocking the objects before they are deleted in RebuildCurve.js

I fixed that a few weeks ago and put the updated version there... -Petr
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-18  19-21