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-05-27style cleanupCampbell Barton
2012-05-22Draw skin vertex roots in edit mode.Nicholas Bishop
Roots are drawn with a view-oriented dashed red circle around the vertex location. The circle's radius is the average if the skin vertex's X and Y radii. Skin modifier documentation: http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-17style cleanup: line length and ensure some macros error when not ending with ';'Campbell Barton
2012-05-13style cleanup: macro line breaksCampbell Barton
2012-05-13code cleanup:Campbell Barton
- use bmesh iterator macros in more places - rename scanfill variables (were using same names as mesh faces/verts which was confusing)
2012-05-13code cleanup: use vector math function minmax_v3v3_v3() and other minor ↵Campbell Barton
vector function edits.
2012-05-12style cleanup: blenkernelCampbell Barton
2012-05-05code cleanup: function naming for BLI functions.Campbell Barton
2012-05-04Renamed "fake" OpenGL identifiers.Jason Wilkins
Any identifier that looks like an OpenGL identifier, but isn't, causes a false alarm by the glreport.py tool. Most of these were in comments so I just rephrased the comments. There were a couple of static functions/macros that were easy enough to rename. Only the glTexco and glIndex fields of the DMVertexAttribs struct was public and had non-local uses.
2012-05-04code cleanup:Campbell Barton
- replace iterators with macros - move vertexCos checks outside the for loops (use 2 for loops). - style cleanup
2012-05-01Fix #31162: Applying textures to rigged models causes crash and no textures ↵Sergey Sharybin
in appear in edit mode Issue was caused by doing stuff like binding textures from glBegin/glEnd block.
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-28style cleanup: format 'for' loop macros the same as for loops, some renaming ↵Campbell Barton
to BLI_array macros.
2012-04-21style cleanupCampbell 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-17Fix part of #30982: dupliface object with modifiers did not show duplis correctBrecht Van Lommel
while in edit mode.
2012-04-17Fix crash with texture draw in edit mode after commit 45672.Brecht Van Lommel
Don't create empty tesselated faces layers in edit derivedmesh, these are being created on the fly so this will conflicted, and use loop data for opengl attributes for edit derivedmesh drawing.
2012-04-16minor speedup for scanfill, dont calculate the normal if its already known - ↵Campbell Barton
use for editmode ngon filling.
2012-04-16make scanfill threadsafe (wasnt threadsafe before BMesh merge but before the ↵Campbell Barton
merge it didn't need to be) - now rendering uses its better if its threadsafe.
2012-04-16code cleanup: avoid confusion with incorrectly named argument to ↵Campbell Barton
BLI_edgefill(), was 'mat_nr', now 'do_quad_tri_speedup'
2012-04-16bmesh api todo:Campbell Barton
emDM_getTessFaceDataArray now returns UV's and Colors from editmode loops.
2012-04-09use 'const float[3]' for derived mesh callback args.Campbell Barton
2012-03-29converting a mesh to an undo mesh now skips using bmesh operator.Campbell Barton
2012-03-27style/name cleanup: have EDBM_* functions match our style guide and also ↵Campbell Barton
match BM_ function naming conventions
2012-03-24code cleanup: use zero_v3Campbell Barton
2012-03-21spelling cleanup: tesselate -> tessellate (last of these found)Campbell Barton
2012-03-18swap BMLoopCol r/b color, requires subversion bump.Campbell Barton
old mesh MCol 'r' was blue, 'b' was red, but theres no reason to keep this for bmesh with MLoopCol. Loading old files works, saving legacy format works too. What wont work is loading a file after this revision and loading it in an older revision since the bmesh merge. (it wont crash but the blue and red will be swapped on vertex color layers).
2012-03-11fix for debug assignment left in from own commit r44778Campbell Barton
also removed private face normal update functions - they were same as public.
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-08Code cleanup: use named values for options in DerivedMesh drawing.Nicholas Bishop
The DMSetDrawOptions[Tex] callbacks return 0 (skip), 1 (draw), or 2 (either stipple or skip mcols.) In the CDDM, EDDM, and CCGDM draw functions, as well as the callbacks in drawmesh/drawobject, replace these numbers with values from an enum, DMDrawOptions.
2012-03-08fix for 2 crashes from missing NULL checks.Campbell Barton
2012-03-07Code cleanup: simplify the DerivedMesh.drawMappedFaces interface.Nicholas Bishop
This function pointer's 'setDrawOptions' parameter took a slightly different type than the other drawing callbacks. In particular, it could set a 'drawSmooth' value to indicate that smoothing should always be enabled, overriding the face flag. However, all callbacks either did not set this value, or set it unconditionally to 1. Replaced this by adding a new 'flag' parameter to drawFacesMapped, which can be set to DM_DRAW_ALWAYS_SMOOTH where appropriate. Also removed the 'useColors' parameter and replaced it with another flag value, DM_DRAW_USE_COLORS. Removed the 'wpaint__setSolidDrawOptions' callback, was only being used to set the shading to smooth.
2012-03-07Code cleanup: use typedefs for DerivedMesh drawing callbacks.Nicholas Bishop
There are still fairly bewildering set of callbacks being tossed around, but it's at least a little less verbose now.
2012-03-07Fix textured-mode drawing in editmode.Nicholas Bishop
It's currently not respecting the material color, probably since the BMesh merge. There are a couple problems, both involving "dummy" variables taking the place of actual MTFace/MCol data. Code review: http://codereview.appspot.com/5753050/
2012-03-04fix for building openjpeg image support on OpenSUSE 12.1, also quiet compile ↵Campbell Barton
warning.
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02code cleanup:Campbell Barton
replace casts: '((Mesh *)ob->data)->edit_btmesh' with 'BMEdit_FromObject(ob)' also minor style edits.
2012-02-29Fix #30328: Crash when using edge slideSergey Sharybin
Looks like it was missed BMesh element index for faces in emDM_drawMappedFacesMat. There was already call of BM_mesh_elem_index_ensure to ensure there's element index for vertices, added flag to ensure there's also index for faces.
2012-02-21Fix #30270, #30265: cycles not displaying textured objects, and not renderingBrecht Van Lommel
text/curve objects after the bmesh merge. Also removed a debug print.
2012-02-20- remove some unused editmesh functions.Campbell Barton
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-19svn merge ^/trunk/blender -r44213:44235 --- fixes bmesh shading bug [#30125]Campbell Barton
2012-02-19Change texface draw to always use glShadeModel(GL_SMOOTH), with texface draw.Campbell Barton
without this each face would get a solid color, this is the same method used in object mode. also copy BLI_array.h fix from bmesh branch.
2012-02-19skip per face texface poly lookup while drawing when the layer isnt found.Campbell Barton
also remove some unused code.
2012-02-19left print in by mistakeCampbell Barton
2012-02-19edit-derived-mesh had a table for vert/edge/face lookups - that were never used.Campbell Barton
removed these and replaced them with calls to BM_vert_at_index, BM_edge_at_index - which are not ideal but same as trunk does.
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.