| 1996 | } |
| 1997 | |
| 1998 | bool Tr2GrannyAnimation::IsInitialized() const |
| 1999 | { |
| 2000 | if( IsUsingCMF() ) |
| 2001 | { |
| 2002 | return m_baseLayer.m_sequencer != nullptr; |
| 2003 | } |
| 2004 | #if WITH_GRANNY |
| 2005 | else |
| 2006 | { |
| 2007 | return m_baseLayer.m_modelInstance != nullptr; |
| 2008 | } |
| 2009 | #else |
| 2010 | else |
| 2011 | { |
| 2012 | return false; |
| 2013 | } |
| 2014 | #endif |
| 2015 | } |
| 2016 | |
| 2017 | void Tr2GrannyAnimation::AddAnimationLayer( const char* layerName, float layerWeight ) |
| 2018 | { |
no test coverage detected