Skip to content

Commit

Permalink
fix: 生成された画像は ignore しないように -f を付加
Browse files Browse the repository at this point in the history
  • Loading branch information
nrysk committed Oct 21, 2024
1 parent 037c536 commit 23f4ce5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git checkout -b output
git add output.png
git add -f output.png
git commit -m "Add output.png"
git push origin output
Expand Down
2 changes: 1 addition & 1 deletion add.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
bpy.context.collection.objects.link(obj)

# カメラ
bpy.ops.object.camera_add(location=(10, -20, 30), rotation=(math.pi / 4, 0, 0))
bpy.ops.object.camera_add(location=(10, -25, 30), rotation=(math.pi / 4, 0, 0))
bpy.context.object.data.ortho_scale = 20
bpy.context.scene.camera = bpy.context.object

Expand Down

0 comments on commit 23f4ce5

Please sign in to comment.