[Bf-committers] UV textures - spheremapping

Tina Hirsch bf-committers@blender.org
Sun, 16 Feb 2003 23:22:17 +0100


This is a multi-part message in MIME format.

--Multipart_Sun__16_Feb_2003_23:22:17_+0100_08362358
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I don't know if there's a good reason why spheremapping was removed from the
'UV calculation' menu, but many people - including me - do miss that feature
since Blender2.25. So here's a _very_ little patch to enable this again.
Well, it's just one line that readds the option to the menu because the actual
code doing it is still there - and seems to work fine.


Tina


--Multipart_Sun__16_Feb_2003_23:22:17_+0100_08362358
Content-Type: text/plain;
 name="uv_sphere.diff"
Content-Disposition: attachment;
 filename="uv_sphere.diff"
Content-Transfer-Encoding: 7bit

--- source/blender/src/editface.c_orig	2003-02-16 23:08:37.000000000 +0100
+++ source/blender/src/editface.c	2003-02-16 23:10:06.000000000 +0100
@@ -631,6 +631,7 @@
 	mode= pupmenu(MENUTITLE("UV Calculation")
 	              MENUSTRING("Cube",          UV_CUBE_MAPPING) "|"
 	              MENUSTRING("Cylinder",      UV_CYL_MAPPING) "|"
+	              MENUSTRING("Sphere",        UV_SPHERE_MAPPING) "|"
 	              MENUSTRING("Bounds to 1/4", UV_BOUNDS4_MAPPING) "|"
 	              MENUSTRING("Bounds to 1/2", UV_BOUNDS2_MAPPING) "|"
 	              MENUSTRING("Bounds to 1/1", UV_BOUNDS1_MAPPING) "|"


--Multipart_Sun__16_Feb_2003_23:22:17_+0100_08362358--