Menu

#8 Max 9 helper crash

closed
None
5
2007-09-27
2007-08-26
No

OSGExp crashes in Max 9 when trying to use any helper object. The following patch seems to fix the problem. I tried the patch with Max 8 and it doesn't seem to break anything.

Discussion

  • Farshid Lashkari

     
  • Joran Jessurun

    Joran Jessurun - 2007-09-24

    Logged In: YES
    user_id=1343317
    Originator: NO

    Any idea why the OSGHelperDesc.MakeAutoParamBlocks(this) line let's Max 9 crash?

     
  • Farshid Lashkari

    Logged In: YES
    user_id=760073
    Originator: YES

    The documentation mentioned that calling MakeAutoParamBlocks() will internally call CreateParameterBlock2(), which all the helpers classes are calling explicitly in their constructors. I'm not sure why, but this unnecessary call was causing Max 9 to crash. The documentation actually mentioned that you should really be calling MakeAutoParamBlocks, and not CreateParameterBlock2. Here is the documentation page where I found this information:

    http://sparks.discreet.com/knowledgebase/sdkdocs_v8/prog/main/sdk_data_paramblocks2_creating.html

     
  • Joran Jessurun

    Joran Jessurun - 2007-09-27
    • assigned_to: nobody --> j0ran
    • status: open --> closed