Skip to content

Commit 6ce602f

Browse files
committed
samplingResolution SerializedProperty now being set from Inspector GUI slider widget.
1 parent a682c99 commit 6ce602f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Plugins/HoudiniEngineUnity/Editor/UI/HEU_InputNodeUI.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ The HDA type can accept any object with a HEU_HoudiniAssetRoot component. (Inclu
307307
{
308308
EditorGUI.indentLevel++;
309309
{
310-
// UnityEditor.SerializedProperty samplingResolution = inputNode._uiCache._tilemapSettingsProperty.FindPropertyRelative("_samplingResolution");
311-
// samplingResolution.floatValue = EditorGUILayout.Slider("Sampling Resolution", samplingResolution.floatValue, 0.0f, 1.0f);
310+
UnityEditor.SerializedProperty samplingResolution = inputNode._uiCache._splineSettingsProperty.FindPropertyRelative("_samplingResolution");
311+
samplingResolution.floatValue = EditorGUILayout.Slider("Sampling Resolution", samplingResolution.floatValue, 0.0f, 1.0f);
312312
}
313313
EditorGUI.indentLevel--;
314314
}

0 commit comments

Comments
 (0)