From 3de57e50c27fcca97689a4e47c1a1c02ee5804f6 Mon Sep 17 00:00:00 2001 From: Florian Foinant-Willig Date: Sun, 16 Mar 2025 22:58:52 +0100 Subject: [PATCH] Points: Prevent user to remove core properties --- src/Mod/Points/pointscommands/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Points/pointscommands/commands.py b/src/Mod/Points/pointscommands/commands.py index 890cf9e7c4..86d853c800 100644 --- a/src/Mod/Points/pointscommands/commands.py +++ b/src/Mod/Points/pointscommands/commands.py @@ -58,7 +58,7 @@ def make_points_from_geometry(geometries, distance): if len(points_and_normals[1]) > 0 and len(points_and_normals[0]) == len( points_and_normals[1] ): - points.addProperty("Points::PropertyNormalList", "Normal") + points.addProperty("Points::PropertyNormalList", "Normal", locked=True) points.Normal = points_and_normals[1] points.purgeTouched()