Digital Art Zone

 
     
Script TypeError
Posted: 06 November 2012 06:11 AM   [ Ignore ]
New Member
Total Posts:  8
Joined  2009-05-31

Hi.  Could some tell me what I’m doing wrong here please?

var matrix DzMatrix4(1000001001000001);
Renderer.riTransform(matrix); 


I get the error message “TypeError: cannot call riTransform(): argument 1 has unknown type `DzMatrix4&’ (register the type with qScriptRegisterMetaType()) <anonymous>()@:82”.

Edit: Should probably have added I’m messing about with one of the render scripts.

Profile
 
 
Posted: 06 November 2012 11:03 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
Rank
Total Posts:  124
Joined  2003-10-09

You are missing the new operator.

var matrix = new DzMatrix4(1000001001000001); 

-Rob

 Signature 

- Documentation Center
- Install Manager
- DAZ Studio 4.x
- DSON Importer
- DSON File Format Specification

Profile
 
 
Posted: 06 November 2012 11:42 AM   [ Ignore ]   [ # 2 ]
New Member
Total Posts:  8
Joined  2009-05-31

Thanks.  I’ve just tried that and no change I’m afraid, same error message.

Profile