Your Freeze Transform script works.clintonman wrote: ↑20 Mar 2020, 20:05 Sure, here's another note.
The shear tool effects disappear if the item is animated.
Maybe I should add a button to freeze it?
Your Freeze Transform script works.clintonman wrote: ↑20 Mar 2020, 20:05 Sure, here's another note.
The shear tool effects disappear if the item is animated.
Code: Select all
var sel = Node.FirstSelected()
if(!Node.ConExists(sel, "Matrix")) {
params.SetTerminationFlag();
return;
}
if(Node.IsCamera(sel) || Node.IsLight(sel)) {
params.SetTerminationFlag();
return;
}
if(Node.ConExists(sel,"Selection")) MeshModifiers.DuplicateSelection('');
if(!Node.ConExists(sel,"Selection"))
var copy = Node.Copy(sel,'');
Space.Select(copy);
MeshModifiers.MirrorSelection('');
Code: Select all
var auto = params.ConValue('auto');
if(auto)
{
RsAnim.SetKeyFrame(Node.FirstSelected(), RsTime.CurrentTime());
// if(Node.Exists("Scripts/CustomCommands/KeyInterp"))
// Activity.Run("Scripts/CustomCommands/KeyInterp/copyDefaultInterp");
}