make python3.3 compatible, __class__ is no longer in the class methods namespace.
[blender.git] / release / scripts / startup / bl_operators / presets.py
index 2175d7528a460db1293f9c6c27d23c100fb358e6..f3c799c9ac28ed85035aef91d65c3cdcb5aa1a7b 100644 (file)
@@ -315,7 +315,7 @@ class AddPresetOperator(AddPresetBase, bpy.types.Operator):
 
     @property
     def preset_subdir(self):
-        return __class__.operator_path(self.operator)
+        return AddPresetOperator.operator_path(self.operator)
 
     @property
     def preset_values(self):