Skip to content

Commit

Permalink
Show debug IP
Browse files Browse the repository at this point in the history
  • Loading branch information
vanous committed Dec 28, 2023
1 parent 77ec93f commit e104e4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions artnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def build_ArtPollReply(self):
else:
ip = "0.0.0.0"
ip = [int(i) for i in ip.split(".")]
print("ip", ip)
content += [i.to_bytes() for i in ip]
# Port
content.append(struct.pack("<H", 0x1936))
Expand Down
2 changes: 1 addition & 1 deletion panels/dmx.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def draw_item(self, context, layout, data, item, icon, active_data, active_propn
if self.layout_type in {'DEFAULT', 'COMPACT'}:
col = layout.column()
col.label(text=f"{item.id}", icon=icon)
col.ui_units_x = 2
col.ui_units_x = 3
col = layout.column()
col.prop(item, "name", text="", emboss=False)
col = layout.column()
Expand Down

0 comments on commit e104e4a

Please sign in to comment.