Changes between Version 5 and Version 6 of Ticket #4480, comment 9


Ignore:
Timestamp:
Feb 14, 2017, 8:52:58 AM (7 years ago)
Author:
fatherbushido

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4480, comment 9

    v5 v6  
    66With the r19092 commit we have again after that a call to RegenrateSprites (I need to check why, perhaps something is faster or longer with this commit) with the old entity (the component is not yet destroyed) but it looks like the ownership is yet removed (owner set to -1).
    77
    8 So we update the different bar, for example the pack bar wich leads to a call to GetProgress and GetPackTime without cmpPlayer so we get (needs to check) undefined stuff and we call cmpOverlayRenderer.AddSprite with (needs to check) undefined params
     8So we update the different bar, for example the pack bar wich leads to a call to GetProgress and GetPackTime without cmpPlayer so we get (needs to check) undefined stuff and the call of cmpOverlayRenderer.AddSprite is broken.
    99
    1010So we have now keys to understand what happens and fix that. (a -without thinking- solution is for example to check that owner is different of -1 at top of RegenerateSprites).