Quantcast

Disable intersect checking in Bar and Histogram modules since it's very likely broken atm.

Scott Sibley [07-31-11 - 10:15]
Disable intersect checking in Bar and Histogram modules since it's very likely broken atm.
Filename
Modules/Bars/Bars.lua
Modules/Histograms/Histograms.lua
diff --git a/Modules/Bars/Bars.lua b/Modules/Bars/Bars.lua
index fd93175..0db9a98 100644
--- a/Modules/Bars/Bars.lua
+++ b/Modules/Bars/Bars.lua
@@ -199,8 +199,7 @@ local optionsDefaults = {
 local intersectTimer
 local intersectUpdate = function()
 	for i, w in ipairs(widgets) do
-		assert(type(w.IntersectUpdate) == "function", "widget.IntersectUpdate should be a function.")
-		w:IntersectUpdate()
+		--w:IntersectUpdate()
 	end
 end

diff --git a/Modules/Histograms/Histograms.lua b/Modules/Histograms/Histograms.lua
index 3655e6a..ef91ceb 100644
--- a/Modules/Histograms/Histograms.lua
+++ b/Modules/Histograms/Histograms.lua
@@ -200,7 +200,7 @@ local optionsDefaults = {

 local intersectUpdate = function()
 	for i, w in ipairs(widgets) do
-		w:IntersectUpdate()
+		--w:IntersectUpdate()
 	end
 end