make python3.3 compatible, __class__ is no longer in the class methods namespace.
[blender.git] / release / scripts / startup / bl_ui / space_view3d.py
index 2b58f2a216fbff9a615300c5f9eba99fb946c34c..aef6accb4e1bff3011260bf21313f4ce3ebe0786 100644 (file)
@@ -2410,7 +2410,7 @@ class VIEW3D_PT_context_properties(bpy.types.Panel):
 
     def draw(self, context):
         import rna_prop_ui
-        member = __class__._active_context_member(context)
+        member = VIEW3D_PT_context_properties._active_context_member(context)
 
         if member:
             # Draw with no edit button