private void PaintingFinished(SerializedProperty isPaintingProperty) { if (isPaintingProperty != null && isPaintingProperty.boolValue) { isPaintingProperty.boolValue = false; _GUIChanged = true; _isPainting = false; UpdatePaintMeshVisibility(); // Show asset geometry once done painting _asset.CalculateVisibility(); } }
private void PaintingFinished(SerializedProperty isPaintingProperty) { if (isPaintingProperty != null && isPaintingProperty.boolValue) { isPaintingProperty.boolValue = false; _GUIChanged = true; if (_selectedAttributesStore != null) { _selectedAttributesStore.HidePaintMesh(); } // Show asset geometry once done painting _asset.CalculateVisibility(); } }