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
2014-03-15Code cleanup: use r_ prefix for return argsCampbell Barton
2014-02-28Code cleanup: move edit-derivedmesh free to BKE_editmesh_free_derivedmeshCampbell Barton
2014-02-26Paint API: add BKE_paint_select_elem_test: to check on paint selectionCampbell Barton
2014-02-22Code cleanup: styleCampbell Barton
2014-02-14Code cleanup: duplicate headersCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-23Cleanup: int/short to bool in BKE_cdderivedmesh.h functions (and TRUE/FALSE ↵Bastien Montagne
to true/false in code using them).
2014-01-22Fix T38316: Half of a Face is Missing on Newly Created Cubes or Cylinders.Bastien Montagne
Own bug from rBc691551249f3. Now at least I understand why `test_index_face()` is needed for tessellated quads! Added a bunch of comments to explain the issue, as it's far from an obvious one... We loose some performances, but it's still much quicker than org code.
2014-01-21Optimize tessellation code (min 20% better, up to 300% with some CD layers ↵Bastien Montagne
to tessellate). The main idea is to store (during tessellation) or recreate (during tessdata update) a tessfaceverts-to-loops mapping, and then update all tessdata in one pass, instead of calling `BKE_mesh_loops_to_mface_corners` repeatedly for all tfaces! Differential Revision: https://developer.blender.org/D226 Reviewed by Campbell, thanks a lot!
2014-01-12Style Cleanup: whitespaceCampbell Barton
2014-01-11Add tangent space computation/access from RNA (i.e. python).Bastien Montagne
This simply mimics code used for loopnormals, to enable py scripts to generate and access (temporary) a tangent 3D vector and bitangent sign for each loop. Together with the split normals, this allow to recreate a complete tangent space for normal mapping (bitangent = bitangent_sign * cross(normal, tangent)). Expects all faces to be tri or quads. Reviewed By: Brecht, campbellbarton Differential Revision: https://developer.blender.org/D185
2013-12-26Code Cleanup: remove object arg to CDDM_from_mesh mesh_create_derivedCampbell Barton
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-11-05code cleanup: typosCampbell Barton
2013-10-17Fix #37109: missing cycles texture display in edit mode.Brecht Van Lommel
My previous fix for uninitialized texture coordinates was not working well, and in fact there was a bigger issue with GLSL drawing and missing attributes with immediate draw mode. Now it will explicitly pass zero rather than having it use whatever value was set last.
2013-09-12more localized fix for [#36299], only changes behavior for subsurf with orco ↵Campbell Barton
in editmode
2013-09-12fix [#36299] Skin Modifier causes crashes in combination with multiple ↵Campbell Barton
Subdivision modifiers
2013-09-09correct error in recent changes for building with openmp.Campbell Barton
rename DM_OMP_LIMIT to BKE_MESH_OMP_LIMIT and set to 0 when in debug mode, same for BM_OMP_LIMIT.
2013-09-09enable strict flags for mesh_evaluate.cCampbell Barton
2013-09-04debug option for modifier stack calculation USE_MODIFIER_VALIDATE,Campbell Barton
checks that every modifier gives a valid mesh (very slow) - so off by default even in debug mode.
2013-09-04simplify length checks in DM_calc_auto_bump_scaleCampbell Barton
2013-08-19Made modifiers_getVirtualModifierList safe for threadingSergey Sharybin
Move static variables to context filling in by this fcuntion and owned by a callee function. This ensures no conflicts between threads happens because of static variables used in this function. Also moved modifier types and virtual modifiers data to a function called from creator. This is needed to be sure all the information is properly initialied to the time when threads starts to use this data. -- svn merge -r57899:57900 ^/branches/soc-2013-depsgraph_mt
2013-08-07code cleanup: more confusion with 0/NULL/falseCampbell Barton
2013-08-04code cleanup: remove unused define, correct header guard mismatch, add NULL ↵Campbell Barton
check so DM_to_mesh() can have a NULL object passed (currently not used) and remove redundant NULL check.
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-20Cleaning up some warnings that occur when an invalid navmesh is generated.Daniel Stokes
2013-07-15Fix #36139: cycles not taking texture spacing settings into account forBrecht Van Lommel
generated coordinates on text objects.
2013-07-10add asserts for passing in bad index values to DM_get_***_data, CustomData_get()Campbell Barton
2013-07-05correct typo in previous commit & minor changes.Campbell Barton
2013-07-05fix for [#35911] wasn't complete, while weigths would show in editmode, ↵Campbell Barton
weights that were modified by a weight modifier wouldn't.
2013-07-01fix [#35911] Show weights not working with a weight edit modifier in edit modeCampbell Barton
2013-06-26fix [#33068] Can't paint weights of some vertices in some situations.Campbell Barton
old limitation where you could only paint onto one side of a mirrored mesh (weight paint, vertex paint).
2013-06-19fix own regression with normal recalculation updatesCampbell Barton
2013-06-19move modifier callback wrappers into modifier.cCampbell Barton
2013-06-13fix for problem with creating weight-paint preview.Campbell Barton
In the case where the modifier stack didnt need deform-verts to calculate, they would not be available for the preview either. This fixes a bug caused by r57206 which set mirror to preview so the mirrored weights would be displayed, but it only worked when there was an armature after it, see [#35545].
2013-06-10Fix #35653: manual texture space location and size not working in cycles ↵Brecht Van Lommel
viewport.
2013-06-04Fix #35622: applying modifiers did not give correct smooth shading normalsBrecht Van Lommel
after recent changes to avoid computing unneeded normals.
2013-06-03Fix #35610: Multiresolution Modifier Complains About Sculpt ModeSergey Sharybin
If multires has got zero subdivisions in sculpt mode, no need of displaying warning message. It was rather strange decision which confused artists. Now multires with zero subdivisions will be ignored silently when in sculpt mode.
2013-05-31improve edgering subdivide curvature calculations (calculate length ↵Campbell Barton
projected onto the normal plane). also correct recely added asserts.
2013-05-30remove CD_MASK_NORMAL from CD_MASK_DERIVEDMESH, bmesh merge included this ↵Campbell Barton
but its not needed. Now add asserts to make sure this layer is only added once the modifier stack has been calculated. this saves normal layer being calculated whenver vertex normals need updating.
2013-05-30modifier stack: lazy initialize normalsCampbell Barton
many modifiers were calculating normals, when those normals were ignored by the next modifier. now flag normals as dirty and recalculate for modifiers that set use `dependsOnNormals()` callback. Quick test on mesh with 12 modifiers (mostly build type), calculated normals 6 times, now it only runs once - so this will give some speedup too.
2013-05-30fix debug derived mesh print function, layers in the customdata that were ↵Campbell Barton
NULL were not printed.
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-18Fix #35404: crash in file save with python code that accesses mesh from panel.Brecht Van Lommel
On file save the mesh gets loads from the editmesh but the derived mesh caches wer not cleared. This usually happens through the depsgraph but it needs to be done manually here. Most changes are some refactoring to deduplicate derived mesh freeing code.
2013-05-15use bool arrays rather then char for weight paint lock/select arraysCampbell Barton
2013-05-15Fix #35362: using dyntopo gives wrong render resultsSergey Sharybin
Made it so dynamic topology will flush changes from SculptSession->bm to Object->me. Used the same approach as sculptsession_bm_to_me does, but instead of using DAG_id_tag_update used in-place DerivedMesh release. Otherwise this lead to some update issues resulting in missed object after render. Also fixed multires modifier not being applied for render when rendering from dyntopo sculpt mode. P.S. Apparently sculpsession_bm_to_me was declared in BKE_paint.h but implemented in object.c. Rather confusing and better make it so this functions are declared and implemented in consistent files. But will solve this in a separate commit.
2013-05-05Fix #35209: cycles generated texture coordinates did not stick to deforming ↵Brecht Van Lommel
meshes.
2013-05-03correct own recent commit, confused totloop with dm_totloop, rename vars & ↵Campbell Barton
correct even though in this case the error was harmless.
2013-05-02Fix #35174: dynamic paint displacement missing in render.Brecht Van Lommel
A previous bugfix disabled the dynamic paint modifier for orco texture coordinate evaluation of the modifier stack. However the MOD_APPLY_USECACHE flag is not a good way to check if the modifier is evaluated for orcos. Instead I've added a MOD_APPLY_ORCO flag. Also removed a bunch of applyModifierEM callbacks, none of them served a purpose except for the subsurf modifier.