add NDEBUG to scons release flags + some pep8 cleanup for examples.

This commit is contained in:
Campbell Barton
2011-02-25 16:19:50 +00:00
parent b25db7c8cb
commit bc15e0e295
20 changed files with 34 additions and 33 deletions

View File

@@ -8,6 +8,7 @@ Custom properties can be added to any subclass of an :class:`ID`,
import bpy
# Assign a collection
class SceneSettingItem(bpy.types.PropertyGroup):
name = bpy.props.StringProperty(name="Test Prop", default="Unknown")
@@ -30,4 +31,4 @@ my_item.name = "Eggs"
my_item.value = 30
for my_item in bpy.context.scene.my_settings:
print(my_item.name, my_item.value)
print(my_item.name, my_item.value)