Merge branch 'numpy_chunk' of https://github.com/joemarshall/blendercam into numpy_chunk

pull/258/head
Joe Marshall 2024-01-26 21:57:46 +00:00
commit d50ccdac05
3 zmienionych plików z 19 dodań i 0 usunięć

Wyświetl plik

@ -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()

Wyświetl plik

@ -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

Wyświetl plik

@ -1,5 +1,8 @@
import bpy
import sys
import warnings
warnings.simplefilter("once")
# Get the scene
s = bpy.context.scene