Announcement

Collapse
No announcement yet.

Bug? Lost Material Custom Attrbiutes.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bug? Lost Material Custom Attrbiutes.

    Could someone please confirm this issue I'm having?

    When I save a VRAY material with a custom attribute to the material library, the custom attribute is lost.

    Here is a script to test with.
    Code:
    (
    -- Define simple Custom Attribute
    TestAtt = attributes TestAtt
    (
    parameters main rollout:LostWithVrayMaterial
    	( ImportantValue ui:Spin01 type:#float )
    rollout LostWithVrayMaterial "Custom Attribute loss Test Rollout"
    	( spinner Spin01 "This Custom Attribute will be lost." range:[0.0,1000.0,50.0] )
    )
    
    -- add custom Attribute to the material in the first slot.
    CustAttributes.add meditMaterials[1] TestAtt #Unique 
    )
    Set slot1 of the material editor to a V-ray material type.
    Execute this script and you should see a custom attribute add to the material in editor slot 1. Drag the material from material editor to a material library and back to the editor. The custom Attribute will be lost...

    This is not the case with Standard, Architectural or MentalRay materials.

    Max 8.3 / Vray 1.5rc

    Thanks in Advance !

    Keith Morrison
    Keithm@focus360.com
    Keith R Morrison
    focus360, Inc.
    Win10, 3DS Max 2021, V-ray 5.2.3

  • #2
    Hi Vlado,

    Any chance of this getting fixed soon? If not we will look into alternative methods. Though attributes on the materials is by far the most eloquent.

    Thanks,

    Eric
    Eric Boer
    Dev

    Comment


    • #3
      Thanks for the pointer, I'll take a look and I'll let you know if this can be fixed easily.

      Best regards,
      Vlado
      I only act like I know everything, Rogers.

      Comment


      • #4
        So this is an easy fix and I've already corrected it. This will go into the next RC, but you can email me if you wish to get it working before that.

        Best regards,
        Vlado
        I only act like I know everything, Rogers.

        Comment


        • #5
          Great News, Thanks Vlado.
          Eric Boer
          Dev

          Comment

          Working...
          X