2020-07-19 15:05:43 +08:00
import bpy
class BallanceBlenderPluginPreferences ( bpy . types . AddonPreferences ):
bl_idname = __package__
external_folder : bpy . props . StringProperty (
name = "External texture folder" ,
description = "The Ballance texture folder which will be used buy this plugin to get external texture." ,
)
2020-07-20 16:14:39 +08:00
no_component_collection : bpy . props . StringProperty (
name = "No component collection" ,
description = "(Import) The object which stored in this collectiion will not be saved as component. (Export) All forced no component objects will be stored in this collection" ,
)
2020-07-19 15:05:43 +08:00
def draw ( self , context ):
layout = self . layout
row = layout . row ()
col = row . column ()
2020-07-20 16:14:39 +08:00
col . prop ( self , "external_folder" )
col . prop ( self , "no_component_collection" )