Initial implementation of blender benchmark addon
Just some glue logic to query progress and results from benchmark. Needed to move files around, so oth standalone and addon are happy.
This commit is contained in:
@@ -6,8 +6,8 @@ import subprocess
|
||||
import sys
|
||||
|
||||
# Usually comes from third_party
|
||||
import cpuinfo
|
||||
import cpu_cores
|
||||
from .third_party import cpuinfo
|
||||
from .third_party import cpu_cores
|
||||
|
||||
|
||||
def _getBlenderDeviceInfo(ctx):
|
||||
@@ -38,7 +38,7 @@ def getBlenderVersion(ctx):
|
||||
"build_commit_date",
|
||||
"build_commit_time",
|
||||
"build_hash")
|
||||
command = [ctx.blender, "--version"]
|
||||
command = [ctx.blender, "--background", "--version"]
|
||||
process = subprocess.Popen(command,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT)
|
||||
|
Reference in New Issue
Block a user