Page MenuHome

Space Image: Pop-Over Display Panel, Menu corrections, Move Scopes to Sidebar
ClosedPublic

Authored by Vuk Gardašević (lijenstina) on Aug 20 2018, 12:53 PM.

Details

Summary

Refactor the Display panel according to the new UI and move it a pop-over in the Header.
Use a regular drop down menu for the draw channels property.
Menu corrections.
Moved Scopes to the Sidebar (N region).

Note:

  • Added IMAGE_MT_view_zoom menu for the fractional zoom entries
  • Moved the Copy Mirrored UV entry to Mirror menu
  • Added some separators
  • Renamed the IMAGE_PT_view_properties to IMAGE_PT_view_display
  • Added two related sub-panels IMAGE_PT_view_display_uv_edit_overlays and IMAGE_PT_view_display_uv_edit_overlays_advanced
  • Some little python style tweaks (like finish the comment with a point)
  • Scopes panels are moved to the Sidebar. Introduced the IMAGE_PT_view_scopes panel as the parent one.

Diff Detail

Event Timeline

Vuk Gardašević (lijenstina) retitled this revision from Space Image: Use Grid Flow and Property Split for Display Panel, Menu corrections to Space Image: Use Grid Flow and Property Split for Display Panel, Menu corrections, Move Scopes to Sidebar.
Vuk Gardašević (lijenstina) edited the summary of this revision. (Show Details)

Update the patch to move the Scopes to the Sidebar.

Good start.

A few notes:

  • Coordinates Repeat should be renamed. It just repeats the image, not the coordinates. I suggest we call it Repeat Image.
  • ‘Pixel’ switches to Pixel-based coordinates. I suggest we name this Pixel Coordinates
  • Ideally, the Pixel checkbox would be made into a switch, between Pixel and Normalized coordinates
  • Later on, we might want to move the overlays into a popover to match the 3D View.

See design doc for the UV/Image Editor here:
https://developer.blender.org/T56463

Vuk Gardašević (lijenstina) edited the summary of this revision. (Show Details)

Update:

  • Moved the Display panel into a pop-over in the header
  • Use drop down prop list for the draw channels property
Vuk Gardašević (lijenstina) retitled this revision from Space Image: Use Grid Flow and Property Split for Display Panel, Menu corrections, Move Scopes to Sidebar to Space Image: Pop-Over Display Panel, Menu corrections, Move Scopes to Sidebar.Aug 20 2018, 5:33 PM
Vuk Gardašević (lijenstina) edited the summary of this revision. (Show Details)

Looks good to me. This will feel more complete when we update the tools to work as active tools, but that is a separate job.

This revision is now accepted and ready to land.Aug 20 2018, 5:33 PM

Committed rBa63e5d20583bdd34254bfe289bbed94d8694371c

With minor edit, the "Display" popover needs to be enabled even when not UV editing, otherwise there is no way to change the aspect.