MeshLoad

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

Post Reply
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

MeshLoad

Post by y offs et »

You have to remove the possibility of MeshLoad loading its parent. After you set this and then click the parent Mesh, it sets up an infinite loop.
"great expectations"
kattle87
Posts: 402
Joined: Wed Sep 26, 2007 9:06 am
Location: Italy

Post by kattle87 »

Actually, more than a bug, it was a feature used to create the recursive "tree" mesh. But I do agree that we must limit somehow the risk of the final user to set up such an infinite loop. Maybe some global counter that asks for the user if it's normal that he loaded a texture something like 20 times in a row?
In the fall of 1972 President Nixon announced that the rate of increase of inflation was decreasing. This was the first time a sitting president used the third derivative to advance his case for reelection.
-=Hugo Rossi=-
User avatar
VilleK
Site Admin
Posts: 2277
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

I have a test for this with the BitmapLoad-component so it makes sense to have one for MeshLoad as well. Of course this will not stop an infinite loop if Mesh1 and Mesh2 loads each other. The quick solution is to simply disallow self-loads at the moment and think of a more general solution in the long term to allow for intentionally recursive meshes/bitmaps.
Post Reply