use import rather then assignment for loading '_' into scripts.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
import bpy
|
||||
from bpy.types import Panel
|
||||
|
||||
_ = bpy.app.translations.pgettext
|
||||
from bpy.app.translations import pgettext as _
|
||||
|
||||
|
||||
class ModifierButtonsPanel():
|
||||
|
Reference in New Issue
Block a user