adding a python function for cleaning strings (for filenames and export names) BPySys.py - used fotr obj and fbx export.

view.c - missed one smoothview/camera.
Brigg's hide object patch didnt change the object selection flag, other minor changes also.
This commit is contained in:
2007-04-19 20:58:09 +00:00
parent f5a40315ca
commit 60b3268c32
5 changed files with 62 additions and 37 deletions

View File

@@ -43,6 +43,7 @@ will be exported as mesh data.
import Blender
import BPyMesh
import BPySys
import BPyMessages
import time
from math import degrees
@@ -60,8 +61,7 @@ def sane_name(name, dct):
except: pass
orig_name = name
for ch in ' /\\~!@#$%^&*()+=[];\':",./<>?\t\r\n':
name = name.replace(ch, '_')
name = BPySys.cleanName(name)
dct[orig_name] = name
return name