📋 Metadata
- Author: roaoao
- Date: 2019-07-19 08:47:56
- Type:
answer - Reply to: post_02528
💬 Content
Will add an option to save the state for stack keys.
In the current version you can use this code in a stack key with 1 slot (Command tab):
is_solid = C.space_data.shading.type == 'SOLID'; C.space_data.shading.type = 'WIREFRAME' if is_solid else 'SOLID'; C.space_data.overlay.show_faces = is_solid; C.space_data.shading.show_xray = not is_solid; C.space_data.shading.xray_alpha_wireframe = 0.5 if is_solid else 0.0
❤️ 1 likes