[Bf-blender-cvs] [65a73d6] alembic: Python UI fix for displaying int and float properties as labels.

Lukas Tönne noreply at git.blender.org
Wed Jun 3 10:45:51 CEST 2015


Commit: 65a73d62d86b7d1d897f16d221fbd3a77db06c2c
Author: Lukas Tönne
Date:   Tue Jun 2 18:29:51 2015 +0200
Branches: alembic
https://developer.blender.org/rB65a73d62d86b7d1d897f16d221fbd3a77db06c2c

Python UI fix for displaying int and float properties as labels.

===================================================================

M	release/scripts/startup/bl_ui/properties_object.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py
index bf55adb..491d092 100644
--- a/release/scripts/startup/bl_ui/properties_object.py
+++ b/release/scripts/startup/bl_ui/properties_object.py
@@ -465,7 +465,7 @@ class CacheArchiveInfoPanel():
             col_value = row.column()
             for key, value in metadata.items():
                 col_key.label(key)
-                col_value.label(value)
+                col_value.label(str(value))
 
         if info.root_node:
             row = layout.row()




More information about the Bf-blender-cvs mailing list