Negative Values for cropping in output module doesnt work

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
Drumper
Posts: 6
Joined: November 27th, 2010, 7:57 am

February 23rd, 2018, 1:08 am

Hi

I'm trying to add negative values to the cropping in the output module, but it doesnt works:
 

Code: Select all

var crop_data = {  
"Crop":true,  
"Crop Bottom":0,  
"Crop Left":-200,  
"Crop Right":-200,  
"Crop Top":0  
};  
app.project.renderQueue.item(1).outputModule(1).setSettings( crop_data );

ToolScript gives me an error, that this negative value doesnt work. But if i type the exact same negative values manually into the crop settings it works. Any Idea what im doing wrong?
 
Thanks
Peter
Post Reply