Revision d3d5fe4 by Campbell Barton January 8, 2011, 10:23 (GMT) |
fixed a case with occlusion where uninitialized variable could be used. also removed unused vars. can_pbvh_draw() had a NULL check which is never needed (callers check for this), a NULL ob would have crashed the function anyway. |
Revision c35db52 by Campbell Barton January 8, 2011, 10:13 (GMT) |
variable 'pool' could be accessed as NULL, globalPool was allocated but not assigned before use. also remove unused vars. |
Revision c2d133a by Campbell Barton January 8, 2011, 04:49 (GMT) |
fix for drawing addons when one of them had a syntax error or would not draw any. now print the error and continue. |
Revision 053776b by Nicholas Bishop January 8, 2011, 01:45 (GMT) |
Sculpt/Paint: More cleanups: moved a function declaration to the correct module, removed old/incorrect comments, marked more things with TODO where appropriate, refactored copy-pasted function, de-duplicated code. |
Revision 2579347 by Nicholas Bishop January 8, 2011, 01:16 (GMT) |
Paint: More cleanups to the cursor drawing code; factored out another sculpt-related function, replaced float calculations with bitwise flags, removed unnecessary GL changes, de-duplicated some lines, removed unused parameters, and added more comments. |
Revision 14d6d1c by Joshua Leung January 7, 2011, 23:54 (GMT) |
More Windows+mingw compiling fixes: FILE_FILE_MAXDIR/FILE were undefined. Restoring BKE_utildefines.h include to make this work again in the meantime. |
Revision e415798 by Joshua Leung January 7, 2011, 23:47 (GMT) |
Removed some overly agressive (and IMO pointless) "UNUSED(arg)" wrappers which was breaking compiling on Windows (mingw) |
Revision 46bf79f by Nicholas Bishop January 7, 2011, 23:36 (GMT) |
Paint cleanup: Pulled out the paint brush overlay drawing code into its own function, brush drawing function was before ~250 lines. |
Revision 2d9c11f by Nicholas Bishop January 7, 2011, 22:46 (GMT) |
Paint/Sculpt: More minor cleanups: fixed names and factored out a function that was copy-pasted into paint stroke. |
Revision ab41b9b by Nicholas Bishop January 7, 2011, 22:03 (GMT) |
Paint/Sculpt: Some minor cleanups: removed `#if 0' code and moved a function into paint_util to avoid `extern' declaration. |
Revision 473838a by Nicholas Bishop January 7, 2011, 21:12 (GMT) |
Fix for bug [#21534] Multires modifier strange deformations This adds the "Apply Base" feature from my gsoc2010 branch. Apply Base partially applies the modifier, in that the mesh is reshaped to more closely match the deformed mesh. The upper-level displacements are recalculated so that the highest multires level appears unchanged. Multires does not currently deal well with too large displacements. An easy-to-reproduce example: create any mesh type, add multires, subdivide a few times, then use the sculpt grab brush to drag the entire mesh over a few units. At the highest level, and at level 0, the mesh looks fine, but all of the intervening levels will have ugly spikes on them. This patch doesn't help with situations where you can't modify the base mesh, but otherwise works around the problem fairly well (albeit with a heuristic, not an exact solution.) |
January 7, 2011, 20:02 (GMT) |
SVN maintenance. |
Revision 89c9aaa by Campbell Barton January 7, 2011, 19:18 (GMT) |
remove references to BKE_utildefines where its not needed. - move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files. |
Revision 8f21a43 by Campbell Barton January 7, 2011, 18:36 (GMT) |
split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes. |
Revision a601fd8 by Janne Karhu January 7, 2011, 17:27 (GMT) |
Bug fix: unbaked particle cache was cleared from current frame onwards on file load. |
Revision b9fe539 by Brecht Van Lommel January 7, 2011, 16:55 (GMT) |
Revert bump mapping patch for now, backwards compatibility is not good enough, we may need to preserve the previous method. |
Revision f01cac0 by Brecht Van Lommel January 7, 2011, 15:41 (GMT) |
Fix #25078: texture mapping options (e.g. size) not working correctly with bump. This problem was in both new bump and new new bump. The derivatives used for bump mapping did not include the mapping, which gave mismatched offset for the taps, now just do the mapping beforehand. |
Revision c8e0ca4 by Brecht Van Lommel January 7, 2011, 14:42 (GMT) |
Improved bump mapping patch by M.G. Kishalmi (lmg) and M.S. Mikkelsen (sparky). Many thanks to them! For comparison, see here: http://kishalmi.servus.at/3D/bumpcode/ Based on algorithm in: Mikkelsen M. S.: Simulation of Wrinkled Surfaces Revisited. http://jbit.net/~sparky/sfgrad_bump/mm_sfgrad_bump.pdf This fixes bugs: #24591: Artefacts/strange normal mapping when anti-aliasing is on #24735: Error at the Normal function. #24962: Normals are not calculated correctly if anti-aliasing is off #25103: Weird artefacts in Normal This will break render compatibility a bit, but fixing this bugs would have also done that, so in this case it should be acceptable. Patch committed with these modifications: * Bump method Old/3-Tap/5-Tap option in UI, 3-Tap is default * Only compute normal perturbation vectors when needed * Fix some middle of block variable definitions for MSVC |
Revision 03e0f28 by Campbell Barton January 7, 2011, 11:48 (GMT) |
bugfix [#25528] lack of update and crash using hook modifier. |
Revision 3c6077e by Janne Karhu January 7, 2011, 11:38 (GMT) |
Bug fix: particle point cache was reset on start frame if particles had grid distribution even if there were no changes. |
|
|
|


Master Commits
MiikaHweb | 2003-2021