kopia lustrzana https://github.com/vilemduha/blendercam
Merge branch 'numpy_chunk' of https://github.com/joemarshall/blendercam into numpy_chunk
commit
d50ccdac05
|
@ -62,6 +62,20 @@ jobs:
|
|||
with:
|
||||
path: blender
|
||||
key: ${{ matrix.os }}-${{ matrix.blender_version}}-blender
|
||||
- uses: openrndr/setup-opengl@v1.1
|
||||
if: runner.os == 'Linux'
|
||||
- name: Install 7zip
|
||||
run: choco install 7zip.install
|
||||
if: runner.os == 'Windows'
|
||||
- name: Install mesa for opengl software rendering in windows
|
||||
shell: cmd
|
||||
run: |
|
||||
curl.exe -L --output mesa.7z --url https://github.com/pal1000/mesa-dist-win/releases/download/20.3.2/mesa3d-20.3.2-release-msvc.7z
|
||||
"C:\Program Files\7-Zip\7z.exe" x mesa.7z
|
||||
mklink opengl32.dll "x64\opengl32.dll"
|
||||
mklink libglapi.dll "x64\libglapi.dll"
|
||||
working-directory: blender
|
||||
if: runner.os == 'Windows'
|
||||
- name: Make addon zip
|
||||
uses: thedoctor0/zip-release@0.7.5
|
||||
if: always()
|
||||
|
|
|
@ -18,6 +18,8 @@ class UpdateChecker(bpy.types.Operator):
|
|||
bl_options = {'REGISTER', 'UNDO'}
|
||||
|
||||
def execute(self, context):
|
||||
if bpy.app.background:
|
||||
return {"FINISHED"}
|
||||
last_update_check = bpy.context.preferences.addons['cam'].preferences.last_update_check
|
||||
today=date.today().toordinal()
|
||||
update_source = bpy.context.preferences.addons['cam'].preferences.update_source
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
import bpy
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
warnings.simplefilter("once")
|
||||
|
||||
# Get the scene
|
||||
s = bpy.context.scene
|
||||
|
|
Ładowanie…
Reference in New Issue