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-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-09-26Fix use of uninitialized variable in mesh_get_mapped_verts_coords.Brecht Van Lommel
It did not cause an actual bug, this code path is never executed at the moment.
2014-09-14Correct invalid sizeof in memset useCampbell Barton
2014-09-04Fix T41463: Mirror Modifier breaks Automatic-Weights in weight-paint modeCampbell Barton
The problem was it used copied verts on the opposite side.
2014-08-21CleanupCampbell Barton
2014-08-15Modifiers: consider all constructive modifiers as 'preview' ones as well.Bastien Montagne
Indeed, constructive modifiers are highly likely to modify CDLayers like vgroups or vcols! See vertexgroup2.blend file ({F93770}) in T40523, especially obvious with subsurf modifier.
2014-08-01Cleanup: Move `object_get_derived_final` from BKE_shrinkwrap to BKE_DerivedMeshBastien Montagne
Note this func needs some love, but this will be for later (should never have been in shrinkwrap code!).
2014-07-23Texture painting:Antony Riakiotakis
Add ability to select UV layer from the layer panel.
2014-07-21GSOC 2013 paintAntony Riakiotakis
Yep, at last it's here! There are a few minor issues remaining but development can go on in master after discussion at blender institute. For full list of features see: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72/Painting Thanks to Sergey and Campbell for the extensive review and to the countless artists that have given their input and reported issues during development.
2014-07-12Code Cleanup: use constCampbell Barton
2014-06-24Add MEMCPY_STRUCT_OFS macro for copying values after a struct memberCampbell Barton
use for DM_to_mesh to avoid clobbering the ListBase
2014-06-19View3D: Handle un-weighed vertex color properlyCampbell Barton
D608 by Gaia Clary
2014-05-09Code cleanup: styleCampbell Barton
2014-05-08Clarification of UI messages:Antony Riakiotakis
Show that modifier may not be supported in dyntopo rather than sculpt mode in general. This is useful information since users may confuse the two. Multires for instance is surely supported in sculpt mode, but not in dyntopo.
2014-05-08Fix T39950, part 2.Antony Riakiotakis
Warn when a modifier does not support optimal drawing and mask/hidden parts display. User report was that hidden parts became visible after adding a new modifier subdivision. Subdivision was added with the Ctrl+number keys. First part of the fix was to make sure we add a multires instead of the subsurf modifier in sculpt mode with the PageUp/Down Ctrl+number keys. We can't really stop users from having added a subsurf modifier already. We could be "smart" and convert subsurf to mulrires upon entering sculpt mode maybe but that can easily backfire - or users may actually want that. For now, just warn that the modifier won't support Hiding/Masking and optimal drawing.
2014-05-08Fix T40074: Autosmooth option causes assert failure when selected.Bastien Montagne
No need to call `dm_ensure_display_normals()` when using loop normals, poly/vert ones have already been computed!
2014-05-07Code cleanup: naming.Antony Riakiotakis
Prepend BKE_ to the functions moved in blenkernel for recent bug fix.
2014-05-07Fix issue discovered while investigating T39950:Antony Riakiotakis
Sculpt mode drawing fails after deleting a subsurf modifier in sculpt mode and undoing. This was quite difficult to spot. Main cause was that mesh data was not synchronized properly between undo and sculpt code because we generated a pbvh on derivedmesh invalidation without really refreshing the rest of the data. This could result in undo and drawing operating on different data. To solve this and avoid bad level calls I had to move quite some code around. Crazyspace is now moved to blenkernel, as did some sculpt calls that make sure sculpt data are properly refreshed.
2014-05-03Fix T39997: Multiple boolean modifiers sharing the same right operand crashesSergey Sharybin
The issue was caused by the temporary CD layers being allocated for subsurf meshes, same as we've got back in 881fb43. In the long run this temporary storage is to be re-considered, but it'll also imply re-considering of the Derivedmesh interaction as well. For now let's use a simpler solution which is forbidding modifiers to call getArray for other objects' derivedMeshes but use an API calls which would allocate local copy of the data preventing race condition of shared data in DM.
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-27Code cleanup: avoid warning about bit-shift outside int rangeCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (blenkernel)Campbell Barton
2014-04-23Cleanup in modifier stack evaluation: deduplicate final tessellation ↵Bastien Montagne
handling code between editmode and objectmode functions. No behavioral change expected!
2014-04-21Fix another shading issue with new split normals (deform modifier after a ↵Bastien Montagne
subsurf one). Just always tag tessellated CDlayers as dirty when we recompute split normals! Also simplified a bit end of mesh_calc_modifiers.
2014-04-17Code cleanup: use bools for DMCampbell Barton
2014-04-13Split Normals I (1/5): basis for split normals (nearly nothing user-visible ↵Bastien Montagne
here): * Add a new calcLoopNormals function to DerivedMesh struct, and implement it for CDDM and CCGDM (subsurf). EditDerivedBMesh (edit mode DM) only gets a dummy one in this commit. * Add a tessellated version of CD_LOOPNORMAL layer (CD_TESSLOOPNORMAL), with relevant code to handle it (tessellation, rna access, etc.). * Change auto_smooth options of Mesh (angle now in radian internaly, and toggle is now used to enable/disable split normals in DM creation process). Note BI render code is not touched here, hence its behavior regarding this option is now incoherent, will be addressed in a separate commit. Reviewers: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D365
2014-04-10Code cleanup: use struct type for mempool & style editsCampbell Barton
2014-04-09Make material array account for mesh/object storage of materialsAntony Riakiotakis
2014-04-09Add material storage to derivedmesh.Antony Riakiotakis
The variables are considered invalid unless DM_update_materials is called prior to use. Only use case currently is mesh drawing. This helps with excessive allocation on the stack during GPUObject creation, but may help elsewhere in the future as well.
2014-04-04Code cleanup: no need to use calloc when memory is initialized afterCampbell Barton
also replace AT with __func__ since AT expands the full pathname
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
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.