Browse Source

no events on hidden object

ncannasse 10 years ago
parent
commit
8c893ca879
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/xtra/xtraExporter.ms

+ 1 - 1
tools/xtra/xtraExporter.ms

@@ -41,7 +41,7 @@ macroScript XtraExport Category:"Shiro" tooltip:"Add Extra Infos" buttontext:"XT
 		)
 		local eventsSet = false
 		for m in Geometry do (
-			if m.material == undefined or eventsSet then continue
+			if m.material == undefined or m.ishidden or eventsSet then continue
 			setProp m "Events" (evData + "</el>")
 			eventsSet = true
 		)