Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit 01226eb

Browse files
committed
Fixed issue where instantiated penetrators would fail to initialize.
1 parent 5e4b3eb commit 01226eb

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

Scripts/Penetrator.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,6 @@ protected override void OnDisable() {
189189

190190

191191
void Start() {
192-
if (!valid) {
193-
return;
194-
}
195-
196192
Initialize();
197193
}
198194

Scripts/RendererSubMeshMask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
1515
SerializedProperty rendererProperty = property.FindPropertyRelative("renderer");
1616
float width = position.width;
1717
position.width = width*0.75f;
18-
EditorGUI.ObjectField(position, rendererProperty, new GUIContent("Skinned Mesh And Blendshape") );
18+
EditorGUI.ObjectField(position, rendererProperty, new GUIContent("Skinned Mesh and masks") );
1919
position.x += width*0.75f + 10f;
2020
position.width = width*0.25f - 10f;
2121
Renderer renderer = (Renderer)rendererProperty.objectReferenceValue;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.naelstrof.penetrationtech",
33
"displayName": "Penetration Tech",
4-
"version": "3.1.7",
4+
"version": "3.1.8",
55
"unity": "2020.3",
66
"description": "Tools that help analyze, animate, and work with penetrators and orifices for sexual activities."
77
}

0 commit comments

Comments
 (0)