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-08-20BKE_units: Some cleanup (mostly bools instead of ints).Bastien Montagne
2014-08-20Fix T38722: Adding units in Imperial setting results in inconsistent valuesBastien Montagne
Now always check for a default unit, and evaluate the whole expression in this "unit space". Not an ideal solution, but should handle most cases nicely (we can't address all possible corner cases anyway). Note default unit is searched in current string first (bigger unit of current system wins), then in previous string. Note this also replaces ',' by '+' in default separation between units, helps solving issues with parenthesis (e.g. (1'1")*2.5 would fail in existing code)! This would break if someone uses py ops with lower precedence than '+' (like bitwise operations, and comparison), but these are not expected usecase here anyway. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D340
2014-08-20Viewport resolution divider works fine for halos nowSergey Sharybin
2014-08-20Fix for missing updates of build scripts in the commit rB05cb63ecf750.Tamito Kajiyama
2014-08-20Correct mistake in recently added intersect toolCampbell Barton
Sorting verts along an edge wasn't working reliably.
2014-08-20BMesh: improve docs for BM_edge_splitCampbell Barton
2014-08-20Fix T41464: Material Boundary bug in Freestyle.Tamito Kajiyama
The reported issue was caused by an old bug combined with another bug introduced by recent Freestyle Python API updates. The old bug was that a mutable reference to CurvePoint was treated as if it were immutable. Iteration over CurvePoint objects is implemented by the C++ CurvePointIterator class, whose dereference method CurvePointIterator::operator*() returns a reference to a mutable data member (probably originally intended for better performance). Hence the returned reference may vary upon iteration over different CurvePoints. This implementation detail was overlooked and the returned reference was treated as immutable (which is the case in fact for other Interface0D subclasses except for CurvePoint). This bug was surprisingly old as it existed before the beginning of Freestyle integration into Blender. The other bug was in the MaterialBoundaryUP0D predicate class that was not properly handling the end of iteration. It is noted that when the iter() and next() built-in functions are applied to Interface0DIterator, it is no longer possible to reliably check the end of iteration by the .is_end property of the iterator. Namely, the .is_end property works as expected only when iteration is carried out in combination with the conventional .increment() and .decrement() methods of the iterator. For this reason the commit rBb408d8af31c9 was partly reverted to recover the previous definition of MaterialBoundaryUP0D.
2014-08-20Cleanup: styleCampbell Barton
2014-08-20Replace strstr with STRPREFIXCampbell Barton
No need to search the whole string.
2014-08-19Roto: Add spline dragging zone in it's centerSergey Sharybin
This dragging zone is visualized as the circle (the same as object origin) in the spline bounding box center and dragging that circle drags the whole spline. Pretty much basic functionality, but quite useful in practice. Requested by our roto team (Sebastian and Sean :) in IRC.
2014-08-19Fix T41457: Viewport resolution divider does freestyle for every resolutionSergey Sharybin
Now freestyle would be rendered for the final resolution only, making it so viewport navigation is really interactive.
2014-08-19Fix T41485: No priority: typo in "effectors effect themselves"Bastien Montagne
Who said 'commit count'? I only see 'bug fixing' here...
2014-08-19Fix T41477: Some UI op buttons have no more option to edit shortcuts.Bastien Montagne
`WM_keymap_guess_opname()` was missing a bunch of op 'types'/familly. Now all are there, either trying to find a matching keymap, or explicitely listed in a comment as skipped for now. Note matching might not be perfect in all case, but we can easily tweak that later if needed.
2014-08-19Mask slide can be cancelled with RMB nowSergey Sharybin
2014-08-19Fix crash in BKE_mesh_validate_arraysCampbell Barton
2014-08-19Fix mesh validate skipping first vertexCampbell Barton
2014-08-19Fix T41479: BLI_bvhtree_find_nearest inaccurateCampbell Barton
Gives noticeably better results for shrink-wrap (even in simple cases)
2014-08-19Fix for BKE_deform_flip_side_name getting fooled by extra separator charactersCampbell Barton
D740 by ldo with own edits
2014-08-19Fix for fix (don't guess enum's sign)Campbell Barton
2014-08-18Fix T41456: soft light texture blend mode zero effectAntony Riakiotakis
Soft light and Linear light blend modes weren't implemented in glsl Reviewers: psy-fi Maniphest Tasks: T41456 Differential Revision: https://developer.blender.org/D744
2014-08-18Correction to previous curve bevlist commitSergey Sharybin
2014-08-18Fix T40653: Modified keymap: MMB not behaving like RMB?Bastien Montagne
Modal frame_change was not terminating on mmb release event...
2014-08-18Fix building on some compilers (clang on OSX).Bastien Montagne
Reported and patch by jensverwiebe (jens verwiebe).
2014-08-18De-duplicate EWA filter code between renderer and compositorSergey Sharybin
The title says it all, move the EWA filter to BLI (currently it's math_interp.c) and use the function from both BI renderer and the compositor. This makes more central place of the algorithm, allowing to have fixes and optimizaitons synchronized across the two usages. This also fixes T41440: Displacement in compositing creates holes Reviewers: campbellbarton, lukastoenne Reviewed By: lukastoenne Maniphest Tasks: T41440 Differential Revision: https://developer.blender.org/D748
2014-08-18Fix T41137: Old render result from viewport render in camera view does not ↵Sergey Sharybin
go away when middle clicking
2014-08-18Fix T41426: floating menus - scroll issues.Bastien Montagne
Do not reset active but if cursor is not over it when getting mousewheel events.
2014-08-18Fix T41462: "Reload from trusted" button not prompting for confirmation.Bastien Montagne
Made 'revert_mainfile' op also handle the 'use scripts' option, and use it for this feature (since it has a nice simple invoke confirmation popup).
2014-08-18Correction to the mipmaps generationSergey Sharybin
Seem we've always were wrong with multiplying alpha by 255, other channels seems to be multiplied by 256 with the shift operations.
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-18Fix for line style shader/texture types showing up in the node editor when ↵Tamito Kajiyama
Freestyle is disabled at compile time. Problem report by Thomas Dinges on IRC, thanks!
2014-08-18Fix T41314: OpenGL error when using Cycles engineSergey Sharybin
2014-08-18BMesh: intersect toolCampbell Barton
Modeling tool to cut intersections into geometry (like boolean, without calculating inside/outside). Faces are split along intersections, leaving new edges selected. Access from Face menu.
2014-08-18Cleanup: assert / warnCampbell Barton
2014-08-18BMesh: add BM_vert_splice_check_doubleCampbell Barton
checks if splicing verts creates duplicate edges
2014-08-17Fix T41467: Modifier view buttons changing positions.Bastien Montagne
Commits early in this year (to save some space) broke this. Hopefully this time it works in all cases - lastCageIndex is no more influenced by realtime/edit active states. Also, inactivate buttons instead of hiding them, can be useful to set those data even though it does not have any immediate effect. Took the opportunity to switch cage buttons to RNA, btw.
2014-08-17BLI_array: utility function for searching an arrayCampbell Barton
2014-08-17Knife tool: simplify hit-depth calculationCampbell Barton
2014-08-17CleanupCampbell Barton
2014-08-17Math Lib: replace epsilon with check against zeroCampbell Barton
line-tri intersection depended on scale, The check made small triangles & lines fail. So just check for divide by zero as ray-cast currently does.
2014-08-17Fix filenames in splashscreen.Bastien Montagne
For some reason, labels of buttons in popups/menus were clipped left. Removed that function (was the only place were it was used), clipping text by its left is really bad for its understanding! Instead, extended clip_middle code so that it optionnally preserves a right piece of the given string (like the shortcut part of a menu label). Think that's what makes more sense here (note that most menus adapt themselves to their longest item, we do not have much fixed-width ones, anyway). Also tweaked a bit clip_middle logic, so that left part always have at least ten chars (in addition to already existing 'min width' checks).
2014-08-16Math Lib: add isect_line_line_epsilon_v3Campbell Barton
2014-08-16CommentsCampbell Barton
2014-08-15Fix T41421Antony Riakiotakis
Don't store selection properties, if those are set in the keymap we can end uo locking one state forever.
2014-08-15Fix T41427: Region overlap moves into wrong window.Bastien Montagne
There was some fuzzyness in `region_overlap_fix()`, using an 'other side' region as ref to move current one in case their rect would intersect... New code is a bit more complex, but should handle nicely all situations, mostly ensuring we only translate an overlap if we find a previous one **on the same side**, and ensuring we also never have intersecting overlapping regions from different sides (since this does not work nice at all).
2014-08-15CleanupCampbell Barton
2014-08-15Fix uninitialized imagepaint values on new scene, report by kopias onAntony Riakiotakis
irc
2014-08-15Correction to last commit, rna namingCampbell Barton
2014-08-15Final Fix T41222 Blender gives weird ouput when baking (4096*4096) ↵Dalai Felinto
resolution on GPU It now uses the tile size to split the job. For CPU this may add overhead, but for GPU this is highly needed. Reviewers: sergey Differential Revision: https://developer.blender.org/D690
2014-08-15Solidify Modifier "Rim Only" OptionCampbell Barton
D737 by scorpion81 with own edits
2014-08-15Modifiers: consider all constructive modifiers as 'preview' ones as well.Bastien Montagne
Indeed, constructive modifiers are highly likely to modify CDLayers like vgroups or vcols! See vertexgroup2.blend file ({F93770}) in T40523, especially obvious with subsurf modifier.