missed updating reload scripts
This commit is contained in:
@@ -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'}
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user