Draft: update Draft_SetStyle
* Added handling of DefaultShapeVertexColor, DefaultShapePointSize, DefaultAnnoLineColor and DefaultAnnoLineWidth preferences. * Rearranged the task panel. Additionally the DefaultDrawStyle and DefaultDisplayMode preferences are now applied by format_object in gui_utils.py.
This commit is contained in:
@@ -173,6 +173,7 @@ def get_param_type(param):
|
||||
"linewidth", "modconstrain", "modsnap",
|
||||
"maxSnapEdges", "modalt", "HatchPatternResolution",
|
||||
"snapStyle", "DefaultAnnoDisplayMode", "DefaultAnnoLineWidth",
|
||||
"DefaultDrawStyle", "DefaultDisplayMode",
|
||||
"gridSize", "gridTransparency"):
|
||||
return "int"
|
||||
elif param in ("constructiongroupname", "textfont",
|
||||
|
||||
Reference in New Issue
Block a user