Ogre crash in Akulakhan's Chamber

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Ogre crash in Akulakhan's Chamber

Post by Zini »


Merged in master, kept animation.cpp the same since there are so many changes that were never integrated into master.
That doesn't really help that much. I don't know what exactly was changed, but these changes probably existed for a good reason.
When you open up a gui window animations keep on going. I had it set up before so it would stop when a gui window is open since this is what morrowind does. Why was this changed?
I think I remember what you are talking about here. You had your update function hooked up to the wrong function. It may update even in gui mode now, but at least it doesn't break semi-randomly. Suppressing the updates will need to be addressed eventually though.
jhooks1
Posts: 780
Joined: 06 Aug 2011, 21:34

Re: Ogre crash in Akulakhan's Chamber

Post by jhooks1 »

Made another commit, should be good now.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: Ogre crash in Akulakhan's Chamber

Post by Zini »

Got a bunch of warnings and compile errors again:
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp: In member function ‘void MWRender::Animation::handleShapes(std::vector<Nif::NiTriShapeCopy, std::allocator<Nif::NiTriShapeCopy> >*, Ogre::Entity*, Ogre::SkeletonInstance*)’:
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:122: warning: ‘>>’ operator will be treated as two right angle brackets in C++0x
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:122: warning: suggest parentheses around ‘>>’ expression
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:122: error: ‘verticesToChange’ was not declared in this scope
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:122: error: ‘*’ cannot appear in a constant-expression
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:122: error: an assignment cannot appear in a constant-expression
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:122: error: ‘>>’ should be ‘> >’ within a nested template argument list
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:137: warning: comparison between signed and unsigned integer expressions
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:180: warning: ‘>>’ operator will be treated as two right angle brackets in C++0x
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:180: warning: suggest parentheses around ‘>>’ expression
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:180: error: ‘::iterator’ has not been declared
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:180: error: ‘>>’ should be ‘> >’ within a nested template argument list
/home/marc/OpenMW/openmw/apps/openmw/mwrender/animation.cpp:104: warning: unused variable ‘useHandles’
make[2]: *** [apps/openmw/CMakeFiles/openmw.dir/mwrender/animation.cpp.o] Error 1
They were easy to fix though. No crashes for me. Merged into master.
User avatar
werdanith
Posts: 295
Joined: 26 Aug 2011, 16:18

Re: Ogre crash in Akulakhan's Chamber

Post by werdanith »

Works for me.
jhooks1
Posts: 780
Joined: 06 Aug 2011, 21:34

Re: Ogre crash in Akulakhan's Chamber

Post by jhooks1 »

Good, sorry about the warnings and errors.
Locked