Fix #29275: vertex/edge/face selection buttons showing squashed in 3d view header.
[blender.git] / release / scripts / startup / bl_ui / space_view3d.py
index 2bfbd15cf55bf8b541067dfb451bcd2421474196..536936105e359ff20d8b7bafae9a2f2dd922d208 100644 (file)
@@ -55,8 +55,8 @@ class VIEW3D_HT_header(Header):
                 sub.menu("VIEW3D_MT_object")
 
         # Contains buttons like Mode, Pivot, Manipulator, Layer, Mesh Select Mode...
-        row = layout.row()  # XXX Narrowed down vert/edge/face selector in edit mode/solid drawmode. -DingTo
-        row.template_header_3D()
+        row = layout
+        layout.template_header_3D()
 
         if obj:
             # Particle edit