Cosmetic refactoring and variable inits

This commit is contained in:
Tats
2014-06-23 18:30:49 -04:00
parent 0748eda051
commit 4a4b1f05b2
3 changed files with 19 additions and 12 deletions
+2 -1
View File
@@ -223,7 +223,8 @@ void EllipseColorMapper::drawControls(QPainter* painter)
TextureMapper::TextureMapper(std::tr1::shared_ptr<TextureMapping> mapping)
: Mapper(mapping)
: Mapper(mapping),
_meshItem(NULL)
{
// Assign members pointers.
textureMapping = std::tr1::static_pointer_cast<TextureMapping>(_mapping);