missed updating reload scripts

This commit is contained in:
2010-01-28 17:50:50 +00:00
parent 6f4a26c9e0
commit ccfd67a8d0
2 changed files with 2 additions and 2 deletions

View File

@@ -411,7 +411,7 @@ class WM_OT_reload_scripts(bpy.types.Operator):
def execute(self, context):
MOD = type(bpy)
bpy.load_scripts(True)
bpy.utils.load_scripts(True)
return {'FINISHED'}

View File

@@ -795,7 +795,7 @@ static int paste_material_exec(bContext *C, wmOperator *op)
Material *ma= CTX_data_pointer_get_type(C, "material", &RNA_Material).data;
if(ma==NULL)
return;
return OPERATOR_CANCELLED;
paste_matcopybuf(ma);