Fix #141948: No error on arbitrary assignments to PropertyGroup

Declare `__slots__` to prevent arbitrary assignment.
This commit is contained in:
Campbell Barton
2025-07-16 06:58:45 +00:00
parent a2cba25b14
commit 19ee3932c3
6 changed files with 26 additions and 2 deletions

View File

@@ -29,6 +29,8 @@ from bpy.app.translations import (
class NodeSetting(PropertyGroup):
__slots__ = ()
value: StringProperty(
name="Value",
description="Python expression to be evaluated "