From 65d06b4577a37959b742c5ce42516d38f7074299 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 6 Dec 2005 10:18:33 +0000 Subject: [PATCH] From Farshid Lashkari, removed second redundent dirtyDisplayList() call. --- include/osg/Geometry | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/Geometry b/include/osg/Geometry index 762ec0f7a..44361a9ae 100644 --- a/include/osg/Geometry +++ b/include/osg/Geometry @@ -158,7 +158,7 @@ class OSG_EXPORT Geometry : public Drawable const ArrayData& getVertexData() const { return _vertexData; } - void setNormalBinding(AttributeBinding ab) { _normalData.binding = ab; dirtyDisplayList(); computeFastPathsUsed(); dirtyDisplayList(); } + void setNormalBinding(AttributeBinding ab) { _normalData.binding = ab; computeFastPathsUsed(); dirtyDisplayList(); } AttributeBinding getNormalBinding() const { return _normalData.binding; } void setNormalArray(Array* array) { _normalData.array = array; if (!_normalData.array.valid()) _normalData.binding=BIND_OFF; computeFastPathsUsed(); dirtyDisplayList(); }