TEXGROUP always disabled



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/02/2005 at 06:51, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.100 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hello,
    if i insert a TEXGROUP in my CONTAINER the TEXGROUP is disabled. How can i enable the TEXGROUP?

    Torsten



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 01/03/2005 at 22:44, xxxxxxxx wrote:

    Hello,
    ok, now my TEXGROUP is enabled. I allocate a BaseChannel and in Init() assign it to a TexGroupStruct.

      
    ...  
    AutoAlloc<BaseChannel> bc;  
    ...  
      
    Bool MyObject::Init(GeListNode *node)  
    {  
         ....  
         if(bc)  
         {       
              AutoAlloc<TexGroupStruct> texstruct;  
              texstruct->Init(bc);  
              if(!data->SetData(MYTEXGROUP, GeData(CUSTOMDATATYPE_TEXGROUP , texstruct) ))  
              {     return false;  
              }  
         }  
         ....  
    }  
    

    The TEXGROUP is enabled and i can select images and shaders. But, when i save these changes and reload the scene, these changes are lost.
    Why? Do i have to do saving myself?

    Torsten


Log in to reply