Revision df3f3df by Campbell Barton July 22, 2012, 21:13 (GMT) |
patch [#31925] Add a BMElemSeq.sort() method from Antonio Ospite (ao2) wrap bmesh sort function for python api, eg: bm.faces.sort(key=lambda f: f.material_index) |
Revision 76bea85 by Campbell Barton July 22, 2012, 18:40 (GMT) |
code cleanup: replace cos(M_PI / 4) and sin(M_PI / 4) with M_SQRT1_2 define also some minor style cleanup. |
Revision ea22963 by Campbell Barton July 22, 2012, 18:31 (GMT) |
code cleanup: simplify view orbit operator |
Revision 513aec7 by Campbell Barton July 22, 2012, 17:49 (GMT) |
code cleanup: remove unused math functions (where already noted as deprecated) |
Revision fefddc3 by Campbell Barton July 22, 2012, 17:35 (GMT) |
code cleanup: use cosf and sinf when both args and results are float values. also remove local math functions in KX_Camera |
Revision e58104c by Joshua Leung July 22, 2012, 16:14 (GMT) |
Bugfix [#32017] Infinite recursion in depsgraph material/node driver handling When initially coding this functionality, I was aware of the potential for infinite recursion here, just not how frequently such setups are actually used/created out in the wild (nodetree.ma_node -> ma -> ma.nodetree is all too common, and often even with several levels of indirection!). However, the best fix for these problems was not immediately clear. Alternatives considered included... 1) checking for common recursive cases. This was the solution employed for one of the early patches committed to try and get around this. However, it's all too easy to defeat these measures (with all the possible combinations of indirection node groups bring). 2) arbitrarily restricting recursion to only go down 2/3 levels? Has the risk of missing some deeply chained/nested drivers, but at least we're guaranteed to not get too bad. (Plus, who creates such setups anyway ;) *3) using the generic LIB_DOIT flag (check for tagged items and not recurse down there). Not as future-proof if some new code suddenly decides to start adding these tags to materials along the way, but is easiest to add, and should be flexible enough to catch most cases, since we only care that at some point those drivers will be evaluated if they're attached to stuff we're interested in. 4) introducing a separate flag for Materials indicating they've been checked already. Similar to 3) and solves the future-proofing, but this leads to... 5) why bother with remembering to clear flags before traversing for drivers to evaluate, when they should be tagged for evaluation like everything else? Downside - requires depsgraph refactor so that we can actually track the fact that there are dependencies to/from the material datablock, and not just to the object using said material. (i.e. Currently infeasible) |
Revision 919a848 by Campbell Barton July 22, 2012, 16:10 (GMT) |
svn merge ^/trunk/blender -r49107:49118 |
Revision dae8e9f by Campbell Barton July 22, 2012, 15:49 (GMT) |
fix for own error using uninitialized memory for scale compo node. |
Revision e646803 by Campbell Barton July 22, 2012, 15:31 (GMT) |
fix for more new[]/delete[] mismatches |
Revision f9ed34c by Campbell Barton July 22, 2012, 15:15 (GMT) |
fix for compositor new[]/delete[] mismatch. |
Revision 8904429 by Sergey Sharybin July 22, 2012, 14:22 (GMT) |
Fix #32156: Blender crashes on linking armature with custom shape Crash was caused by using NULL pointer as a wire color for drawing object selection when drawing flag is set to DRAW_CONSTCOLOR. Solved by not calling drawObjectSelect when DRAW_CONSTCOLOR flag is set, which seems reasonable -- rather than adding checks deeper in all possible functions which are being called there easier to just not call that functions using a single check. |
Revision dc48fcf by Antonis Ryakiotakis July 22, 2012, 14:19 (GMT) |
Add property to stitch operator to clear seam flag of stitched edges (on by default, since people usually want the layout to be updated). Motivation has been confused user that tried to use live unwrap afterwards and found that it would not work as it should. |
Revision 2b28658 by Campbell Barton July 22, 2012, 13:13 (GMT) |
fix for node editor re-rendering when the background image was moved in the view. |
Revision 43979f2 by Sergey Sharybin July 22, 2012, 12:48 (GMT) |
Increase maximal video bitrate to 64K Aimed to #32153: H.264 Output Bitrate Max of 14000 kb/s is Too Low |
Revision 80c1bb4 by Lukas Toenne July 22, 2012, 11:21 (GMT) |
Removed nested comment, which causes compiler errors. |
Revision 9b51503 by Campbell Barton July 21, 2012, 22:58 (GMT) |
style cleanup |
Revision 130b6ba by Sergey Sharybin July 21, 2012, 19:21 (GMT) |
Revision 049dd8a by Sergey Sharybin July 21, 2012, 19:19 (GMT) |
Boolean modifier: prevent crashes when carve returns bad topology For sure actual issue is in carve's triangulation system which need to be investigated and fixed. For now only fixed by re-shuffling a bit existing degenerative faces check and added extra checks there. Would look into actual fix a bit later. |
Revision 2a98e83 by Campbell Barton July 21, 2012, 16:21 (GMT) |
style cleanup |
Revision 7baf3d2 by Campbell Barton July 21, 2012, 15:40 (GMT) |
svn merge ^/trunk/blender -r49082:49104 |
|
|
|


Master Commits
MiikaHweb | 2003-2021