internal override void OnBrushEnter(EditableObject target, BrushSettings settings) { base.OnBrushEnter(target, settings); nonManifoldIndices = PolyMeshUtility.GetNonManifoldIndices(target.editMesh); RefreshVertexSculptSupport(target); }
internal override void OnBrushEnter(EditableObject target, BrushSettings settings) { base.OnBrushEnter(target, settings); EditableObjectData data; if (!m_EditableObjectsData.TryGetValue(target, out data)) { data = new EditableObjectData(); m_EditableObjectsData.Add(target, data); } data.NonManifoldIndices = PolyMeshUtility.GetNonManifoldIndices(target.editMesh); RefreshVertexSculptSupport(target); }