From 742b4ed18433be96db180477e5bf871dcd67e2db Mon Sep 17 00:00:00 2001 From: Brandon Runnels Date: Tue, 21 Nov 2023 15:14:29 -0700 Subject: [PATCH] workflows --- .github/workflows/blender_install.sh | 2 ++ .github/workflows/linux.yml | 2 +- bleMD/bleMDUtils.py | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/blender_install.sh diff --git a/.github/workflows/blender_install.sh b/.github/workflows/blender_install.sh new file mode 100644 index 0000000..584cd0a --- /dev/null +++ b/.github/workflows/blender_install.sh @@ -0,0 +1,2 @@ +set -eu -o pipefail +blender -b --python scripts/install.py diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 87a3393..2045b1e 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -13,4 +13,4 @@ jobs: - name: package add-on run: make - name: install blender plugin - run: blender -b --python scripts/install.py + run: bash .github/workflows/blender_install.sh diff --git a/bleMD/bleMDUtils.py b/bleMD/bleMDUtils.py index 3ff40d6..b95cb57 100644 --- a/bleMD/bleMDUtils.py +++ b/bleMD/bleMDUtils.py @@ -22,6 +22,10 @@ def resetDefaultsForMD(): if space.type == "VIEW_3D": space.clip_end = 100000000000 + # Set up the World to + bpy.data.worlds["World"].node_tree.nodes["Background"].inputs[0].default_value = (1, 1, 1, 1) + + # # KEY SUBROUTINE 1/2 # Opens Ovito and does basic communication with dump fil