apply UserPrefs and Theme rna naming changes.

This commit is contained in:
2010-08-17 13:14:41 +00:00
parent 9dd43244a2
commit 7a31417f50
18 changed files with 191 additions and 186 deletions

View File

@@ -77,7 +77,7 @@ def add_object_data(context, obdata, operator=None):
bpy.ops.object.mode_set(mode='EDIT')
else:
scene.objects.active = obj_new
if context.user_preferences.edit.enter_edit_mode:
if context.user_preferences.edit.use_enter_edit_mode:
bpy.ops.object.mode_set(mode='EDIT')
return base