Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-05-06 01:51:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-05-06 01:51:54 +0400
commit4bc6749403f0b59c53637b60f936ddc8e0a66d10 (patch)
tree5d17263a7a05997214f25fa35163b76614829520 /release/scripts/DirectX8Exporter.py
parent2bce9ff1d10a54deffbf0937d5c48b5982f07f2f (diff)
[#18695] Replace python errors with useful messages when no full python installation is found
from Philipp Oeser (lichtwerk)
Diffstat (limited to 'release/scripts/DirectX8Exporter.py')
-rw-r--r--release/scripts/DirectX8Exporter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/DirectX8Exporter.py b/release/scripts/DirectX8Exporter.py
index b8bdae4de2b..8a0ecaf0eb7 100644
--- a/release/scripts/DirectX8Exporter.py
+++ b/release/scripts/DirectX8Exporter.py
@@ -45,7 +45,8 @@ from Blender import Types, Object, NMesh, Material,Armature,Mesh
from Blender.Mathutils import *
from Blender import Draw, BGL
from Blender.BGL import *
-import math
+try: import math
+except: math = None
global mat_flip,index_list,space,bone_list,mat_dict
global anim,flip_norm,swap_zy,flip_z,speed,ticks,no_light,recalc_norm,Bl_norm