moved code from root to /src

This commit is contained in:
Michel Fedde 2024-01-29 21:33:51 +01:00
parent 46363150d0
commit 8984e75bee
7 changed files with 2 additions and 2 deletions

View file

@ -1,20 +0,0 @@
import bpy
from .. operators.bake_to_id_map import BakeToIDMapOperator
class BakeToIDInfoPanel(bpy.types.Panel):
bl_idname = "PANEL.BAKE_TO_ID_MAP_PT_SETTINGS_INFO"
bl_parent_id = "PANEL.BAKE_TO_ID_MAP_PT_SETTINGS"
bl_label = "Infos"
bl_space_type = "VIEW_3D"
bl_region_type = "UI"
bl_category = "Tool"
def draw(self, context):
layout = self.layout
props = context.scene.bake_to_id_props
layout.label(text="Selected Object-Count: " + str(len(context.selected_objects)))
layout.label(text="Estimated ID-Count: " + str(BakeToIDMapOperator.count_ids(context, props)))