[Bf-extensions-cvs] [d4752a5d] master: Resolve naming collision

Campbell Barton noreply at git.blender.org
Mon Sep 4 14:09:43 CEST 2017


Commit: d4752a5d6c5c7ea1da7e1f19f0f2cb7adb663cc4
Author: Campbell Barton
Date:   Mon Sep 4 22:13:30 2017 +1000
Branches: master
https://developer.blender.org/rBAd4752a5d6c5c7ea1da7e1f19f0f2cb7adb663cc4

Resolve naming collision

Were using names from templates, tsk.

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

M	lighting_dynamic_sky.py
M	materials_utils/texture_rename.py

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

diff --git a/lighting_dynamic_sky.py b/lighting_dynamic_sky.py
index f07d5160..f5358a45 100644
--- a/lighting_dynamic_sky.py
+++ b/lighting_dynamic_sky.py
@@ -427,7 +427,7 @@ def draw_world_settings(col, context):
 
 class Dynapanel(Panel):
     bl_label = "Dynamic sky"
-    bl_idname = "SCENE_PT_layout"
+    bl_idname = "DYNSKY_PT_tools"
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'TOOLS'
     bl_context = "objectmode"
diff --git a/materials_utils/texture_rename.py b/materials_utils/texture_rename.py
index ac728b70..c803295e 100644
--- a/materials_utils/texture_rename.py
+++ b/materials_utils/texture_rename.py
@@ -88,7 +88,6 @@ class TEXTURE_OT_patern_rename(Operator):
 class TEXTURE_PT_rename_panel(Panel):
     # Creates a Panel in the scene context of the properties editor
     bl_label = "Texture Rename"
-    bl_idname = "SCENE_PT_layout"
     bl_space_type = 'PROPERTIES'
     bl_region_type = 'WINDOW'
     bl_context = "texture"



More information about the Bf-extensions-cvs mailing list