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
2015-02-26Fix T43643: Solidify crashes with 'only-rim'Campbell Barton
When verts were shared by 2+ face-islands, the number of allocated edges was wrong. Cleanup the logic for new verts/edges.
2015-02-24Modifier: no need to calloc (immediately filled)Campbell Barton
2015-02-18Fix T43716 regression in mask modifier - edges could access out ofAntony Riakiotakis
bounds indices of vertices. Issue here is that if we copy edge customdata the MEdge data that were previously written get overwritten, solution is to write indices and flags last (probably writing flags is superfluous here).
2015-02-15Fix T43671: Playing with Mix Factor of Data Transfer Modifier Is ↵Bastien Montagne
Overwritting Data of Base Mesh The issue was actually affecting all data types that are not regular CDLayer ones, since by default DerivedMesh references mesh data (verts, edges, etc. - modifying custom normals often implies modifying edges' sarpness too). Modfying edge/face sharpness etc. could directly affect the mesh in this case, **bad**! So we detect whether we are copying data types that may affect non-CDlayers data, and whether verts array of org dm is same as mesh one - in which case we copy the DM. This avoids useless copying in most cases. Note Edit Normals was quite obviously suffering the same issue.
2015-02-11Minor optimization for mask modifierCampbell Barton
- don't resize ghash buckets (reserve maximum size) - get vert, edge arrays instead of DM getVert, getEdge - calloc -> malloc
2015-02-06Fix T43579: FBX Export shading issue (Broken normals?)Bastien Montagne
Error in custom split normals work, non-autosmooth normals != vertex normals! Loops from flat faces shall take normal of their face, not their vertex. Tsst...
2015-02-06cleanup: styleCampbell Barton
2015-02-06GHash: no need to malloc iteratorsCampbell Barton
2015-02-06Cleanup: styleCampbell Barton
2015-02-05Custom Loop Normals: Add NormalEdit modifierBastien Montagne
Nothing much to say here, basic tool to make normals point toward a target, or to make them point 'outward' as if object was a spheroid (useful for game bushes etc.). Also, forgot a big thank you to Campbell for the extensive review work he has done on this project!
2015-02-03Hook Modifier: add falloff & radius optionsCampbell Barton
- Add falloff types & curves (matching warp-modifier) - Add uniform scale option, important when adding hooks to non-uniform scaled objects, especially for use with lattice objects which can't avoid uneven scaling. This uses relative transformation set when the hook is assigned, when measuring the distances.
2015-02-03Add inverse-square blending for PET and warpCampbell Barton
Similar to 'Root' but without noticeable spike/pinch in the center.
2015-02-02Warp modifier: remove redundant NULL checkCampbell Barton
2015-02-02Warp modifier: avoid sqrt checking radiusCampbell Barton
2015-02-02Fix T43524: Warp modifier curve clamped to 0-1Campbell Barton
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-30Fix T43324: Shrinkwrap projection issue in editmode.Bastien Montagne
Nice stupid error in low-level `get_cddm` helper, was probably affecting other modifiers too actualy!
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-20Made SimDebugData into a single global instance.Lukas Tönne
This way it doesn't have to be stored as DNA runtime pointers or passed down as a function argument. Currently there is now no property or button to enable debugging, this will be added again later.
2015-01-20Cleanup: warningsCampbell Barton
2015-01-20Fix for particle system copy: This has to make sure the ORIGSPACE dataLukas Tönne
layer is available. Otherwise particle mapping to the new mesh cannot work with subdivided and constructively-modified meshes.
2015-01-20Another fix for particle instance child lookups, was not subtractingLukas Tönne
parent amount.
2015-01-20Fix for invalid particle pointer access in mixed particle/child loop.Lukas Tönne
2015-01-20Randomness factor for hair bending stiffness.Lukas Tönne
This helps to create some variation in a hair system, which can otherwise become very uniform and boring. It's yet another confusing setting in a system that should have been nodified, but only option for now (broken windows ...) Conflicts: source/blender/blenkernel/intern/particle_system.c source/blender/physics/intern/BPH_mass_spring.cpp
2015-01-20Fix for particle instance initial frames.Lukas Tönne
These were not orthonormal and tended to flip with changing hair direction, now use the particle hair matrix which is stable wrt. the mesh surface.
2015-01-20Fix for particle instance modifier: use a stable parallel-transportLukas Tönne
framing method instead of the Frenet frame. The Frenet frame is very succeptible to sudden twists along straight sections of a curve where the second derivative (curvature) becomes 0.
2015-01-20Basic solver result feedback from the mass-spring (cloth/hair) solver.Lukas Tönne
This returns a general status (success/no-convergence/other) along with basic statistics (min/max/average) for the error value and the number of iterations. It allows some general estimation of the simulation quality and detection of critical settings that could become a problem. Better visualization and extended feedback can follow later.
2015-01-20Added new data in the cloth modifier for hair root information.Lukas Tönne
This will allow us to implement moving reference frames for hair and make "fictitious" forces optional, aiding in creating stable and controllable hair systems. Adding data in this place is a nasty hack, but it's too difficult to encode as a DM data layer and the whole cloth modifier/DM intermediate data copying for hair should be removed anyway.
2015-01-20Debug drawing for simulations, to aid in visualizing abstract data suchLukas Tönne
as forces, velocities, contact points etc. This uses a hash table to store debug elements (dots, lines, vectors at this point). The hash table allows continuous display of elements that are generated only in certain time steps, e.g. contact points, while avoiding massive memory allocation. In any case, this system is really a development feature, but very helpful in finding issues with the internal solver data.
2015-01-13Cleanup: consistent arg order in bmeshCampbell Barton
2015-01-12Cleanup: rename BKE's 'object_data_transfer' to 'data_transfer' to avoid ↵Bastien Montagne
same file names with ED_object's one.
2015-01-12revert part of 7a1dc20Campbell Barton
These warnings are false positives & confuses intended logic to set dummy values.
2015-01-11Cleanup: quite some harmless but noisy warnings from gcc...Bastien Montagne
2015-01-10Transfer data: add modifier.Bastien Montagne
Not much to add, modifier uses same code as operator basically, only key difference is that modifier will never create data layers itself, you have to use dedicated operator for that.
2015-01-07Fix for bool flag useCampbell Barton
2015-01-06Remove slurph shape-key featureCampbell Barton
This is an old option which wasn't working in over a year without complaint.
2015-01-04cleanup: use 'coords' abbreviation for functions.Campbell Barton
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2014-12-02Fix T42767: Subsurfacing union boolean with same-named UVs crashes BlenderSergey Sharybin
Was own mistake in handling custom data layers in boolean modifier. Campbell, do you mind double-checking if it's all correct?
2014-11-30Cleanup: warnings & spaceCampbell Barton
2014-11-29Cleanup: use const, avoid float -> double in matrix invertCampbell Barton
2014-11-29Compile Fix: BKE_mesh.h is needed for the BKE_MESH_OMP_LIMIT defineJoshua Leung
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-24BLI_utildefines: add UNUSED_VARS() macroCampbell Barton
2014-11-18Fix T42608: Mesh deform modifier for curve fails in renderSergey Sharybin
The issue was caused by render engine duplicating the curve object because it then converts the object to mesh. The mesh deform duplication code didn't duplicate binded data, so after duplication modifier is no longer applyable. So now copyData of mesh deform would copy data needed for binding. This solves reported render bug and also solves possible frustration when duplicating an object with mesh deform in the viewport with Shift-D. Checked other modifiers and laplacian deform already was copying binded data. Didn't see other modifiers which might also need to copy extra data.
2014-11-16Cleanup: use SUBD_CORNER_* prefix for Subdiv flagsCampbell Barton
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-11-10Fix T42486: Array modifier cap-end crashCampbell Barton
Thanks to @PatB for the fix.
2014-11-03Optimization of parallel rangeSergey Sharybin
It now supports different scheduling schemas: dynamic and static. Static one is the default and it splits work into equal number of range iterations. Dynamic one allocates chunks of 32 iterations which then being dynamically send to a thread which is currently idling. This gives slightly better performance. Still some tricks are possible to have. For example we can use some smarter static scheduling when one thread might steal tasks from another threads when it runs out of work to be done. Also removed unneeded spin lock in the mesh deform evaluation, on the first glance it seemed to be a reduction involved here but int fact threads are just adding value to the original vertex coordinates. No write access to the same element of vertexCos happens from separate threads.
2014-11-01Cleanup/fix from latest coverity report.Bastien Montagne
Mostly harmless things, though the 'multires' error was a real bug.