Ejemplo n.º 1
0
	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();
	    }
	}
Ejemplo n.º 2
0
		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();
			}
		}