Menu

#4 Fix GPS in models, string table

open
nobody
None
5
2010-07-06
2010-07-06
Nore
No

Add kNodeAnimateInhibit flag to PSystem node and sub node to allow PSystem to be part of an animated model
Support string table for ParticleSystemObject settings

Discussion

  • Nore

    Nore - 2010-07-06

    patch file for GenericParticleSystem.*

     
  • Dmitrijs Belovs

    Dmitrijs Belovs - 2010-07-14

    You have overriden this line
    stageSystem->SetNodeFlags(kNodeCloneInhibit | kNodeNonpersistent | (GetNodeFlags() & kNodeDisabled ? kNodeDisabled : 0) ); incorrectly.

    Without kNodeCloneInhibit it won't work in some modes. (in references and I think it will crash with registered Models too)

     
  • Nore

    Nore - 2010-07-14

    It is not exactly overriden since the original line is always here

    // your original line
    stageSystem->SetNodeFlags(kNodeCloneInhibit | kNodeNonpersistent | (GetNodeFlags() & kNodeDisabled ? kNodeDisabled : 0) );
    // added line
    stageSystem->SetNodeFlags(stageSystem->GetNodeFlags() | C4::kNodeAnimateInhibit);

    I use GetNodeFlags() to keep previously set flags and add C4::kNodeAnimateInhibit
    which is the same things than

    stageSystem->SetNodeFlags(kNodeCloneInhibit | kNodeNonpersistent | (GetNodeFlags() & kNodeDisabled ? kNodeDisabled : 0) | C4::kNodeAnimateInhibit);
    ... but more merge-friendy

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.