This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
from bpy.props import * | |
# New texture slot class | |
class LegacyTextureSlot(bpy.types.PropertyGroup): | |
texture = PointerProperty(type=bpy.types.Texture) | |
name = StringProperty(name="Name", description="Name for this texture slot") | |
uv_layer = StringProperty(name="UV Slot") | |
bpy.utils.register_class(LegacyTextureSlot) |