drawview.c - Passepartout, only do GL alpha when not 1.0 alpha

buttons_editing.c - negative camera lense was possible with (Deg) button enabled
export_cal3d.c - minor changes
object_batch_name_edit.py - check for data and object libdata before renaming.
This commit is contained in:
2007-04-26 19:05:22 +00:00
parent 71ac221ea3
commit 2e134e84ab
4 changed files with 36 additions and 34 deletions

View File

@@ -47,7 +47,7 @@ import bpy
global renameCount
renameCount = 0
obsel = bpy.data.scenes.active.objects.context
obsel = [ob for ob in bpy.data.scenes.active.objects.context if not ob.lib]
def setDataNameWrapper(ob, newname):
if ob.getData(name_only=1) == newname:
@@ -55,7 +55,7 @@ def setDataNameWrapper(ob, newname):
data= ob.getData(mesh=1)
if data:
if data and not data.lib:
data.name= newname
return True
return False
@@ -71,7 +71,7 @@ def main():
return # Alredy the same name, dont bother.
data = ob.getData(mesh=1) # use mesh so we dont have to update the nmesh.
if data:
if data and not data.lib:
data.name = ob.name