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
AgeCommit message (Collapse)Author
2012-10-09code cleanup:Antony Riakiotakis
Move smart stitch drawing code inside a draw callback and use ED_region_draw_cb_activate instead of explicitly checking for this specific operator in the main uv drawing function.
2012-09-03Fix #32468: 3d view texture paint mode did not show uv layout in image editor.Brecht Van Lommel
2012-08-31Fix #32458: changing UV image in image editor not working when the active faceBrecht Van Lommel
was not selected. Now changed it so that the active face must also have its UVs shown in the image editor to be used as the source of the image shown.
2012-07-26mask/image editor now works for border select and lassoCampbell Barton
2012-07-25match function names for clip/image spacesCampbell Barton
2012-07-03More spell and typo fixes (mostly visualise->visualize, grey->gray, ↵Bastien Montagne
normalise->normalize).
2012-06-22when draw-other-uv's is enabled. fallback to the spaces image if no active ↵Campbell Barton
face is found.
2012-05-04code cleanup: double promotion & some style cleanupCampbell Barton
2012-04-28style cleanup: format 'for' loop macros the same as for loops, some renaming ↵Campbell Barton
to BLI_array macros.
2012-04-27code cleanup:Campbell Barton
- move lasso functions into BLI (were in 3D view but UV editor needs access) - remove unused UV functions (ones that assumed 3-4 sized UVs only)
2012-04-24code cleanup: rename UV functions to closer match bmesh apiCampbell Barton
2012-04-23code cleanup: change C naming convention (so py and C api match), eg:Campbell Barton
C: BM_face_calc_area(f), Py: BMFace.calc_area()
2012-04-19code cleanup: remove unused BMesh args.Campbell Barton
2012-04-19remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵Campbell Barton
maceros had unused args in both cases).
2012-04-19style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITERCampbell Barton
2012-04-13style cleanup: uv editorCampbell Barton
2012-04-10uv editor: don't draw active face stipple when the face isn't visible (error ↵Campbell Barton
from bmesh merge), also replace 'em->bm' with 'bm' var while drawing.
2012-04-04rename MPoly vars called mface or mf, to avoid confusion with MFace types.Campbell Barton
2012-04-03Fix #30795: draw other objects in uv editor not working.Brecht Van Lommel
2012-03-27style/name cleanup: have EDBM_* functions match our style guide and also ↵Campbell Barton
match BM_ function naming conventions
2012-03-26fix #30668 and the rest of #30638.Antony Riakiotakis
Port angle stretch code for uvs to bmesh. Also added comment to clarify previous commit.
2012-03-25Fix #30638 and part of #30646.Antony Riakiotakis
Problem was that area calculation of polygons was done relative to the xy plane, and with a very obscure (to me at least) algorithm. That meant that vertical ngons would get 0 area. Commented initial code in case this is a strange optimization case that someone wants to use and used a cleaner algorithm: first project vertices to the ngon plane, defined by the normal of the ngon and the center (mean) of the ngon vertices. This will only be exact for convex and mostly planar ngons, still it is much better than the previous code. Also fixed memory leak when stretch display was on.
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-03style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵Campbell Barton
already used a lot and part of proposed style guide).
2012-03-02code cleanup:Campbell Barton
replace casts: '((Mesh *)ob->data)->edit_btmesh' with 'BMEdit_FromObject(ob)' also minor style edits.
2012-02-22Stitch tool fully functional again. Many thanks to Howard Trickey for ↵Antony Riakiotakis
proposing the loop winding criterion for normal disambiguation of edges. Unfortunately some extra memory has to be allocated for this to work correctly. If the tool had been initially written for bmesh I would have used the already present adjacency information to make it work, avoiding some extra allocations. Maybe a project for another day though, when I am more proficient with bmesh internals.
2012-02-20- remove some unused editmesh functions.Campbell Barton
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-14bring back stitchability indicator, this can work even nowAntony Riakiotakis
2012-02-14Initial port of stitch operator for bmesh.Antony Riakiotakis
*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
2012-02-12BMesh api function naming.Campbell Barton
`_set` suffix was used in two ways (confusing) * to set a flag to be enabled. * to set a value passed as an argument. now use enable/disable rather then set/clear for functions which change flags. also remove BME_weld.c, the file didnt contain much code and the current extrude works well
2012-02-12code refactor, function renaming for bmesh.Campbell Barton
These changes are to make the bmesh api more consistent and easier to learn, grouping similar functions which is convenient for autocomplete. This uses similar convention to RNA. * use face/loop/edge/vert as a prefix for functions. * use 'elem' as a prefix too for functions that can take any type with a BMHeader. * changed from camel case to underscore separated (like RNA).
2012-02-12rename BM_ flags for `BMHeader->hflag` to BM_ELEM_ to be more clear that ↵Campbell Barton
these flags apply to bmesh elements.
2012-02-10Style Edits only: use TRUE/FALSE rather then 1/0Campbell Barton
2012-02-05Code Cleanup: use vector functions for copying / adding UV'sCampbell Barton
2012-01-23replace BLI_array_growone() with BLI_array_growitems() when the size of the ↵Campbell Barton
increase is known ahead of time, will reduce reallocs and give some speedup.
2012-01-18svn merge ^/trunk/blender -r43461:43472Campbell Barton
2012-01-17Uv Tools branch GSOC 2011Antony Riakiotakis
========================= Documentation: http://wiki.blender.org/index.php/User:Psy-Fi/UV_Tools Major features include: *16 bit image support in viewport *Subsurf aware unwrapping *Smart Stitch(snap/rotate islands, preview, middlepoint/endpoint stitching) *Seams from islands tool (marks seams and sharp, depending on settings) *Uv Sculpting(Grab/Pinch/Rotate) All tools are complete apart from stitching that is considered stable but with an extra edge mode under development(will be in soc-2011-onion-uv-tools).
2011-12-13non functional changes & de-duplicate yet another face center functionCampbell Barton
2011-11-26svn merge ^/trunk/blender -r42139:42172Campbell Barton
2011-11-26minor edit - weight_to_rgb() and ramp_blend() now take a float vector rather ↵Campbell Barton
than 3 float pointers. also make particle draw use a float vec.
2011-11-07svn merge -r41575:41602 ^/trunk/blenderCampbell Barton
2011-11-06misc macro --> bli math lib functionsCampbell Barton
2011-11-01replace as many uses of BM_Get/SetIndex as possible with tagging with a temp ↵Campbell Barton
flag, some uses need index values to be set, so this will need more effort to replace (crazy space and solidify for eg).
2011-10-24svn merge ^/trunk/blender -r41226:41227 .Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-26BMesh branch-specific warning fixes for MSVC 2010 warningsAndrew Wiggin
2011-09-17Resurrect the conditional to avoid extra color state changes. Thanks Ender79 ↵Antony Riakiotakis
for the suggestion!
2011-09-17Use GL_LINES instead of GL_LINE_LOOP for selected uv edge drawing, avoids an ↵Antony Riakiotakis
extra conditional and drawing an extra 0 size line per uv.
2011-09-17Fix: Uv edges were incorrectly drawn as selected in uv vert select mode when ↵Antony Riakiotakis
a sole uv vert was selected.
2011-09-17svn merge -r40279:40295 ^/trunk/blenderCampbell Barton