About Store Forum Documentation Contact



Post Reply 
Material error
Author Message
Harry Offline
Member

Post: #1
Material error
Why I have this error? It showed when I downloaded the latest version of the engine.

sta->mesh->part(i).material[0]==Materials(...)

'EE::MeshPart::material': function call missing argument list; use '&EE::MeshPart::material' to create a pointer to member
(This post was last modified: 12-24-2009 01:29 PM by Harry.)
12-24-2009 01:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Masterxilo Offline
Member

Post: #2
RE: Material error
MeshPart::material is (now?) a function, you'll have to do:

sta->mesh->part(i).material(0)==Materials(...)

System: Windows 7 Ultimate 64 bit, Q6600 2.4 GHZ, 4GB RAM, nVidia GeForce 260 GTX 896 MB DDR3

Visit my site: hurricane-eye.webs.com
And read my blog: hurricane-eyeent.blogspot.com
12-24-2009 02:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Harry Offline
Member

Post: #3
RE: Material error
Oh thanks a lot smile [ and ( looks almost the same so when I looked in header I didn't see a difference. Merry Christmas grin
12-24-2009 02:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply