problem when adding render resolution preset in userImageFormats.mel

problem when adding render resolution preset in userImageFormats.mel

begerdesign
Enthusiast Enthusiast
677 Views
3 Replies
Message 1 of 4

problem when adding render resolution preset in userImageFormats.mel

begerdesign
Enthusiast
Enthusiast

Hi,

 

I have a problem inside the rendersettings window when I add a new render resolution in userImageFormats.mel.

Take a look at the attachment.

 

The userImageFormats.mel script contains:

global string $gUserImageFormatData[] =
{
// name width height aspect ratio
// -----------------------------------------------
"4K_TV 3640 2160 1.778",

};

 

Any ideas?

 

Thanks

 

Thomas

0 Likes
678 Views
3 Replies
Replies (3)
Message 2 of 4

begerdesign
Enthusiast
Enthusiast

I found the mistake myself. No comma behind aspect ratio.

 

It has to be like this:

 

global string $gUserImageFormatData[] =
{
// name width height aspect ratio
// -----------------------------------------------
"4K_TV 3640 2160 1.778"

};

0 Likes
Message 3 of 4

mspeer
Consultant
Consultant

Hi!

 

Why is there a comma at the end of the line, i recommend to remove this.

"4K_TV 3640 2160 1.778",

 

0 Likes
Message 4 of 4

begerdesign
Enthusiast
Enthusiast

Thanks a lot for your reply. Meanwhile i have found the mistake myself.

 

Thomas

0 Likes