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
2013-06-08code cleanup: warn undefined compiler defines.Campbell Barton
2013-06-05fix [#35628] Dynamic paint waves over ocean modifier doesn't workCampbell Barton
Caused by my recent normal calculation changes, added dependsOnNormals callback which was missing for ocean modifier (it assumed input normals were set).
2013-06-05fix [#35453] "copy mirrored uv coords" doesn't workCampbell Barton
- made precision configurable. - report a warning when doubles are found since they cause problems. added Polygon.center attribute to avoid calculating in python.
2013-06-03fix [#35311] Planar Decimate / Limited Dissolve fails to merge some adjacent ↵Campbell Barton
faces optionally limit by face flipping, also added support to delimit by material and edge crease.
2013-06-03fix [#35555] Collada: export destroys mesh in some casesCampbell Barton
add arguments to calculate normals when converting to bmesh: BM_mesh_bm_from_me, DM_to_bmesh This gives some speedup to undo (which didnt need to re-calculate vertex normals), and array modifier which doesnt need to calculate face normals at all
2013-06-03fix [#35545] Weight paint with mirror modifier does not accurate represent ↵Campbell Barton
bone influence
2013-06-02corrections to modifiers from recent normal handling changesCampbell Barton
- solidify didn't define a dependsOnNormals callback (which it should have) - build wasn't passing on dirty normals. - decimate wasnt setting dirty normals.
2013-06-02use booleans for modifiers and api callbacks.Campbell Barton
2013-06-02fix regression in reducing normal recalculation [#35595],Campbell Barton
pass the dirty-normal-state from the input dm to the output.
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-29Make sure bool will always have the same size in C and C++Sergey Sharybin
There were an issues with data structures defined in headers and being used by both C and C++ on systems with stdbool unavailable. This happened because bool in this case will be defined as unsigned int, which is 4 bytes. But C++'s bool is only 1 byte and this lead to alignment issues. Now bool is always 1 byte, also made sure there's no situation like bool foo = BitField & BitFlag, which could give overflow issues. Use (BitField & BitFlag) != 0 instead. Fixes #35553: Compositor broken (Backdrop & Preview)
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-28optimize mirror merging, remove array reallocation, replace with fixed size ↵Campbell Barton
arrays.
2013-05-26BLI_math rename functions:Campbell Barton
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
2013-05-25fix for out of bounds memory access in solidify (harmless with guardedalloc ↵Campbell Barton
padding but bad practice)
2013-05-21Fluid simulation manual number of threads option now doesn't set the numberBrecht Van Lommel
of threads to the number of cores when the fluid is created. Rather it is now set to 0 which means "use the number of threads specified for the scene".
2013-05-20code cleanup: replace PARALLEL define with _OPENMPCampbell Barton
2013-05-12Fix #35317: crash with boolean modifier using an object whose library linkedBrecht Van Lommel
mesh datablock went missing.
2013-05-08more optimal method of calculating the normal for the solidify modifier.Campbell Barton
When adding 2 unit length vectors, the length can be used to calculate the angle.
2013-05-08code cleanup: remove references to BLI_rand.hCampbell Barton
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-05-08code clenup: rename BKE_mesh_poly_calc_angles -> BKE_mesh_calc_poly_anglesCampbell Barton
2013-05-08add matrix multiply for projection that outputs 2d values.Campbell Barton
2013-05-05Fix #35209: cycles generated texture coordinates did not stick to deforming ↵Brecht Van Lommel
meshes.
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.
2013-04-29Fix [#35110]: Dynamic Paint does not paint accurately in baked "Image ↵Miika Hamalainen
Sequence" on Armature-Posed-Mesh Dynamic Paint was also being calculated during "orco" mesh generation, causing image sequence baking to use orco derived mesh instead. This likely affected vertex type surfaces too in some cases.
2013-04-27Fix #35113: solidify modifier not preserving clamp option on duplicating theBrecht Van Lommel
object or modifier.
2013-04-26fix for out of bounds memory access in solidify modifier (hidden by ↵Campbell Barton
guardedalloc).
2013-04-24Fix bug #34611: bevel overlap limitHoward Trickey
The previous fix limited overlap, but is sometimes too conservative, and artists want way to turn off the limiting, so added 'Allow Overlap' option to modifier.
2013-04-16Random number generator: replace a bunch of usage of the global random numberBrecht Van Lommel
generator with a local one. It's not thread safe and will not give repeatable results, so in most cases it should not be used. Also fixes #34992 where the noise texture of a displacement modifier was not properly random in opengl animation render, because the seed got reset to a fixed value by an unrelated function while for final render it changed each frame.
2013-04-15rename axis_angle_to_mat3_no_norm() --> axis_angle_normalized_to_mat3().Campbell Barton
this matches closer to convention from existing functions - angle_v3v3() angle_normalized_v3v3(). also added assert to ensure argument given to axis_angle_normalized_to_mat3() is in fact normalized.
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-11And another compile fix for Windows / scons for r55946.Thomas Dinges
2013-04-11Fluid threads: re-add an erratically forgotten line, fix typo, set default ↵Jens Verwiebe
threadcount to logical threadcount of machine
2013-04-10Add a gui control for setting omp threads in fluidsJens Verwiebe
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2013-03-23code cleanup: quiet shadow warning.Campbell Barton
2013-03-22code cleanup: use NULL rather then 0 for pointers, and make vars static ↵Campbell Barton
where possible. also found unintentionally defined enum/struct variables that where only meant to be defining the type.
2013-03-20Bugfix [#34710] Crash on duplicating object with cloth modifier.Daniel Genrich
Caused by last commit by me.
2013-03-19Fix for [#34693] Linked Duplicate of object with Ocean modifier fails to ↵Thomas Dinges
copy geometry_mode parameter
2013-03-17code cleanup: name mesh functions more consistently, also use bools for mesh ↵Campbell Barton
args.
2013-03-17code cleanup: incorrect sized array args, remove some redundant code.Campbell Barton
2013-03-13solidify modifier: thickness clamping helps prevent self intersections when ↵Campbell Barton
there are small details on a larger model.
2013-03-13Fix bevel modifier bug #34611, limit bevel amount needed.Howard Trickey
This is a quick fix that perhaps overestimates the point of first geometry collision, but at least for now it should allow models that used the old modifier and a too-big bevel amount to not look awful. The correct solution to this problem is much more involved and I'll get to it later.
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-03-08fix for typo in skin modifier that resulted in incorrect vertex weights.Campbell Barton
2013-03-08style cleanupCampbell Barton
2013-03-07Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It isAntony Riakiotakis
always used in that context so we can at least avoid reverting it twice :p.
2013-03-06fix for error building on big-endian.Campbell Barton