[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48534] trunk/blender/release/scripts/ modules/bl_i18n_utils/bl_process_msg.py: Minor edits.

Bastien Montagne montagne29 at wanadoo.fr
Tue Jul 3 15:15:26 CEST 2012


Revision: 48534
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48534
Author:   mont29
Date:     2012-07-03 13:15:23 +0000 (Tue, 03 Jul 2012)
Log Message:
-----------
Minor edits.

Modified Paths:
--------------
    trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py

Modified: trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py
===================================================================
--- trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py	2012-07-03 13:09:40 UTC (rev 48533)
+++ trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py	2012-07-03 13:15:23 UTC (rev 48534)
@@ -108,8 +108,10 @@
         path_resolve = type(bpy.context).__base__.path_resolve
         for idname in op_ids:
             op = get_instance(idname)
-            if 'INTERNAL' in path_resolve(op, "bl_options"):
-                blacklist_rna_class.append(idname)
+            # XXX Do not skip INTERNAL's anymore, some of those ops
+            #     show up in UI now!
+#            if 'INTERNAL' in path_resolve(op, "bl_options"):
+#                blacklist_rna_class.append(idname)
 
         # ---------------------------------------------------------------------
         # Collect builtin classes we don't need to doc
@@ -467,7 +469,7 @@
         for c in check_ctxt.values():
             keys |= c
         # XXX Temp, see below
-        c -= check_ctxt["multi_rnatip"]
+        keys -= check_ctxt["multi_rnatip"]
         for key in keys:
             if key in check_ctxt["undoc_ops"]:
                 print("\tThe following operators are undocumented:")




More information about the Bf-blender-cvs mailing list