Arx Libertatis Bug Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #51  -  Alternate player appearances broken after loading savegames.
Posted Aug 01, 2011 - updated Feb 17, 2012   Shortlink: http://arx.vg/51
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Fixed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Fixed
  • Assigned to
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Daniel Scharrer
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Time spent
    369294 hours
  • Category
    Not determined
  • Resolution
    RESOLVED
  • Priority
    Not determined
  • Reproducability
    Not determined
  • Severity
    Normal
  • Targetted for
    icon_milestones.png Not determined
  • OS
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
  • Fixed in
    icon_customdatatype.png Not determined
Issue description
Sometimes after loading savegames, the alternate appearances in the new game screen all look the same.

This is because each TextureContainer used to have two different names (but now only one): - m_strName: The path of the actual loaded image. - m_texName: Used when searching for textures by name or checking if a texture is already loaded.

ARX_PLAYER_Restore_Skin only changed m_strName, so the texture was still found using the old m_texName

Optimal solution: use the correct texture when loading / creating / modifying the player mesh instead of replacing all uses of a texture with a specific name.

TODO: Check if other parts of the code made use of the two different names.
Steps to reproduce this issue
Nothing entered.

#2
icon_reply.pngReply
Comment posted by
 Daniel Scharrer
Aug 03, 18:22
Fixed in commit e21da956c6148d3b501f219521ebc328587fe6f5