Skip to content

Commit

Permalink
Preliminary Version 4.0 Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nerk987 committed Nov 26, 2023
1 parent 1091815 commit d9a2df0
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 355 deletions.
2 changes: 1 addition & 1 deletion FishSim.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#
# ##### END GPL LICENSE BLOCK #####

# version comment: V0.3.2 - Goldfish Version - Blender 2.81
# version comment: V4.00.0 - Goldfish Version - Blender 4.00

import bpy
import mathutils, math, os
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# FishSim - 2.81 Version
# FishSim - 4.00 Version

#### Fish Swimming Simulation
V0.3.2 Release for Blender 2.81
V4.00.0 Release for Blender 4.0

Addon Download : [FishSim.zip](https://github.com/nerk987/FishSim/releases/download/v0.3.2/FishSim.zip)
Eevee Goldfish Model Download : [GoldFish28.zip](https://github.com/nerk987/FishSim/releases/download/v0.3.0/GoldFish28.zip)
Addon Download : [FishSim_4_00_0.zip](https://github.com/nerk987/FishSim/releases/download/v4.00.0/FishSim_4_00_0.zip)
Eevee Goldfish Model Download : [GoldFish40.zip](https://github.com/nerk987/FishSim/releases/download/v4.00.0/GoldFish40.zip)


## New in This Release
v4.00.0
Release for Blender 4.00 - new bone collections

v0.3.2
Release for Blender 2.81 - adapting to a few more bone name changes in Rigify

Expand Down
14 changes: 7 additions & 7 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
#
# ##### END GPL LICENSE BLOCK #####

# version comment: V0.3.2 - Goldfish Version - Blender 2.81
# version comment: V4.00.0 - Goldfish Version - Blender 4.00

bl_info = {
"name": "FishSim",
"author": "Ian Huish (nerk)",
"version": (0, 3, 2),
"blender": (2, 81, 0),
"version": (4, 00, 0),
"blender": (4, 00, 0),
"location": "Toolshelf>FishSim",
"description": "Apply fish swimming action to a Rigify Shark armature",
"warning": "",
Expand Down Expand Up @@ -54,7 +54,7 @@
# print(sys.modules[bpy.types.DATA_PT_rigify_buttons.__module__].__file__)

def add_preset_files():
presets = bpy.utils.user_resource('SCRIPTS', "presets")
presets = bpy.utils.user_resource('SCRIPTS', path="presets")
mypresets = os.path.join(presets, "operator\\fishsim")
if not os.path.exists(mypresets):
os.makedirs(mypresets)
Expand Down Expand Up @@ -122,9 +122,9 @@ def execute(self, context):
bound_box.name = TargetRoot["TargetProxy"]
bound_box.display_type = 'WIRE'
bound_box.hide_render = True
bound_box.cycles_visibility.camera = False
bound_box.cycles_visibility.diffuse = False
bound_box.cycles_visibility.shadow = False
bound_box.visible_camera = False
bound_box.visible_diffuse = False
bound_box.visible_shadow = False
bound_box["FSim"] = "FSim_"+TargetRig.name[:3]
# if "FSim" in bound_box:
# print("FSim Found")
Expand Down
Loading

0 comments on commit d9a2df0

Please sign in to comment.