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
2012-06-27style cleanupCampbell Barton
2012-06-27change default DPI for images to 72, aparently 150 gives issues with adobe ↵Campbell Barton
apps (which is stupid but default value isnt so important).
2012-06-27style cleanup: header comments, use more doxy compat formattingCampbell Barton
2012-06-27Fix for #31581, UVs shrink on edge slide.Antony Riakiotakis
Issue is that all loops of a face adjacent to the sliding verts were getting project-corrected. Introduced a test to only project the affected loops. The projection code introduces a small offset to the boundaries so that any boundary tests can work as expected, but this leads to shrinking of the barycentric coordinates of the projection, causing a shrink of the uvs in turn. This even affects the uvs that -should- be affected though the unfixed behavior works strangely in a correctish way (my guess is because the projection uses the same face as the opposite sliding loop). I fixed the behaviour by taking the mean value of the uvs. This won't support seams but current code doesn't either. Also, all CustomData to exhibit this unfixed behaviour. I only fixed the uv case, other data (Vcolors, etc) will have discontinuities when edge sliding. I expect that the CorrectUV code I am working on may address some of these issues. Also, added NULL checks for utility function (was intended for this bug but wasn't needed after all)
2012-06-27Utility function to get the first loop of a vert. Behaves identical toAntony Riakiotakis
the iterator initialization function.
2012-06-27add access to dissolve_limit from python.Campbell Barton
2012-06-27utility function to get the points inside a list of planes.Campbell Barton
2012-06-27style cleanup: also some spelling correction.Campbell Barton
2012-06-27bmesh.ops module for bmesh operator access, only remove_doubles and ↵Campbell Barton
convex_hull at the moment.
2012-06-26fix for a handful of memory leaks relating to parsing and allocating ↵Campbell Barton
arbitrary sized vectors from python args. Vector.dot() was always leaking memory, and would crash if args sizes didnt match. These errors were introduced with n-dimensional vector support. also fixed an error with bmesh py api allocation.
2012-06-26Fix for crash of keying screen node in cases when there's noSergey Sharybin
triangulation generated for tracks setup
2012-06-26mathutils.Vector(kw=value) wasn't raising an error as it should.Campbell Barton
2012-06-26Fix issue with resetting active nurb when sawing from edit modeSergey Sharybin
Issue was caused by loading editNurb into normal nurbs when saving, this used to set active nurb to NULL. This isn't actually needed, because active nurb would be set properly on making editNurb and even if one accessed to active spline via PY API when object is in object it'll be completely harmless.
2012-06-26mask and grease pencil now display in the dope sheet summeryCampbell Barton
2012-06-26Optimization of keying screen nodeSergey Sharybin
When creating tile data include only triangles which have got intersection with tile's rectangle only. This saves quite a lot of per-pixel iterations through triangles which simply can not affect on current tile. In fact, it's AABB check is used here. It could be improved further, but it'll slowdown tile data generation with questionable speedup. Another major slowdown is in fact caused by voronoi triangulation code. Currently it's used naive algorithm which is O(N^2) where N is number of edges. Added few euristics there and removed unused part of code, which gave quite noticeable speedup already. This could be improved further, but this node is not ment to be used for lots of markers. It's also generates wrong triangulation when there're many sites used. Need to be investigated further.
2012-06-26fix for checking wrong flag with removing mask shape keys doubles on the ↵Campbell Barton
dope sheet.
2012-06-26quiet all -Wshadow warnings in the compositor.Campbell Barton
2012-06-26rename remaining class members with m_ prefix.Campbell Barton
2012-06-26use m_ prefix for compositor class members (all compositor operations).Campbell Barton
2012-06-26Bugfix [#31930] DopeSheet - Grease Pencil mode collapses visible channels whenJoshua Leung
switch channel This was caused by a typo, which would end up toggling the expanded status of the Grease Pencil datablock (gpd->flag & 4) instead of the layer active status (gpl->flag & 4).
2012-06-25Fixed crash when trying to perform transformation in Clip Editor without ↵Sergey Sharybin
clip opened Reported by JumboCoDeC in IRC. Thanks for the report.
2012-06-25make hue correct grid more faded out.Campbell Barton
2012-06-25fix for crash with blur - happened most when there was a size input, need to ↵Campbell Barton
mutex lock before allocating the gauss array. also add suspiciously missing call to BlurBaseOperation::initExecution, X had but Y was missing.
2012-06-25code cleanupJeroen Bakker
2012-06-25fix for [#31899] Compositor: scale to rendersize doesn't work onJeroen Bakker
separate channels
2012-06-25correct free command for an array in the compositorCampbell Barton
2012-06-25Ignore disabled markers when building keying screen.Sergey Sharybin
2012-06-25Camera solver: take track offset into accountSergey Sharybin
This helps in cases when it's needed to track a feature which goes out of screen for a while to prevent jump of camera.
2012-06-25Fix for [#31900] Loop Selection on wireframe selects vertex behind.Bastien Montagne
Revert part of r48105 (calling mouse_mesh() in mouse_mesh_loop() is not a good idea, as it might select another element ouside the selected loop, and is anyway overkill!), added lighter code that simply checks for the nearest vertex/face of current edge.
2012-06-25fix for #31914Jeroen Bakker
2012-06-25Fix #31920: switching from cycles to blender internal with 3d view in renderedBrecht Van Lommel
draw mode did not draw the 3d view properly.
2012-06-25Fix cycles not working in 3d local view, and missing update when toggling hidingBrecht Van Lommel
in the outliner.
2012-06-25the mutex struct seems to be different across systems, use memset rather ↵Campbell Barton
then an initializer value. also quiet warning in cycles.
2012-06-25Fix compile after 48262 ( braces)Jens Verwiebe
2012-06-25Added feather control to keying nodeSergey Sharybin
Behaves in the same way as feather dilate/erode node, applies after dilate/erode in node. Also use distance dilate/erode instead of size.
2012-06-25more guardedalloc use in C++, also make compositorMutex a static var, was ↵Campbell Barton
allocated and never freed.
2012-06-25optionally use guarded alloc for tiles compositor, also replace allocation ↵Campbell Barton
functions with a macro.
2012-06-25comment for TODO - rgb_to_bw / rgb_to_grayscale usage.Campbell Barton
2012-06-25Optimization of Keying Blur operationSergey Sharybin
Separate X and Y passes of blurring like it's done for flat gaussian blur. This reduces computing difficulty from size^2 to 2*size without any visual changes in matte.
2012-06-25style cleanupCampbell Barton
2012-06-25Fixes for modifier data in multi-user meshes.Nicholas Bishop
When removing a skin or multires modifier, it skips deletion of the associated CustomData layer if the object has any other modifiers of that type. This check has been extended to all objects that use the object's data. Similarly, deleting higher multires levels and multires subdivision will not update the maximum level of any other multires modifiers on objects that link to the same mesh. Note that modifier_apply_obdata() doesn't need any changes as it does not allow applying to multi-user data. Object joining has also been modified to synchronize multires levels objects that share a mesh. This is needed because joining can subdivide or delete levels in order to match the maximum level of the join-from object to the join-to object. Fixes bug [#31880] instance multiresolution modifier error. http://projects.blender.org/tracker/index.php?func=detail&aid=31880&group_id=9&atid=498 Reviewed by Sergey: http://codereview.appspot.com/6332047/
2012-06-24Tracking dopesheet missed tagigng for update in some cases.Sergey Sharybin
2012-06-24Skip edge matte operation creation if output socket is not connected.Sergey Sharybin
2012-06-24Fix [#31807] Ngon triangulation errorBastien Montagne
Notes: *This implements a quite simple algorithm, which simply checks angles (actually, absolute cosines) of created tri and remaining face (which may be a tri, quad, or more NGon), so that both are "best" (ie avoid as much as possible too much narrow/wide corners), and also checks the new edge is OK (i.e. does not goes "out" of original face). *Incidently, it fixes a typo in that bm_face_goodline() func! *It's quite performant (a bit quicker than previous code, as far as I have tested it) and prevent creation of completely flat triangles as much as possible, but it's far from being a "best" solution (as it is still a "progressive" one)! *It also introduces a new math func (in BLI_math_vector.h), cos_v3v3v3, which computes cosine (ie dot product of normalized vectors) and is roughly a quicker replacement for angle_v3v3v3, when real angles are not needed.
2012-06-24Optimization of keying screen nodeSergey Sharybin
Use AABB check before calculating barycentric coordinates. In simple tests with FullHD image and 4-9 tracks used for gradient gave 1.5-2x speedup.
2012-06-24Style cleanupSergey Sharybin
2012-06-24Fix crash sliding disabled marker from preview widget.Sergey Sharybin
Reported by brothermechanic, thanks!
2012-06-24Release cycles:Thomas Dinges
*BCon 3 - beta.
2012-06-24Typo and spelling fixes pointed by Lockal. thanks!Sergey Sharybin
2012-06-24Fix #31909: "Make Segment" on path-curves gives wrong resultSergey Sharybin
In fact fixed in easiest way -- always re-calculate knots array on topology changes. After some discussion with Ton we agreed on that having manually editable knots is not intuitive and user should only define cyclic/endpoints flags and knots would be re-calculated based on this flags. This means that it's unnecessary to have special logic for knots manipulating in some topology changing tools and they could just re-calculate knots for the whole nurb, without worrying that knots could have been manually edited.