Nullobject returned?



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

    On 19/05/2004 at 08:06, xxxxxxxx wrote:

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

    ---------
    I have a generator. It works perfectly. I put a polyobject underneath it and my gen returns a splineobject. Ok.
    But sometimes my generator returns a Null-object with the splineobject as its child. It does this on its own!!! I never created a null-object in my code anywhere. I noticed this several times but have no clue why this happens.
    Does anybody know why? The polygonobject is not deformed by any other object nor is it animated in any way.
    Thank you
    Samir



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

    On 20/05/2004 at 04:22, xxxxxxxx wrote:

    If it's the generator that does it by itself, couldn't you just ask it why? ;-)
    Does it happen even if there's only the generator and the polygon object in the scene?



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

    On 20/05/2004 at 05:18, xxxxxxxx wrote:

    Lol, if it´d that easy. Yes, it happens even if there´s only the generator and the polygonobject in the scene. I create a new scene and even create a new instance of the generator. Then I add the polygonobject and it still creates a null-object. I have noooooooooooooooooooooo clue why it does so. I looked at the polygonobject for I thought this one might be corrup in any way but it´s a simple polygonobject with 400 points. No empty polygons, all points used, all normals aligned correctly... I get crazy :)
    And checking for a null-object at the very end of the generator code (so one line before returning the splineobject), doesn´t tell me either. He actually does return a spline-object.
    It´s weird :(


Log in to reply