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
path: root/source
AgeCommit message (Collapse)Author
2013-07-12Get rid of global originmat matrix from object.cSergey Sharybin
This matrix was used to store the space the object is in, which then was accessed by snapping code. No reason to keep it as a global variable (which isn't safe for threading, unlikely it'll give issues now, but it's easy to avoid issues early here). Now made it so BKE_object_where_is_calc_ex will get an optional parameter originmat and set this matrix in solve_parent. Original patch by self, minor changes by Campbell, thanks!
2013-07-12fix [#36093] Stationary Particle system - particle Y axis fails to follow ↵Campbell Barton
emitter object rotation
2013-07-12Expose node.select exec callback to an operatorSergey Sharybin
Internally it was only invoke callback set for an operator template. This invoke was setting such properties as mouse_x and mouse_y and was calling an exec function. This meant that t seemed to be really easy to use node.select operator from by giving a mouse positions, but in fact it wasn't possible (because it requires exec callback) This commit sets operator's template exec callback, which makes it possible using node.select from python.
2013-07-12fix for crash with texture-baking caused by recent changes to ↵Campbell Barton
render-database initialization, running bake 3 times would crash.
2013-07-12fix [#36106] Defining the Loopcut number with the keyboard is limited to 130Campbell Barton
mousewheel value is now clamped too and raised the limit to 500.
2013-07-12optimize interp_weights_poly_v2(), well tested, was calculating the area ↵Campbell Barton
twice as much as was needed.
2013-07-11Fix for Bug #35695: Freestyle produces extra line across an object with ↵Tamito Kajiyama
pointed areas. The cause of inconsistent edge connectivity in the view map (documented in the commit log of revision 58006) was identified and fixed. The problem was that when a ViewEdge was split at a cusp vertex (ViewMapBuilder::computeCusps()), the ViewVertex at one end of a newly created ViewEdge in ViewMap::InsertViewVertex() was not properly updated to take account of edge connectivity changes.
2013-07-11fix [#36105] Bevel UV FlickerCampbell Barton
interp_weights_poly_v2/3 functions used much too small an epsilon value, caused flickering.
2013-07-11utility function for printing arbitrary sizes vectors.Campbell Barton
2013-07-11fix [#36100] bevel lost selectionCampbell Barton
interpolating loop was copying face attributes including selection, checked all users of this function and its safe to remove the call (which is bad to begin with).
2013-07-11Fix bevel when there is a gap in faces around vertex.Howard Trickey
Fixes bug #35927 (Vertex Bevel bug) but even edge bevel didn't work on the example there. Problem was with forming the proper ccw ordering of edges around the bevel. Also appears to fix bug #35582 (Bevel, weird results).
2013-07-11add BM_elem_attrs_copy_ex() which can take a flag arg to define which flags ↵Campbell Barton
should be copied. (mainly to be able to avoid copying selection/hidden state)
2013-07-11Fix #36091: external render engines like Luxrender don't work well with the saveBrecht Van Lommel
buffers option, it requires specific tile sizes and if they don't match what OpenEXR expects file saving can get stuck. Now I've made support for his optional, with a bl_use_save_buffers property for RenderEngine, set to False by default.
2013-07-11fix [#36099] Undo crashes on an armature with ID-PropertiesCampbell Barton
armatures undo state now stores ID-properties.
2013-07-11fix for bridge tool where the 2 loops overlap (typical use for scanfill), ↵Campbell Barton
however its nice to support with bridge too since it can do subdivisions, handles customdata and fills in quads.
2013-07-11fix [#36090] Blender displays strange symbol in edge lengthCampbell Barton
2013-07-11fix [#36089] crash when using a tiff without TIFFTAG_EXTRASAMPLESCampbell Barton
2013-07-11fix for problem with edge slide where it would stop shapekey modifier from ↵Campbell Barton
being applied (because of added vertices), now, instead of making hidden copies of faces, the faces are copied into a temp bmesh. also remove a hash that was being created and not used (old code).
2013-07-11bm_loop_interp_mdisps was doing multiple lookups in the same pointer in a ↵Campbell Barton
nested loop. only need one, also avoid multiple layer lookups with mdisp calculation/smoothing
2013-07-10Fix #36082: animation playback not working after rendering of background ↵Brecht Van Lommel
scenes and multiple render layer nodes. Also fixes issue with database free with vector blur after recent thread safety changes.
2013-07-10BM_mesh_clear was setting toolflags incorrectly, also no meed to calloc when ↵Campbell Barton
shrinking toolflags array.
2013-07-10skip duplicating faces for edge slide unless its used, this causes update ↵Campbell Barton
problems for shape keys at the moment, Ill check on that but no need to run in most cases.
2013-07-10no need to copy mat4x4 -> 3x3 in mat4_to_scaleCampbell Barton
2013-07-10Fix #36076: Metaballs as particles with particle texture (size influence) ↵Sergey Sharybin
crashes Blender Issue was caused by size influence affecting on object's matrix, which is nice by it's own. But mball code was using ob->size to check whether it's zero-sized object or not, but then was using ob->obmat to scale the meta elements. This lead to situation when zero-sized elements were trying to tessellate, which is for sure a really bad idea.
2013-07-10patch [#36078] Fixes joining behavior for curves and armatures (when active ↵Campbell Barton
object not selected).
2013-07-10remove reference to wrong python version in comments & pedantic style edit.Campbell Barton
2013-07-10fix for possible bug with compilers that dont have boolean support.Campbell Barton
2013-07-10fix [#36065] UI labels are shown in the theme color for unselected list itemsCampbell Barton
2013-07-10Fix #36041, Chroma key broken. Compositor node was using wrong socket index ↵Lukas Toenne
to link the output of the RGBToYCC operation to the chroma matte input. This mistake happens over and over, it's just not clear what the index arguments in these relink functions mean ... We really need to clean up that interface.
2013-07-10fix [#36079] Use Modifier Stack Crash with ParticlesCampbell Barton
2013-07-10add asserts for passing in bad index values to DM_get_***_data, CustomData_get()Campbell Barton
2013-07-10fix for particle lasso-select inverting the selection.Campbell Barton
2013-07-10fix [#35406] Hair puff brush bugCampbell Barton
- puff was interpolating hair that made longer strands cirl up. - also fixed problem with puff-volume option, it was over-accumulating so unselected parts of the hair would have too much offset applied.
2013-07-10draw loopcut display on the deformed mesh when in editmode.Campbell Barton
2013-07-10fix [#35948] Toggle-Draw AutoKeyframe BugCampbell Barton
2013-07-10Fix #36075: editing shading nodes could still crash blender internal renderedBrecht Van Lommel
draw mode. This happens because it uses node data structures in threads, now it does same as preview render, which is to immediately stop the render thread when e.g. deleting nodes.
2013-07-10fix [#36073] Changing list items misses undo pushCampbell Barton
2013-07-10Fix for bug #36009: Rendered ortho view messes up Freestyle lines in 3D ↵Tamito Kajiyama
viewport. Clipping start is negative when the viewport preview is used with the orthographic view, while Freestyle assumes that imported mesh data are in the camera coordinate system with the view point located at origin. The present solution is to adjust the clipping start/end and introduce a Z-axis offset for mesh vertices so as to satisfy the assumption.
2013-07-10Fix missing cycles viewport update when changing manual texture spaceBrecht Van Lommel
location or size in the properties editor.
2013-07-09Partial revert of rev58110Sergey Sharybin
There's one thing we didn't foresee from the beginning, which is apparently TLS is only available in OSX starting from version 10.7, and we still do support of 10.6. After recent Brecht's changes about locked viewport while initializing BI render this TLS is not needed in trunk anymore. So reverting this chunk of base iteration to use static variable. But leaving all the other static variables warped into context still, it should help a bit in the future refactor. Real fix would be to have some kind of graph context evaluation structure which would be passing to update routines (which will solve threaded mballs update) and making depsgraph responsible for getting a motherball. But this is all for GSoC project.
2013-07-09fix [#36004] Vertex parent on curve point results in blank 'parent_type' on ↵Campbell Barton
child object
2013-07-09Fix blender environment map texture looking different on the first render withBrecht Van Lommel
an image file, the image extend is set automatically when render starts but not when the image was never loaded yet.
2013-07-09fix [#36055] Edge/Face Info display on wrong position with key framesCampbell Barton
display editmesh stats with deform modifiers.
2013-07-09Fix #36030: datablock drag and drop to buttons not working with a certain numberBrecht Van Lommel
of objects in the scene.
2013-07-09Fix #36050, backdrop not working. The compositor backdrop requires a restart ↵Lukas Toenne
of the compositing job, which does not happen if just enabling backdrop after adding a viewer node. To fix this added the appropriate notifiers in a update callback for the show_backdrop property.
2013-07-09add checks in paintface_flush_flags for faces which have no original index ↵Campbell Barton
values. (could give out of bounds writes)
2013-07-09Fixed more threading issues with metaballsSergey Sharybin
This time issue was caused by static variables used in BKE_scene_base_iter_next function. Change is not so much ultimate actually, but didn't find more clear solution for now. So the changes are: - Wrap almost all the static variables into own context- like structure, which is owned by the callee function and getting passed to the iteration function. - Recursion detection wasn't possible with such approach, so recursion detection still uses static in_next_object variable, but which is now stored in thread local storage (TLS, or thread variable if this names are more clear for you). This makes code thread-safe, but for sure final solution shall be completely different. Ideally, dependency graph shall be possible to answer on question "which object is a motherball for this metaball". This will avoid iterating via all the bases, objects and duplis just to get needed motherball. Further, metaball evaluation ideally will use the same kind of depsgraph filtering, which will get result for question like "which objects belongs to this group of metaballs". But this ideal things are to be solved in Joshua's and mind GSoC projects. Tested on linux (gcc and clang) and windows (msvc2008), hopefully no compilation error will happen. Thanks to Brecht for reviewing the change and getting feedback for other possible ways we've dicussed!
2013-07-09fix [#36039] Texture paint bug with face selection on subdivided objectCampbell Barton
original patch by Antony Riakiotakis, made some edits to only check origindex when needed.
2013-07-09fix for error in vertex_group_vert_select_unlocked_poll, check for non ↵Campbell Barton
existing group wasn't right.
2013-07-09fix error where if you tried to bridge an odd number of loops after bridging ↵Campbell Barton
pairs, there was no way to change the options. eventually I think the operator api should support this but for now return finished.