kopia lustrzana https://github.com/vilemduha/blendercam
Update image_utils.py
rodzic
163ed8ad44
commit
a10817f234
|
@ -1212,7 +1212,7 @@ def renderSampleImage(o):
|
||||||
print("Failed to Backup Scene Settings")
|
print("Failed to Backup Scene Settings")
|
||||||
|
|
||||||
i = bpy.data.images.load(iname)
|
i = bpy.data.images.load(iname)
|
||||||
bpy.context.scene.render.engine = 'BLENDERCAM_RENDER'
|
bpy.context.scene.render.engine = 'CNCCAM_RENDER'
|
||||||
|
|
||||||
a = imagetonumpy(i)
|
a = imagetonumpy(i)
|
||||||
a = 10.0 * a
|
a = 10.0 * a
|
||||||
|
|
Ładowanie…
Reference in New Issue