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-12-01Cleanup: more int->bool.Bastien Montagne
2014-11-17Cleanup: rename `BKE_key_convert/update` to `BKE_keyblock_convert/update`.Bastien Montagne
We are handling a keyblock here, not a whole key(set). Names are alreay a bit confusing, let's be consistent at least.
2014-11-16Cleanup: use BLI_listbase_count_ex to avoid redundant loopingCampbell Barton
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-11-11Fix T42557: Crash on delete or separate vertices with subsurf modifier + ↵Bastien Montagne
vertex parenting Only fixes the crash actually, real issue is, vparent does not handle deletion of vertices at all currently... We'd need either some kind of static uuid for vertices, or some mapping helpers used each time we remove or reorder verts... ugh. Org patch by Severin (Julian Eisel).
2014-11-06better fix for fix T42525 (tm)Antony Riakiotakis
Looks like material node trees are stored directly in the material. The reason I thought this was fixed was because my test file didn't connect the lamp data node in the rest of the tree. Thanks to Campbell for catching this :)
2014-11-06Fix T42525 crash when deleting lamp attached to Lamp Data material nodeAntony Riakiotakis
in material shading mode.
2014-10-31Optimize vertex parent for edit mode without modifiersSergey Sharybin
No need to run lookup on the origindex in this case at all.
2014-10-31Optimize vertex parent in cases there are only deform and SS modifiersSergey Sharybin
In cases when the subsurf modifier is the last in the stack and there are only deformation modifiers before it we can skip doing full orig vertex lookup. This is rather common situation here in animatic.
2014-10-21Fix T42257: Curve vertex parent not working with animationSergey Sharybin
Vertex parent was using original non-modified nurbs list, simply because it didn't have something else to operate with. Now we've got deformed by pre-tessellation modifiers nurbs in the curve cache which might be used y the vertex parent.
2014-10-13BLI_utildefines: add SQUARE macroCampbell Barton
also minor cleanup
2014-09-24Correct for change in recent commitCampbell Barton
2014-09-24Cleanup: const correctness for BLI_sortlistCampbell Barton
2014-09-01Support more object types scene-scale (on creation)Campbell Barton
- lamp - camera - font - empty & effector Also fix inconsistency with apply transform (modified shape-keys for meshes but not curve/lattice)
2014-08-27CleanupCampbell Barton
2014-08-26Fix T41355: Make-local looses linked modifiers textureCampbell Barton
2014-08-18Fix T41085: Blender crashes when using "spline" or "segments" for bevel ↵Sergey Sharybin
curve factor. Root of the issue goes to the fact that bevel list calculation might drop some points if they're at the same position. This made spline length calculation goes wrong. Now the length of the bevel segments is stored in the bevel list, so values are always reliable. Initial patch by Lukas Treyer with some tweaks from me.
2014-08-11Utility functions for getting boundbox size/scaleCampbell Barton
2014-08-04Correct cu->pathlen treated as a floatCampbell Barton
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-07-16Cleanup: Adhere to our naming convention for BKE_linestyle.h APICampbell Barton
2014-07-07Fix compilation error with Freestyle after recent DAG changesSergey Sharybin
2014-07-07Fix T40712: Duplicators don't generate orco and UV coordinates in Cycles ↵Lukas Tönne
viewport preview. Fix T39286: Display percentage ignored in Cycles viewport. The threaded depsgraph update changes included a cleanup of the global is_rendering flag, which was replaced by a general EvalContext being passed to dupli functions. Problem is that the global flag was true for viewport duplis before (ugly hack), which was used as a check for generating dupli orco/UV from mesh data layers. The new flag is stricter and only true for actual renders, which disables these attributes and breaks the Cycles Texture Coordinates and UVMap nodes. The solution is to extend the simple for_render boolean to an enum: * VIEWPORT: OpenGL viewport drawing (dupli tex coords omitted) * PREVIEW: Viewport preview render (simplified modifiers) * RENDER: Full render with all details and attributes There are still some areas that need to be examined, in particular modifiers seem to totally ignore the EvaluationContext! Instead they generally execute without render params from the depsgraph (BKE_object_handle_update_ex) and are built with render settings explicitly. Differential Revision: https://developer.blender.org/D613
2014-07-02Fix T40823 LoD Add and Remove crash without valid objectDaniel Stokes
Changed the polling method used for both the add and remove LoD operators to a more appropriate one.
2014-06-27Fix T40823, crash with LoD operator without valid object.Thomas Dinges
2014-06-18Code cleanup: replace 0 with OB_MODE_OBJECTCampbell Barton
2014-06-09Fix T40057: invisible hair particles slowing down mesh editsSergey Sharybin
Skip doing particle update in object_handle_update if object is in edit mode. Object will be re-evaluated on exit from edit mode anyway, so it's _expected_ to be a safe change.
2014-06-01Fix T40315: Boolean modifier with Freestyle edges.Tamito Kajiyama
The helper function `make_freestyle_edge_mark_hash()` was referring to the original mesh to determine Freestyle edge marks for individual derived mesh edges. This is no longer necessary now that derived meshes deliver CD_FREESTYLE_EDGE and CD_FREESTYLE_FACE layers of their own. The reference of the original mesh was also inappropriate since the edges coming from one of the operands of a boolean modifier don't have proper CD_ORIGINDEX values but ORIGINDEX_NONE's. Many thanks to Sergey Sharybin for patch contributions and discussions.
2014-05-19Style cleanupCampbell Barton
2014-05-19Fix T40194: cycles deformation motion blur not working with curves + shape keys.Brecht Van Lommel
2014-05-08Code Cleanup: remove unused m_contactProcessingThresholdCampbell Barton
2014-05-07Code cleanup: naming.Antony Riakiotakis
Prepend BKE_ to the functions moved in blenkernel for recent bug fix.
2014-04-30Fix for copy_object_pose incrementing custom user twiceCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-29Code cleanup: remove redundant matrix initializationCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (blenkernel)Campbell Barton
2014-04-11API Cleanup: Use BKE_constraint prefix for constraint apiCampbell Barton
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-09View3D: disable LOD when game engine is disabled or ifdef'dCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-31Code cleanup: use boolCampbell Barton
2014-03-30Code cleanup: de-duplicate cotangent weight function & add arg sizesCampbell Barton
2014-03-24Fix T39318: Blender 2.70 crash when I link an assetSergey Sharybin
Issue is a regression since threaded objetc update and caused by the fact that some objects might share the same proxy object. It's all fine but object_handle_update() will call update for a proxy object which screws up threaded update. The thing is, proxy object is marked as depending on a scene object and such a call makes it so the children objetc is being updated. This is really bad and depsgraph is to take all responsibility on updating the proxy objects. So for now used a simple solution (which is safe to backport to 'a') which is skipping proxy update if the scene update is threaded and based on the DAG traversal. There are some still areas which calls object update directly and for that cases proxy object is still being updated from object_handle_update().
2014-03-18KDTree: deprecate 'normal' argumentCampbell Barton
Normals for each kdtree node were allocated but never used, and search args only use in particles/boids code.
2014-03-16Code cleanup: modifier_skin_customdata_ensure was a bad level callCampbell Barton
2014-03-14Fix T39166: Disappearing text objectsSergey Sharybin
This is a failure of viewport direct displist creation caused by existing curve_cache pointer which empty content. Made it so if the curve isn't evaluated it's curve_cache is NULL. This is just-another-regression to be ported to the release.
2014-03-14Fix T39180: Particle with fluid physics unstable.Lukas Tönne
Fluid particles use the particle system's bvhtree structure, which is a runtime BVH tree. This was not reset properly on copying objects/psys, which lead to concurrent access in threaded depsgraph updates and memory corruption.
2014-03-11Fix T39033: Regression, duplicating proxy loses proxyCampbell Barton
fix for bug making duplicates real effected copying scenes and linked duplis.
2014-03-07Removing ParticleSystem->frand arrays to avoid memory corruption issuesLukas Tönne
in threaded depgraph updates and effector list construction. Gathering effectors during depgraph updates will call the psys_check_enabled function. This in turn contained a DNA alloc call for the psys->frand RNG arrays, which is really bad because data must be immutable during these effector constructions. To avoid such allocs the frand array is now global for all particle systems. To avoid correlation of pseudo-random numbers the psys->seed value is complemented with random offset and multiplier for the actual float array. This is not ideal, but work sufficiently well (given that random numbers were already really limited and show repetition quite easily for particle counts > PSYS_FRAND_COUNT).
2014-02-14Fix T38504: cycles missing object in viewport with shape keys and shared mesh.Brecht Van Lommel