Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/blender/addon/properties.py')
-rw-r--r--intern/cycles/blender/addon/properties.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py
index 7d7ca78c15a..c41e1f02b75 100644
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@ -1568,11 +1568,12 @@ class CyclesPreferences(bpy.types.AddonPreferences):
for device in devices:
import unicodedata
- box.prop(device, "use", text=device.name
- .replace('(TM)', unicodedata.lookup('TRADE MARK SIGN'))
- .replace('(R)', unicodedata.lookup('REGISTERED SIGN'))
- .replace('(C)', unicodedata.lookup('COPYRIGHT SIGN'))
- )
+ box.prop(
+ device, "use", text=device.name
+ .replace('(TM)', unicodedata.lookup('TRADE MARK SIGN'))
+ .replace('(R)', unicodedata.lookup('REGISTERED SIGN'))
+ .replace('(C)', unicodedata.lookup('COPYRIGHT SIGN'))
+ )
def draw_impl(self, layout, context):
row = layout.row()