Draft: Make featureName attribute translation-independent
The translation for the task panel title is done in the Ui method call
This commit is contained in:
@@ -78,8 +78,7 @@ class PointArray(gui_base_original.Modifier):
|
||||
|
||||
def Activated(self, name="Point array"):
|
||||
"""Execute when the command is called."""
|
||||
self.name = name
|
||||
super(PointArray, self).Activated(name=translate("draft","Point array"))
|
||||
super(PointArray, self).Activated(name=name)
|
||||
# This was deactivated because it doesn't work correctly;
|
||||
# the selection needs to be made on two objects, but currently
|
||||
# it only selects one.
|
||||
|
||||
Reference in New Issue
Block a user