refactor(rcf): clean

This commit is contained in:
Swann Martinez 2019-03-21 17:51:43 +01:00
parent 4c077449bc
commit 6657eaa4c3
No known key found for this signature in database
GPG Key ID: 414CCAFD8DA720E1

View File

@ -679,14 +679,12 @@ class load_data(bpy.types.Operator):
def poll(cls, context):
return True
def explore(self, root, depth):
if depth
try:
for item in root.bl_rna.properties:
print(item.name)
self.explore(item)
except:
pass
def explore(self, root):
for item in root.bl_rna.properties:
if item.name not in ['RNA']:
print(item.name)
# self.explore(item)
def execute(self, context):
self.explore(bpy.data)
# for datablock in getattr(bpy.data,item):