Anim8or Community

General Category => Anim8or v0.98 Discussion Forum => Topic started by: NickE on April 26, 2014, 09:49:34 am

Title: Materials Reference lost after using "Mesh Parameters" dialog box
Post by: NickE on April 26, 2014, 09:49:34 am
In Object Editor, if a textured mesh is double-clicked to bring up the "Mesh Parameters" dialog box, when the "OK" button is clicked, the mesh loses references to its materials.  The UV coordinates are not lost, but the mesh's face references to individual materials are lost.

I first noticed this in Build 1086 and it persists in Build 1088.

A close look at the an8 file before and after shows that the "materiallist" has had the materials removed (leaving only the {" -- default --"}. Further, in the "faces" section, individual references to the materials are set to zero.  The materials are still in the object, just no longer associated with the mesh.

Thank you for continuing development on Anim8or.  I have been using it continuously since 2007.

I am especially looking forward to more ASL development.

Title: Re: Materials Reference lost after using "Mesh Parameters" dialog box
Post by: Steve on April 26, 2014, 01:06:59 pm
Sounds like something that needs fixing :-) But I'm having trouble reproducing the problem. Are you using a complex material of just a simple diffuse color? Are there multiple materials? What, if anything, do you do besides double click to open the dialog and then click on "OK"?

Also, are there any particular things that you'd like to see in ASL?
Title: Re: Materials Reference lost after using "Mesh Parameters" dialog box
Post by: NickE on April 26, 2014, 01:18:05 pm
Steve,
   I have attached an an8 file and a texture jpg.  Once the file is opened, simply double clicking the mesh (battery model) to open the "Mesh Properties" dialog, then clicking "OK" will clear the materials.  I get the same results whether I alter any of the properties or not.

As far as ASL is concerned, I am still testing the newest capabilities.  If you don't mind, I will reserve my ASL wish list for another post so I can put my thoughts together as clearly as possible.

Thank you so much!
Title: Re: Materials Reference lost after using "Mesh Parameters" dialog box
Post by: Steve on April 26, 2014, 04:38:36 pm
Thanks, I can reproduce the problem with your example. The ones I make don't show the problem even when I try to mimic your model. I hope to have this fixed shortly.
Title: Re: Materials Reference lost after using "Mesh Parameters" dialog box
Post by: Steve on April 26, 2014, 05:45:54 pm
Fixed: #098-009 - Materials disappear after viewing properties dialog.

Here's a copy for you to test if you like. There are some other changes that haven't been fully implemented or tested yet so this is not for general use. It's build 1089* dated April 26, 2014, with the "*" to indicate that some new parts aren't fully tested: http://www.anim8or.com/download/preview/files/animcl1089.zip (http://www.anim8or.com/download/preview/files/animcl1089.zip)
Title: Re: Materials Reference lost after using "Mesh Parameters" dialog box
Post by: NickE on April 26, 2014, 05:57:48 pm
Thank you, Steve.  It seems to have cleared the bug.