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. |
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. |
January 7, 2011, 17:27 (GMT) |
Bug fix: unbaked particle cache was cleared from current frame onwards on file load. |
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. |
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. |
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 |
January 7, 2011, 11:48 (GMT) |
bugfix [#25528] lack of update and crash using hook modifier. |
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. |
January 7, 2011, 11:24 (GMT) |
New hair child options: * Renamed children to "simple" and "interpolated" as this is easier to explain and more descriptive than "from particles" and "from faces". * Also shuffled the child ui around a bit to make it clearer. * Child seed parameter allows to change the seed for children independent of the main seed value. * Long hair mode for interpolated children: - Making even haircuts was impossible before as the child strand lengths were even, but their root coordinates were not similar in relation to the parent strands. - The "long hair" option uses the tips of the parent strands to calculate the child strand tips. * Hair parting options: - Hair parting can now be calculated dynamically on the fly when in 2.49 there was a cumbersome way of using emitter mesh seams to define parting lines. - For long hair parting can be created by a tip distance/root distance threshold. For example setting the minimum threshold to 2.0 creates partings between children belonging to parents with tip distance of three times the root distance ((1+2)*root distance). - For short hair the parting thresholds are used as angles between the root directions. * New kink parameters: - Kink flatness calculates kink into a shape that would have been achieved with an actual curling iron. - Kink amplitude clump determines how much the main clump value effects the kink amplitude. - The beginning of kink is now smoothed to make the hair look more natural close to the roots. * Some bugs fixed along the way too: - Child parent's were not determined correctly in some cases. - Children didn't always look correct in particle mode. - Changing child parameters caused actual particles to be recalculated. * Also cleaned up some deprecated code. All in all there should be no real changes to how old files look (except perhaps a bit better!), but the new options should make hair/fur creation a bit more enjoyable. I'll try to make a video demonstrating the new stuff shortly. |
January 7, 2011, 11:08 (GMT) |
cmake: share the DNA_*.h list definition between makesrna and makesdna |
January 7, 2011, 10:38 (GMT) |
Fix for [#25526] Inmediate crash when changing amount of particles in a particle system * Point cache index array doesn't necessarily have all particles if the particles were re-allocated recently. |
January 7, 2011, 10:13 (GMT) |
Fix for [#25506] Hair showing up in places not assigned by a weightmap * Two separate bugs, with very similar symptoms. * The distribution binary search didn't work correctly in cases where there were a lot of faces with 0 weights. * Maximum distribution sum should have been exactly 1, but due to the wonderful nature of floats this wasn't the case at all. |
January 7, 2011, 09:50 (GMT) |
patch [#25440] Object.vertex_group fixin' from Dan Eicher (dna) From the tracker (with minor edits) ======================== cube = bpy.data.objects['Cube'] foo = cube.vertex_groups.new('foo') foo.add([1,3,5,7], 1.0, 'ADD') for i in range(len(cube.data.vertices)): try: weight = foo.weight(i) print('vert: %i weight: %f' % (i, weight)) except: pass foo.remove([1,3]) cube.vertex_groups.remove(foo) |
January 7, 2011, 09:47 (GMT) |
another error in commit r34143, was using the define's 'BLEN' & 'DER_' however the latter is incorrect since DER- is used for 64bit blend files. removed the define. |
January 7, 2011, 08:59 (GMT) |
fix for error in own commit r34143 |
January 7, 2011, 08:43 (GMT) |
- cmake use execute_process, exec_program is deprecated. - game engine builds without python again. |
January 7, 2011, 07:36 (GMT) |
bugfix [#25457] Lack of update on undoing a lattice rig |
January 7, 2011, 06:50 (GMT) |
patch [#25490] Fix for [#22096] Blender tries to open non-blend file from Alexander Kuznetsov (alexk) with edits. From the report: Blender assumed that all files are .blend as retval = 0; Now retval is initialized as file cannot be open (-1) for gzopen fail and directory case retval = -2; is defined for not supported formats This must be assigned before #ifdef WITH_PYTHON because this part can be missing Finally retval = 0; if it is a .blend file --- also made other edits. - exotic.c's blend header checking was sloppy, didn't check data was actually read, only checked first 4 bytes and had a check for "blend.gz" extension which is unnecessary. - use defines to help readability for BKE_read_exotic & BKE_read_file return values. - no need to check for a NULL pointer before calling BKE_reportf(). (will just print to the console) - print better reports when the file fails to load. |
January 7, 2011, 06:39 (GMT) |
incorrectly documented return type |
January 7, 2011, 05:50 (GMT) |
Fix/add OSX style text editing shortcuts to default keymap |
|
|
|


Master Commits
MiikaHweb | 2003-2021