Change to text3d: When back or front is enabled, the bevel rim on the other side is not created anymore, just as the back/front filling faces are not created when disabled.

when both are off the behavior is unchanged.

This is needed when rendering alpha text so its possible to have a single layer of faces but use the bevel option to make text thicker.
adding a rim on the back when back is disabled also doesnt make much sense IMHO.

minor python edits too.
This commit is contained in:
2010-07-14 17:47:58 +00:00
parent fe958e647f
commit 8e3a9634a3
4 changed files with 56 additions and 50 deletions

View File

@@ -18,7 +18,8 @@ if "Cube" in bpy.data.meshes:
# write images into a file next to the blend
file = open(bpy.data.filepath.replace(".blend", ".txt"), 'w')
import os
file = open(os.path.splitext(bpy.data.filepath)[0] + ".txt", 'w')
for image in bpy.data.images:
file.write("%s %dx%d\n" % (image.filepath, image.size[0], image.size[1]))