Blender Git Loki

Kaikki Blender Git kommitit.

Page: 6919 / 8462

February 13, 2011, 06:19 (GMT)
Fixing compiling on windows
February 13, 2011, 03:21 (GMT)
enforce string limits (reported by pedantic checking tools & some developers).
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf().
also fix possible crash if CWD isnt available.
February 13, 2011, 02:55 (GMT)
remove unused var
February 13, 2011, 01:59 (GMT)
wrong length used with strncmp when comparing RNA path.
Revision 373fea6 by Janne Karhu (master)
February 12, 2011, 23:25 (GMT)
Small update for billboards:
* Renamed the old split uv's animate option "time" to "age" and added a new option to change the used split frame by frame. These are good changes were suggested/implied by Hannu Hoffren over 3 years ago in his tutorial video! (oh my how time flies)
* Also cleaned up the billboard ui quite a bit. For example now the uv channels can be properly chosen from the existing channels.
Revision 54b2127 by Janne Karhu (master)
February 12, 2011, 21:54 (GMT)
Fix for [#25857] create_dupli_list incorrect behaviour with particle systems
* Particle duplis are now always created with render percentage if G.rendering is set.
* This is not yet a perfect solution (hair for example won't yet work correctly), but
it's good to have even partial functionality here until a proper way to handle this
is implemented.
Revision 0a83817 by Janne Karhu (master)
February 12, 2011, 17:54 (GMT)
Small particle effectors update:
* Greetings from farsthary: particle rotation is now taken into account for particle effector direction.
** This gives all kinds of new possibilities as he shows in his blog http://farsthary.wordpress.com/2011/02/08/vortex-particle-simple-tut/.
**The only modification I made to his patch was to use the actual rotated particle direction as the effector direction as this defaults to the particle velocity vector, so no actual new options are needed.
* I also added an "effector amount" setting for particle effectors so that only a part of the particles can be considered as effectors. This makes it possible to create simple "farsthary vortexes" with only one particle system.
* Also some tiny reorganization of the falloff min/max values for a nicer ui.
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 (master)
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 (master)
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
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021