From 3a018d380395889059bf582015fb2935a9a20fb0 Mon Sep 17 00:00:00 2001
From: mihaf <miha.fosnaric@gmail.com>
Date: Thu, 27 Feb 2014 14:55:13 +0000
Subject: [PATCH] Bug found and removed: polys now also translated when origin moves to the center of mass. All seems OK after firt testing. :)

---
 src/cell.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cell.c b/src/cell.c
index 246866b..97f2fe7 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -147,7 +147,7 @@
                 }
 // Now we check whether we didn't come close to some other vertices in the same
 // cell!
-                if(cell_occupation>1){
+                if(cell_occupation>0){
                     for(l=0;l<cell_occupation;l++){
 
 				//carefull with this checks!

--
Gitblit v1.9.3