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:
-rw-r--r--config/linux2-config.py2
-rw-r--r--release/scripts/export_fbx.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/linux2-config.py b/config/linux2-config.py
index 22210f0218d..b0c989f1b5c 100644
--- a/config/linux2-config.py
+++ b/config/linux2-config.py
@@ -13,7 +13,7 @@ def py_version_string():
return '%d.%d' % (ver[0], ver[1])
BF_PYTHON = '/usr'
-BF_PYTHON_VERSION = get_py_version_string()
+BF_PYTHON_VERSION = py_version_string()
WITH_BF_STATICPYTHON = False
BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}'
diff --git a/release/scripts/export_fbx.py b/release/scripts/export_fbx.py
index 0a38d63049d..707ab9ebbb7 100644
--- a/release/scripts/export_fbx.py
+++ b/release/scripts/export_fbx.py
@@ -1002,7 +1002,7 @@ def write(filename, batch_objects = None, \
#eDIRECTIONAL
#eSPOT
light_type = light.type
- if light_type > 3: light_type = 0
+ if light_type > 2: light_type = 1 # hemi and area lights become directional
mode = light.mode
if mode & Blender.Lamp.Modes.RayShadow or mode & Blender.Lamp.Modes.Shadows: