UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2841 model animation flickers...
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Engine
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    4. Useful
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2841 Item 2841] imported from sourceforge.net tracker on 2013-01-28 19:50:51

between deadX and deathX animation. the cause of the broken animation is: dead actor appears, EV_ACTOR_APPEAR - set animation for this le_t to dead%i in its think function - now a EV_ACTOR_DIE is sent directly after it, without ever calling R_AnimRun - and we are appending the death animation here. This happens if an actor that was not yet visible to us appears already dead


this will always show the effect of broken animations
just R_AnimChange(&le->as, le->model1, "death1"); directly followed by a R_AnimAppend(&le->as, le->model1, "dead1");
adding R_AnimRun(&le->as, le->model1, 100); in between those two calls fixes the issue

attempt to fix this bug was: http://ufoai.git.sourceforge.net/git/gitweb.cgi?p=ufoai/ufoai;a=object;h=4e0fbce27fb47b31e065e6127cb7a442881b3f2c

had to revert it in http://ufoai.git.sourceforge.net/git/gitweb.cgi?p=ufoai/ufoai;a=commit;h=78f996b119059b7d6837c680fa7643bf5f060677
===== Comments Ported from Sourceforge =====

====== tlh2000 (2011-04-17 18:14:48) ======


====== aduke1 (2011-11-26 21:53:44) ======

The priority was adjusted according to the "bug priority rules". See
http://ufoai.ninex.info/wiki/index.php/Bugs#Bug_Priorities
====== mcr2010 (2012-01-02 11:51:20) ======

IIRC there was another try to fix this issue, which did not work:
https://sourceforge.net/tracker/?func=detail&aid=3432348&group_id=157793&atid=805244

Here the commit:
http://ufoai.git.sourceforge.net/git/gitweb.cgi?p=ufoai/ufoai;a=commit;h=20216f17db1599f2901c06fda32152b6bd70b906
====== mcr2010 (2012-01-13 22:42:29) ======

This hack fixes the issue for 2.4 and there should not be any regression:
http://ufoai.git.sourceforge.net/git/gitweb.cgi?p=ufoai/ufoai;a=commit;h=1f35a06fd076ceafb4a79c2405cc5e461958f095
====== mcr2010 (2012-01-27 10:20:02) ======

Setting to pending.
====== aduke1 (2012-09-17 21:40:18.862000) ======

- **status**: pending --> closed
- **milestone**: --> 2.0-RC2
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif