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
2011-08-30Fix #28427: smooth faces flash momentarily when extruded using "extrude and ↵Sergey Sharybin
move on normals" tool (E key) Update normals just after extrude -- topology is changing when extruding and normals for non-extruded faces should be recalculated after this.
2011-04-04Fix for the fix, making hurried last minute changes is not a good idea :)Brecht Van Lommel
2011-04-04Fix mistake in recent commit to revert some normal changes.Brecht Van Lommel
2011-04-04crash fix: screen context editable_bones & visible_bones were not checking ↵Campbell Barton
for armature type object first.
2011-04-04Revert mesh recalculation change that gives different vertex normals basedBrecht Van Lommel
on smooth/flat flag on faces. This does give better results for low poly game models, but there's just too much functionality that depends on this (modifiers, displacey, editmode tools, extrude, ...), that there's not enough time to fix these before the release.
2011-04-01Comments for mesh normals calculation from Mortem Mikkelsen (aka sparky).Sergey Sharybin
We hope it'll help for further workers in this area!
2011-03-28- quiet new warnings with gcc 4.6Campbell Barton
- use BLI math funcs for normal float/short conversion. - correct some un-intentional float/double promotions.
2011-03-26Fix #26582, #26586, #26613: recent normal calculation changes didn't takeBrecht Van Lommel
into account that some tools use normals for things other than display. Now we properly initialize vertex normals at flat faces too. Also fixed a normal refresh issue, and deduplicated CDDM/mesh normal calculation code.
2011-03-20Fix/change in normal computation, now the viewport uses the same angleBrecht Van Lommel
weighted normals as the render engine, and the render engine will copy normals from the mesh rather than always recalculating them. Subsurf/multires still use regular vertex normals, but they are expected to be sufficiently high resolution to not need this. This means that normal maps displayed in the viewport actually match the render engine exactly and don't have artifacts due to this discrepancy. It of course also avoids unexpected surprises where your render normals look different than your viewport normals. Subversion bumped to 4 for version patch to recalculate normals. Patch by Morten Mikkelsen, with some small changes.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-01-23correct own bad spellingCampbell Barton
2011-01-18bad spelling; 'indicies' --> 'indices'Campbell Barton
2011-01-13Bugfix #25614Ton Roosendaal
Reporter saw weird fgons and edge creases on spin-mesh. Appeared that the edge-flag copying code happened after freeing edges. Already since May 2007 or so... weird! Also in this commit a couple of simple cleanups.
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-21rename addlisttolist() to BLI_movelisttolist()Campbell Barton
name was misleading because the list items were removed from the source list. (no functional changes)
2010-12-17bugfix [#25260] Solidify function UV mapping problemsCampbell Barton
2010-11-02bugfix [#24398] Select NthCampbell Barton
- use first selected if non active (clears confusion since this isn't at all clear) - dont take unselected into account when calculating connectivity, would mess up in many cases.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-13bugfix [#23150] Creating Vertex with CTRL-LMB not snappingCampbell Barton
- Added EM_project_snap_verts so other functions can re-use this, similar to old retopo_do_all(). - Changed how the normal for selected geometry is calculated, was accumulating half selected edge's into normals which was OK with even surrounding geometry but could skew too easily if the surroundings were not so even. Now use the 2D screen space selected edge vector to calculate the normals in relation to the target mouse position. - Option to rotate initial selection, gives better results in some cases. (Ctrl+Shift+Click to disable) http://wiki.blender.org/index.php/File:ClickExtrudeFix.png
2010-08-24- move more active properties into their collections:Campbell Barton
scene.active_keying_set --> scene.keying_sets.active ...same for active_uv_texture. active_vertex_color, active_keyconfig, - move mesh.add_uv_layer() and mesh.add_vertex_color() into their collections also have them return the newly created layer and dont set the layer active. uvtex = mesh.uv_layers.new(name) vcol = mesh.vertex_colors.new(name)
2010-04-24sub_v3_v3v3 --> sub_v3_v3 (where possible)Campbell Barton
2010-04-21replace add_v3_v3v3() --> add_v3_v3() where possibleCampbell Barton
2010-04-12- use more inline math funcitons where possibleCampbell Barton
- swapped in less verbose math functons - modifier include cleanup
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-21Fix syntax for ID keyword.Guillermo S. Romero
2010-02-28[#19918] edit mode with mesh only having edges without faces+face select modeMartin Poirier
Make select all operator select mode sensitive (it won't select elements that aren't selectable) Patch by Sergey Sharybin (nazgul) (slightly modified)
2010-02-13Copy vertex normals on extrude (Normal orientation is wrong otherwise when ↵Martin Poirier
not extruding faces).
2010-02-12correct fsf addressCampbell Barton
2010-01-30[#19872] Mesh edit missing undo push for mode changingCampbell Barton
copy the editmesh select mode back to the scene on undo.
2010-01-22Cleaned up some printfs in editors/ - converted some to reports, hid others ↵Matt Ebb
behind G_DEBUG.
2010-01-14spelling errors, no real changes to code.Campbell Barton
2009-12-22select nth (face/edge/vertex) - depending on which was last selected, useful ↵Campbell Barton
for colapsing every other edge for eg.
2009-12-21Solidify modifier for Durian (allow cloth sim on single layer and make solid ↵Campbell Barton
after) Mostly the same as the recently added editmode tool with some extras. * Options to disable filling in the rim between inner and outer surface, since its faster not to detect this in cases where its not needed. * Option to disable high quality normal calculation, mostly noticable when operating on building walls, not needed for cloth or more organic shapes. * Option to disable 'even thickness', again, not needed in some cases. Also options for creasing inner/outer and rim edges, need this for makign Sintels cloths solid since zero crease looks far too soft. note: * UVs and VCols etc are copied to the new skin however rim faces dont get the UVs or vcols set from the faces they are created from yet. * Normals are assumed to be pointing outwards * used patch from Uncle Entity as a template since it added the DNA and RNA entries but the actual modifier from the patch wasnt used.
2009-12-16Solidify was faiing in cases with flat aras because normal calculation ↵Campbell Barton
assumed some angle between faces.
2009-12-15utility functions for getting the corner angles of a quad or tri: ↵Campbell Barton
angle_quad_v3 & angle_tri_v3
2009-12-15solidify would only work as expecyed if all faces were selected, added an ↵Campbell Barton
override to extrude that means it runs without removing selected faces first, even on a partial selection
2009-12-15improve solidify results by weighting the faces influence on a vertex by the ↵Campbell Barton
corner angle of each face before displacing
2009-12-15solidify from 2.4x (ported from python to C)Campbell Barton
- shell_angle_to_dist() was using degrees
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-06-162.5Ton Roosendaal
Added SpaceLogic, to restore the old logic buttons into. In future it can be used for a more advanced logic editor, with states, behaviour, whatever. We'll see! This commit only adds the backend for new space. Committed this now as reference for when we need another space type. It's still not well plugin-able (dynamic space types), but my idea is to just have a new SpacePlugIn for this, with a neat small API to define all relevant callbacks. Also note the icon for the spacetype is wrong still.
2009-04-152.5: Operator naming, reviewed some of the recent changesBrecht Van Lommel
by Shaul, did some minor tweaks.
2009-02-15added error reporting to edit meshShaul Kedem
2009-02-092.5: UV Editor module porting pretty much finished now, only missingBrecht Van Lommel
still is mirror transform. This commits adds the remaining operators: * UV mapping operators (U key menu): cube, sphere, cylinder, etc. * Hide/Show operators. And solves most XXX's, including: * Fix bad includes and calls into space image. * Aspect ratio correction. * Create UVs if they don't exist yet on unwrap. * Assign image to UVs. * Drawing proportional edit circle.
2009-02-05flip_editnormals is back, alt+3keyShaul Kedem
2009-01-312.5Ton Roosendaal
Edit Mesh: - Added back "Edge Shortest Path select" It now also does regular selection, more fun! It's mapped to CTRL+click now, and makes or clears selections between current and previously activated edge. Seam/Sharp/etc marking is a toolsetting mode still. These options cannot become properties easily, because the tool uses the properties of selected edge to clear... - Removed a whole bunch of G.f flags, related to mesh drawing. It's all now local in me->drawflags. Here's the list of removed old globals: G_DRAWEDGES G_DRAWFACES G_DRAWNORMALS G_DRAW_VNORMALS G_ALLEDGES G_HIDDENEDGES G_DRAWCREASES G_DRAWSEAMS G_DRAWSHARP G_DRAWBWEIGHTS G_DRAW_EDGELEN G_DRAW_FACEAREA G_DRAW_EDGEANG
2009-01-152.5Ton Roosendaal
- Depricated another bunch of globals; all the totobj, totmesh, totvert, and so on. - All code that needs such totals now count it themselves, these stats were not supposed to be reliable - Editmesh now stores and manages own totals. - Todo: make a scene->stats that tracks notifiers. Bugfix: selecting failed in editmesh, backbuffer stuff was too late, already using index ranges before it was set.