From 39ac36efda1f7c7b446886cf2508518f06e132ba Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Thu, 1 Nov 2012 22:08:18 +0100 Subject: Fixed syntax error in Blender script --- tools/blender-scripts.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'tools') diff --git a/tools/blender-scripts.py b/tools/blender-scripts.py index 6591393..ed515b4 100644 --- a/tools/blender-scripts.py +++ b/tools/blender-scripts.py @@ -38,10 +38,7 @@ class ColobotVertex: return 1 def __eq__(self, other): - return fuzzy_equal_v(self.coord, other.coord) and - fuzzy_equal_v(self.normal, other.normal) and - fuzzy_equal_v(self.t1, other.t1) and - fuzzy_equal_v(self.t2, other.t2) + return fuzzy_equal_v(self.coord, other.coord) and fuzzy_equal_v(self.normal, other.normal) and fuzzy_equal_v(self.t1, other.t1) and fuzzy_equal_v(self.t2, other.t2) class ColobotMaterial: """Material as saved in Colobot model file""" @@ -56,11 +53,7 @@ class ColobotMaterial: return 1 def __eq__(self, other): - return fuzzy_equal_v(self.diffuse, other.diffuse) and - fuzzy_equal_v(self.ambient, other.ambient) and - fuzzy_equal_v(self.specular, other.specular) and - self.tex1 == other.tex1 and - self.tex2 == other.tex2 + return fuzzy_equal_v(self.diffuse, other.diffuse) and fuzzy_equal_v(self.ambient, other.ambient) and fuzzy_equal_v(self.specular, other.specular) and self.tex1 == other.tex1 and self.tex2 == other.tex2 class ColobotTriangle: """Triangle as saved in Colobot model file""" -- cgit v1.2.3-1-g7c22