Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2012-02-14 04:35:29 +0400
committerAntony Riakiotakis <kalast@gmail.com>2012-02-14 04:35:29 +0400
commita9c6f553e74dcbbbfba7d0068609a24315ec26bf (patch)
tree1d05e5b65234209e282becf4671241c971d7b06b /source/blender/editors/uvedit/uvedit_intern.h
parentcf0967bfe6a70a40b3cca125a8fd439aae4368ab (diff)
Initial port of stitch operator for bmesh.
*operator now works with few limitations: -still no preview(will be back soon) -rotation will not work if only one uv is stitched between islands(will need method to calculate uv normal for manifold) Also fixed island calculation for UvElements, fixes a crash when uv sculpting with "Sculpt all islands" turned off
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_intern.h')
-rw-r--r--source/blender/editors/uvedit/uvedit_intern.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/editors/uvedit/uvedit_intern.h b/source/blender/editors/uvedit/uvedit_intern.h
index 58bdd8c3265..6e399e81f0f 100644
--- a/source/blender/editors/uvedit/uvedit_intern.h
+++ b/source/blender/editors/uvedit/uvedit_intern.h
@@ -88,26 +88,19 @@ void uvedit_live_unwrap_update(struct SpaceImage *sima, struct Scene *scene, str
/* object that stores display data for previewing before accepting stitching */
typedef struct StitchPreviewer {
- /* OpenGL requires different calls for Triangles and Quads.
- * here we'll store the quads of the mesh */
- float *preview_quads;
- /* ...and here we'll store the triangles*/
+ /* here we'll store the preview triangles of the mesh */
float *preview_tris;
/* preview data. These will be either the previewed vertices or edges depending on stitch mode settings */
float *preview_stitchable;
float *preview_unstitchable;
/* here we'll store the number of triangles and quads to be drawn */
unsigned int num_tris;
- unsigned int num_quads;
unsigned int num_stitchable;
unsigned int num_unstitchable;
- /* store static island Quads */
- float *static_quads;
/* ...and here we'll store the triangles*/
float *static_tris;
unsigned int num_static_tris;
- unsigned int num_static_quads;
} StitchPreviewer;
StitchPreviewer *uv_get_stitch_previewer(void);