vert_sel and bpy.ops.mesh.dissolve_verts() or edge_sel and bpy.ops.mesh.dissolve_edges(use_verts=True) or face_sel and bpy.ops.mesh.delete(type='FACE')
No, because vert_sel, edge_sel and face_sel are not defined. It was just an example.
Create a stack key with 1 slot and use this code in Command tab:
vert_sel, edge_sel, face_sel = C.tool_settings.mesh_select_mode; vert_sel and bpy.ops.mesh.dissolve_verts() or edge_sel and bpy.ops.mesh.dissolve_edges(use_verts=True) or face_sel and bpy.ops.mesh.delete(type='FACE')
in order to have all my menus and shortcuts in 1 place i’d like to have everything inside of pme.
therefore i’d like to also change “pan view” to alt-mmb inside of pme.
could anyone who managed to achieve mapping navigation inside of pme tell me which kind of key (sticky or stack, etc) and which line of code to use?
Now you can add a stack key in PME with the same keymap (3D View in this case), the same operator (view3d.move in this case) and the same operator properties (in this case all properties use default values):
I think i found a bug,
in the user preferences the Tabs (interface, editing,input,addons etc) bottons
are flip to the bottom of the windows…
when i disable PME its turn back to the upper part of the window.
any advise ?
I noticed a strange thing today. When the addon is on I have a strange flicker in the viewport. When the addon is turned off, the flickering disappears.
Everytime flickering appears in the terminal i have this error:
WARN (bpy.rna): c:\b\win64_cmake_vs2017\win64_cmake_vs2017\blender.git\source\blender\python\intern\bpy_rna.c:1415 pyrna_enum_to_py: current value ‘6’ matches no enum in ‘Event’, ‘(null)’, ‘type’