You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@ Want to try the FLIP Fluids addon before buying the [full marketplace product](h
9
9
10
10
### Getting Started
11
11
12
-
Download the latest FLIP Fluids Demo installation file here: [FLIP_Fluids_addon_0.7.0_demo_(27_jun_2023.zip)](https://github.com/rlguy/Blender-FLIP-Fluids/releases/download/v0.7.0/FLIP_Fluids_addon_0.7.0_demo_.27_jun_2023.zip)
12
+
Download the latest FLIP Fluids Demo installation file here: [FLIP_Fluids_addon_0.7.1_demo_(25_jul_2023.zip)](https://github.com/rlguy/Blender-FLIP-Fluids/releases/download/v0.7.1/FLIP_Fluids_addon_0.7.1_demo_.25_jul_2023.zip)
13
13
14
14
After downloading the demo addon, follow our [Installation Instructions](https://github.com/rlguy/Blender-FLIP-Fluids/wiki/Addon-Installation-and-Uninstallation). The instructions are similar to installing any other Blender addon.
15
15
16
16
Get started creating your first simulation with our [beginners guide](https://github.com/rlguy/Blender-FLIP-Fluids/wiki/Creating-Your-First-FLIP-Fluids-Simulation) or [video learning series](https://github.com/rlguy/Blender-FLIP-Fluids/wiki/Video-Learning-Series)!
17
17
18
18
### Have any questions?
19
19
20
-
Feel free to send us a message on any of the [official marketplaces](https://github.com/rlguy/Blender-FLIP-Fluids/wiki/Official-Marketplaces-of-the-FLIP-Fluids-Addon), or send us an email at [email protected]. We're always glad to help!
20
+
Feel free to send us a message on any of the [official marketplaces](https://github.com/rlguy/Blender-FLIP-Fluids/wiki/Official-Marketplaces-of-the-FLIP-Fluids-Addon), or send us an email at [email protected]. We're always glad to help!
Copy file name to clipboardexpand all lines: src/addon/__init__.py.in
+32-1
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,9 @@ from .utils import version_compatibility_utils as vcu
74
74
75
75
@bpy.app.handlers.persistent
76
76
def scene_update_post(scene):
77
+
if scene.flip_fluid.is_addon_disabled_in_blend_file():
78
+
return
79
+
77
80
installation_utils.scene_update_post(scene)
78
81
if installation_utils.is_addon_active():
79
82
if not render.is_rendering():
@@ -86,42 +89,64 @@ def scene_update_post(scene):
86
89
87
90
@bpy.app.handlers.persistent
88
91
def render_init(scene):
92
+
if scene.flip_fluid.is_addon_disabled_in_blend_file():
93
+
return
94
+
89
95
render.render_init(scene)
90
96
91
97
92
98
@bpy.app.handlers.persistent
93
99
def render_complete(scene):
100
+
if scene.flip_fluid.is_addon_disabled_in_blend_file():
101
+
return
102
+
94
103
render.render_complete(scene)
95
104
96
105
97
106
@bpy.app.handlers.persistent
98
107
def render_cancel(scene):
108
+
if scene.flip_fluid.is_addon_disabled_in_blend_file():
109
+
return
110
+
99
111
render.render_cancel(scene)
100
112
101
113
102
114
@bpy.app.handlers.persistent
103
115
def frame_change_pre(scene, depsgraph=None):
104
-
pass
116
+
if scene.flip_fluid.is_addon_disabled_in_blend_file():
117
+
return
105
118
106
119
107
120
@bpy.app.handlers.persistent
108
121
def frame_change_post(scene, depsgraph=None):
122
+
if scene.flip_fluid.is_addon_disabled_in_blend_file():
123
+
return
124
+
109
125
properties.frame_change_post(scene, depsgraph)
110
126
render.frame_change_post(scene, depsgraph)
111
127
112
128
113
129
@bpy.app.handlers.persistent
114
130
def render_pre(scene, depsgraph=None):
131
+
if scene.flip_fluid.is_addon_disabled_in_blend_file():
132
+
return
133
+
115
134
render.render_pre(scene)
116
135
117
136
118
137
@bpy.app.handlers.persistent
119
138
def load_pre(nonedata):
139
+
if bpy.context.scene.flip_fluid.is_addon_disabled_in_blend_file():
140
+
return
141
+
120
142
properties.load_pre()
121
143
122
144
123
145
@bpy.app.handlers.persistent
124
146
def load_post(nonedata):
147
+
if bpy.context.scene.flip_fluid.is_addon_disabled_in_blend_file():
148
+
return
149
+
125
150
if vcu.is_blender_28() and not vcu.is_blender_281():
126
151
print("FLIP FLUIDS WARNING: Blender 2.80 contains bugs that can cause frequent crashes during render, Alembic export, and rigid/cloth simulation baking. Blender version 2.81 or higher is recommended.")
127
152
@@ -134,11 +159,17 @@ def load_post(nonedata):
134
159
135
160
@bpy.app.handlers.persistent
136
161
def save_pre(nonedata):
162
+
if bpy.context.scene.flip_fluid.is_addon_disabled_in_blend_file():
163
+
return
164
+
137
165
properties.save_pre()
138
166
139
167
140
168
@bpy.app.handlers.persistent
141
169
def save_post(nonedata):
170
+
if bpy.context.scene.flip_fluid.is_addon_disabled_in_blend_file():
0 commit comments