Blender Git Commits

Blender Git "master" branch commits.

Page: 4115 / 5574

February 12, 2011, 17:51 (GMT)
Sculpting on deformed mesh
==========================

Removed limitation of armatured-only objects for sculpting -- now all
deformation modifiers are allowed in sculpt mode. Use crazyspace corrections
like from transformation modules was used to support all deformation modifiers.

Internal change: all crazyspace-related functions were noved to crazyspace.c

P.S. Brush could make quite unexpected deformation for meshes which are
deformed in specified way. Got patch for this and discussing with Brecht
if it's really needed or maybe it could be done in better way.
February 12, 2011, 17:28 (GMT)
Save one memory block allocation/disposing when propagating changes from
deformed PBVH to the base mesh.

It's not real bottleneck, but crazyspace corrections looks nicer now.
Real bottleneck is normals re-calculation, which calls plenty of
fsqrt's. We could avoid this for some modifiers (which don't use
normals), but such checking would make code less controllable.
February 12, 2011, 16:54 (GMT)
fix for more warnings.
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array.
- use BLI_snprintf rather then sprintf where the size of the string is known.
- particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
Revision 9eee1f9 by Janne Karhu
February 12, 2011, 16:06 (GMT)
Warning fix to my previous commit. Thanks to nazg-gul for noticing!
February 12, 2011, 15:44 (GMT)
Fixing a recounting bug so KX_Scene.pre_draw.append() and KX_Scene.post_draw.append() work.
Revision fafbd9d by Janne Karhu
February 12, 2011, 14:38 (GMT)
Particles todo item: particle textures
* Effecting particle properties with textures was possible in 2.49,
but not in 2.5 anymore.
* Now particles have their own textures (available in texture panel
for objects with particle systems), which are totally separate from
the material textures.
* Currently a basic set of particle properties is available for
texture control. Some others could still be added, but the whole
system is not intended as an "change anything with a texture" as
this kind of functionality will be provided with node particles in
the future much better.
* Combined with the previously added "particle texture coordinates"
this new functionality also solves the problem of animating particle
properties through the particle lifetime nicely.
* Currently the textures only use the intensity of the texture in
"multiply" blending mode, so in order for the textures to effect
a particle parameter there has to be a non-zero value defined for
the parameter in the particle settings. Other blend modes can be
added later if they're considered useful enough.
February 12, 2011, 14:25 (GMT)
- fix leak on STL loading if realloc fails.
- transform code was using sprintf reading and writing the same string (undefined behavior).
- softbody had unneeded NULL check.
February 12, 2011, 10:37 (GMT)
fix for uninitialized value in BLI_path_cwd() if PWD wasn't defined and the CWD was longer then 160.
February 12, 2011, 10:18 (GMT)
access past array bounds in layerInterp_mdisps, also make some vars const.
February 12, 2011, 09:58 (GMT)
fix for possible (but unlikely) problem with strncpy not adding and then extending the string with strcat. use BLI_snprintf instead.
February 12, 2011, 09:09 (GMT)
- resource leak in pointcache, opendir without closedir()
- reading pointcache was using an incorrect, always NULL variable.
- commented NDof code, was giving warnings and isnt used now.
February 12, 2011, 08:12 (GMT)
- move keyingsets_utils.py into modules.
- add gplv2 header
- define __all__ so when importing '*' it wont being in locally defined vars.
February 12, 2011, 08:04 (GMT)
update templates for registration changes
February 12, 2011, 06:25 (GMT)
fix for building with opencollada 833 on linux.
February 12, 2011, 05:12 (GMT)
quiet some clang warnings.
February 12, 2011, 01:02 (GMT)
render stats_background() was giving clang warning about unused argument and wasn't checking for buffer overrun (though this would be very unlikely).
write to the stdout directly rather then building a string and writing that. (no functional change).
Revision 6554ae1 by gsr b3d
February 11, 2011, 19:36 (GMT)
SVN maintenance.
February 11, 2011, 18:29 (GMT)
Bugfix #26021

On certain buttons, and only when not in triple buffer, pressing
RMB "Add shortcut" crashed Blender. NULL check missing.

February 11, 2011, 17:56 (GMT)
Fix #26039: Relative Shapkeys have wrong coordinates after inserting vertices

There was invalid memory access for newly created vertices.
Added checking of keyindex value when calculating verticies offsets.
February 11, 2011, 17:43 (GMT)
Fix #26040: Crash converting curve to mesh

Really stupid mistake :)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021