diff engine/core/view/visual.cpp @ 57:47979f9dce55

add possibility to hide instances/instance visuals; initialize instance visuals properly
author spq@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 14 Jul 2008 14:41:12 +0000
parents 90005975cdbb
children 8fa2f3aa0cbd
line wrap: on
line diff
--- a/engine/core/view/visual.cpp	Sun Jul 13 23:15:32 2008 +0000
+++ b/engine/core/view/visual.cpp	Mon Jul 14 14:41:12 2008 +0000
@@ -41,7 +41,7 @@
 
 	static Logger _log(LM_VIEW);
 	
-	Visual2DGfx::Visual2DGfx(): m_transparency(0) {
+	Visual2DGfx::Visual2DGfx(): m_transparency(0), m_visible(true) {
 	}
 	
 	Visual2DGfx::~Visual2DGfx() {