Implement save benchmark operator
This commit is contained in:
@@ -604,7 +604,8 @@ class BENCHMARK_OT_save(bpy.types.Operator):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
print("Saving to " + self.filepath)
|
with open(self.filepath, "w") as f:
|
||||||
|
f.write(json.dumps(global_result_dict, sort_keys=True, indent=2))
|
||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|
||||||
def invoke(self, context, event):
|
def invoke(self, context, event):
|
||||||
|
Reference in New Issue
Block a user