MVectorArray crash

MVectorArray crash

BurkhardRammner
Collaborator Collaborator
380 Views
1 Reply
Message 1 of 2

MVectorArray crash

BurkhardRammner
Collaborator
Collaborator

Hi,

 

I create heavy meshes and also add face vertex normals to them.

Unfortunately, Maya crashes when I fill the MVectorArray for the normals.

The array has a preallocated size of 301699332.

At index 122742440 the crash happens.

I have been testing the assignment operator (=) and also the 'set' method.

Both lead to the crash. Unfortunately, the MStatus return from 'set' does not work.

When I take as a control the 'vector<MVector>', all is fine!

 

Sooooo, what can I do?

 

0 Likes
381 Views
1 Reply
Reply (1)
Message 2 of 2

BurkhardRammner
Collaborator
Collaborator

Just to make it clear: this has nothing to do with meshes or normals, its just that the MVectorArray crashes when I try to fill it with data, even though its already preallocated...

0 Likes