Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: Materials Reference lost after using "Mesh Parameters" dialog box  (Read 2034 times)

NickE

  • Full Member
  • ***
  • Posts: 157
    • View Profile

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.

Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1525
    • View Profile
Re: Materials Reference lost after using "Mesh Parameters" dialog box
« Reply #1 on: April 26, 2014, 05: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?
Logged

NickE

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: Materials Reference lost after using "Mesh Parameters" dialog box
« Reply #2 on: April 26, 2014, 05: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!
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1525
    • View Profile
Re: Materials Reference lost after using "Mesh Parameters" dialog box
« Reply #3 on: April 26, 2014, 08: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.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1525
    • View Profile
Re: Materials Reference lost after using "Mesh Parameters" dialog box
« Reply #4 on: April 26, 2014, 09: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
Logged

NickE

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: Materials Reference lost after using "Mesh Parameters" dialog box
« Reply #5 on: April 26, 2014, 09:57:48 pm »

Thank you, Steve.  It seems to have cleared the bug.
Logged