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-04-07code cleanup: no functional changesCampbell Barton
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead. - quiet warnings in editmesh_slide.c - cleanup comments in bmesh and some other minor comment additions.
2012-04-03stule cleanup: edits for files which were recently cleaned up.Campbell Barton
2012-04-02fix [#30768] Project from View UV map tool includes hidden geometry r45323Campbell Barton
select all could select hidden faces, now BM_mesh_elem_flag_enable/disable_all takes an argument to skip hidden elements.
2012-04-02code cleanup:Campbell Barton
always use if (...) even if the macros dont require it (confuses parsers) define macros without the ';'s included.
2012-03-31Small array modifier performance improvement.Nicholas Bishop
Transform vertices directly rather than using BMOp.
2012-03-30Fix bug 30195, Array modifier fails to merge vertices.Nicholas Bishop
All cases should work now -- that's adjacent duplicate merging, first-last duplicate merging, and start/end cap merging. A lot of complexity really, wonder if it might not be better to just do a full "remove doubles" rather than try to match pre-BMesh behavior exactly.
2012-03-30Small code cleanups related to arrays.Nicholas Bishop
* Added helpful comment on 'keepverts' slot of bmop finddoubles. * Removed unused macro 'E' from MOD_array.
2012-03-30Fix "First Last" merge option in array modifier (partial fix for bug 30195)Nicholas Bishop
2012-03-29More array modifier fixes.Nicholas Bishop
* Skip calculation of merge indices if merging isn't enabled * Clean up usage of BMesh operators to fix small memory leak * Fix harmless BLI_assert in CustomData_bmesh_merge * Another null-initialization fix in CustomData_bmesh_merge
2012-03-29Partial fix for array modifier vertex merge (bug 30195).Nicholas Bishop
Two fixes: * The find-doubles operator was overriding the "dirty" element indices, so vertices were not being mapped correctly. * In some cases a vertex can be set to merge with a vertex that is also set to be merged, so added a loop to find the first unmerged vert in this case. Not yet working is the "First Last" merge option. Also made some cleanups and added comments in the array/remove doubles code.
2012-03-28code cleanup: (dont include ';' in defines), last commit also missed changes ↵Campbell Barton
to paint_image.c
2012-03-27Fix bug 30697, strange shading on array modifier with offset object.Nicholas Bishop
* An offset object can rotate output, so need to update normals to reflect that. Fix by adding a normals recalc, but only if there's an offset object. * Added BMESH_TODO comment to check whether there are other cases were normals need to be updated.
2012-03-26Fix for position of array-modifier end cap when not using a fixed count.Nicholas Bishop
Moved calculation of final offset so that correct count value has been set.
2012-03-26Fix run-time warning of freeing null pointer in array modifier.Nicholas Bishop
2012-03-26fix [#30598] Bad 3D view display & render with smooth meshCampbell Barton
Sergey's suggestion - just call calc normals fixes.
2012-03-26rename lattice influence to strength from r45144 (other deform modifiers ↵Campbell Barton
call it strength too)
2012-03-26Patch: [#30652] Influence slider for Lattice ModifierThomas Dinges
* This patch adds a influence slider for the lattice modifier, which affects the strength of the deformation. Patch by Patrick Boelens (senshi), thanks a lot!
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24code cleanup: use zero_v3Campbell Barton
2012-03-22Renaming CD_WEIGHT_MCOL/MLOOPCOL and their masks from WEIGHT to PREVIEW, as ↵Bastien Montagne
this layer is now also used for various preview tasks in Object mode. “Cleanup” commit, no functional changes.
2012-03-22bmesh: debugging function to help resolve issues with corrupt mesh data - ↵Campbell Barton
BM_mesh_validate()
2012-03-20Smoke bugfix: Fix copy paste + bad "if's" resulting in missing releation in ↵Daniel Genrich
depsgraph (smoke collision groups not working, collision object relations wrong).
2012-03-20Adds support for utf paths on Windows.Alexander Kuznetsov
Not all file formats/calls are supported yet. It will be expended. Please from now on use BLI_fopen, BLI_* for file manipulations. For non-windows systems BLI_fopen just calls fopen. For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-20real fix for booleans and face shading this time.Campbell Barton
CDDM_tessfaces_to_faces wasbt updating the polyindex (missed incrementing the polyindex pointer). also added an assert so non release builds will complain when CDDM_calc_edges_tessface() needs to run before CDDM_tessfaces_to_faces().
2012-03-20CDDM_calc_edges_tessface was being called twice for boolean and explide ↵Campbell Barton
modifiers, now leave it up to the caller to run.
2012-03-20partial fix for bug where booleans were using invalid face/poly normals.Campbell Barton
the problem remains (though not quite as bad) but think this is because of a bug elsewhere.
2012-03-20Fix format string warnings (gcc) by using string literals.Nicholas Bishop
gcc 4.6 was giving warnings like this: "warning: format not a string literal and no format arguments [-Wformat-security]"
2012-03-20Fix #30531: mirror modifier with vertex groups did not add both the left andBrecht Van Lommel
right groups to merged vertices, only one. This made the result asymmetric, now merged vertices will be part of both groups with half weight.
2012-03-19Fix [#30234] Various problems with CD layers and tesselation, related to ↵Bastien Montagne
modifiers stack. Should also fix [#30266], [#29451], and partly [#30316]. Here are the changes made by this commit: * It adds a "dirty" flag to DerivedMesh struct (for now, only DM_DIRTY_TESS_CDLAYERS, but more might be added as needed). * It adds a new func, DM_update_tessface_data, which assumes tessfaces themselves are valid, but updates tessellated customdata from their poly/loop counter parts. * At end of modstack, when valid tessellated faces are present in finaldm , but the cdlayers dirty flag is set, call that function (instead of recomputing the whole tessellation). * Edits to the codes concerned (UVProject, DynamicPaint, and Subsurf modifiers). * Also add to subsurf dm generation code the creation of a CD_POLYINDEX layer (mandatory for DM_update_tessface_data to work well, and imho all tessellated dm should have one). Note: some pieces of old code are just #if 0’ed, will clean them later.
2012-03-18spelling cleanupCampbell Barton
2012-03-17Minor UI messages fixes, and enabling i18n for all modifier_setError() error ↵Bastien Montagne
messages.
2012-03-17Fix for yesterday i18n own commit (r44924): we now need to define ↵Bastien Montagne
WITH_INTERNATIONAL everywhere TIP_/IFACE_ macros are used (else, we get non-international, dummy NOP macros instead!). Also fixed in main CMakeList file, when no addon dir found, we want to disable WITH_PYTHON (I guess, certainly not WITH_INTERNATIONAL ;) ).
2012-03-16bmesh: being back bevel modifier from 2.62 stable.Campbell Barton
this is no big improvement but at least its not a regression. using the new operator for the bevel modifier can be enabled again be uncommenting a define.
2012-03-15Remove unused parameter from multires_dm_create_from_derived.Nicholas Bishop
2012-03-14Copy hidden flag to vertices when applying multires modifier.Nicholas Bishop
2012-03-14Don't wait for sculpt stroke to create PBVH.Nicholas Bishop
This idea is borrowed from the multires modifier, which already checked if the object was in sculpt mode and, if so, created the PBVH. That check is now moved higher up the chain into mesh_build_data(), so that it occurs for CDDerivedMesh too. This also replaces an assert in cdDM_getPBVH for tesselated mesh faces with a call to create them if missing.
2012-03-11remove Object member from BMesh struct - was only used for undo and ↵Campbell Barton
BMEditMesh already stores an object pointer. also fix for own mistake with mesh conversion refactor, shape key index was off by 1 when switching editmode.
2012-03-11style cleanup, also remove unused externs.Campbell Barton
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-08style cleanup - spelling.Campbell Barton
2012-03-08fix for 2 crashes from missing NULL checks.Campbell Barton
2012-03-07style cleanup - braces & else / if'sCampbell Barton
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-06quiet some warnings and fix build error with strict casting rules.Campbell Barton
2012-03-06fix [#30459] BMesh Edge Split Hangs.Campbell Barton
edge split result is still not correct in this case but at least avoid eternal loop. also - dont tag sharp edges with <2 faces for splitting.
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-01Spelling CleanupCampbell Barton
2012-03-01Remove struct NgonInterpModifierData and related ModifierType Info.Nicholas Bishop
This modifier was already removed in r44288, looks like these were just missed.
2012-02-28Code Cleanup:Campbell Barton
- apply some rules for function naming conventions, added to main bmesh doc in bmesh.h. - remove unused function BM_loops_to_corners().