Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bms_blender_plugin/ui_tools/operators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ def register_blender_properties():
# Slots
bpy.types.Object.bml_slot_number = bpy.props.IntProperty(
name="Slot number",
description="Slot number (1-13)",
default=1,
min=1,
max=13,
description="Slot number (0-20)",
default=0,
min=0,
max=20,
update=update_slot_number,
)

Expand Down
2 changes: 1 addition & 1 deletion bms_blender_plugin/ui_tools/operators/slot_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class CreateSlot(Operator):

# noinspection PyMethodMayBeStatic
def execute(self, context):
slot_object = bpy.data.objects.new("Slot #1", None)
slot_object = bpy.data.objects.new("Slot #0", None)
slot_object.bml_type = str(BlenderNodeType.SLOT)
slot_object.empty_display_type = "IMAGE"
slot_object.empty_display_size = 2
Expand Down