From ec63c5500b8a4a595b88160a2147aaf20311ccad Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 13 Oct 2009 20:15:42 +0000 Subject: [PATCH] fix warn --- Post/PViewVertexArrays.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Post/PViewVertexArrays.cpp b/Post/PViewVertexArrays.cpp index e5a4ceb002..c212a9fa4b 100644 --- a/Post/PViewVertexArrays.cpp +++ b/Post/PViewVertexArrays.cpp @@ -948,7 +948,7 @@ static void addElementsInArrays(PView *p, bool preprocessNormalsOnly) } continue; } - if(numComp > 9){ + if((numComp > 9 && !opt->forceNumComponents) || opt->forceNumComponents > 9){ if(numCompError != numComp){ numCompError = numComp; Msg::Error("You should never draw views with > 9 values per node: use"); -- GitLab