Page MenuHome

Add missing UV tools in the UV/Image Editor Window > Tools tab
ClosedPublic

Authored by Aaron Carlisle (Blendify) on Oct 7 2016, 7:59 PM.

Details

Summary

Original patch by @xrg (xrg) updated to master by @Aaron Carlisle (Blendify)

Image of patch:

To test either apply the patch or open the file below in blender's text editor and hit run script.

Diff Detail

Event Timeline

Aaron Carlisle (Blendify) planned changes to this revision.Oct 7 2016, 7:59 PM
Aaron Carlisle (Blendify) updated this revision to Diff 7571.
Aaron Carlisle (Blendify) retitled this revision from to Add missing UV tools in the UV/Image Editor Window > Tools tab.
Aaron Carlisle (Blendify) updated this object.
Aaron Carlisle (Blendify) set the repository for this revision to rB Blender.

This patch needs to be updated to master

release/scripts/startup/bl_ui/space_image.py
798

Unsure if this is needed or not

This is ready to review

Aaron Carlisle (Blendify) removed rB Blender as the repository for this revision.

Remove unused variable declaration.

Aaron Carlisle (Blendify) updated this object.
Aaron Carlisle (Blendify) marked an inline comment as done.

Update to master, cleanup whitespace

Aaron Carlisle (Blendify) removed rB Blender as the repository for this revision.

Whitespace again

I would really like to see this in 2.79

The panels weren't showing up for me when applying the patch, probably due to recent changes from rB9bdda427e6ff. They needed to be added to the classes list at the bottom of the file.

Layout looks fine to me.

release/scripts/startup/bl_ui/space_image.py
747–761

I would leave ":" out of the labels here, as far as I can tell convention is not to use it in such cases.

750–751

Use math.pi/2 instead of hardcoded value.

Aaron Carlisle (Blendify) updated this revision to Diff 8582.EditedApr 10 2017, 2:37 AM
Aaron Carlisle (Blendify) edited the summary of this revision. (Show Details)

From review:

  • Correct op labels.
  • Use pi instead of hardcoded value.
  • Update to master (includes un-register fixes)
Aaron Carlisle (Blendify) marked 2 inline comments as done.Apr 10 2017, 2:38 AM
This revision is now accepted and ready to land.Apr 10 2017, 3:32 AM

Cleanup: White space