--- Operating System, Graphics card ---
Tested with r57892
--- Blender version with error, and version that worked ---
Never?
--- Short description of error ---
If you mark edges sharp via operator, they show as cyan lines in viewport. If you use the use_edge_sharp / bm smooth properties, they don't, previously marked edges even lose their cyan color although the state didn't necessarily change (see attached .blend)
--- Steps for others to reproduce the error (preferably based on attached .blend file) ---
Run the script of attached file
Description
Description
Event Timeline
Comment Actions
This isnt a bug, the tool enables the mesh draw option, the python attribute doesn't, they just work a bit differently.
You can enable the draw option with:
bpy.context.object.data.show_edge_sharp = True
Comment Actions
the draw option is enabled in the file i attached, but i didn't realize that i cleared the sharp-state (smooth=True), i meant to write smooth=False to make all edges sharp - my bad! It works fine with bmesh module, standard API requires mesh to be in object mode - like for selection.