📋 Metadata
- Author: roaoao
- Date: 2018-03-30 00:38:43
- Type:
answer - Reply to: post_01286
💬 Content
Way2Close:
Is it possible to draw a property using a condition I tried this but it doesn’t work lol
C.object.data.show_extra_edge_length if C.active_object.mode == "EDIT" else None
In this case you need to use Custom tab:
L.prop(C.object.data, "show_extra_edge_length") if C.active_object.mode == "EDIT" else None