forked from jayanam/jremesh-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jrt_pref.py
32 lines (23 loc) · 825 Bytes
/
jrt_pref.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import bpy
from bpy.props import *
from bpy.types import AddonPreferences
def get_preferences():
return bpy.context.preferences.addons[__package__].preferences
class JRemeshPrefs(AddonPreferences):
bl_idname = __package__
im_filepath: bpy.props.StringProperty(
name="Instant Meshes Application (exe)",
subtype='FILE_PATH'
)
# qf_filepath: bpy.props.StringProperty(
# name="Quadriflow Application (exe)",
# subtype='FILE_PATH'
# )
def draw(self, context):
layout = self.layout
row = self.layout.row()
row.label(text="Instant Meshes Application")
row.prop(self, 'im_filepath', text='')
# row = self.layout.row()
# row.label(text="Quadriflow Application (exe)")
# row.prop(self, 'qf_filepath', text='')