summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-11-01 22:08:18 +0100
committerPiotr Dziwinski <piotrdz@gmail.com>2012-11-01 22:08:18 +0100
commit39ac36efda1f7c7b446886cf2508518f06e132ba (patch)
tree47dfe4209c3970b9060b848cb69ebe420c59caaa /tools
parent3ce488307f5394e51ff006458a8245bdbd5e6bfa (diff)
downloadcolobot-39ac36efda1f7c7b446886cf2508518f06e132ba.tar.gz
colobot-39ac36efda1f7c7b446886cf2508518f06e132ba.tar.bz2
colobot-39ac36efda1f7c7b446886cf2508518f06e132ba.zip
Fixed syntax error in Blender script
Diffstat (limited to 'tools')
-rw-r--r--tools/blender-scripts.py11
1 files changed, 2 insertions, 9 deletions
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"""