Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-23Possible fix for [#26190] Changing particle amount crashesJanne Karhu
* In some cases fluid particles could be born at the exact same locations. Now these cases are just ignored and such particles don't effect each other.
2011-02-23remove unused functions,Campbell Barton
note: BPY_class_validate() could come in handy later if we need to check classes for properties/functions but for now there is no point in keeping it in.
2011-02-22Convenience fix: Exposing internal sockets now copies the default input ↵Lukas Toenne
value to the group sockets. The "expose" function on group inputs/outputs has an optional parameter "add_link", which can be used to prevent the automatic linking.
2011-02-22Added RNA functions to group tree inputs/outputs for exposing internal ↵Lukas Toenne
sockets or adding custom sockets by name and type (fixes #26171). Changed a few function names for groups for consistency.
2011-02-22Fix for [#26160] Blender Crashes when undoingJoerg Mueller
Was trying to free audio data from sequencer strips that don't even have audio. Corrected the error in several ways so this will definitely not happen again :-)
2011-02-22fix for uninitialized stack variable in displaying the modifier template.Campbell Barton
2011-02-22Fixed missing initialization of node stack entries.Lukas Toenne
2011-02-21Fixed do_versions for node groups which contain nodes that have changed ↵Lukas Toenne
sockets. do_versions is running before the lib_verify_nodetree function updates socket lists of nodes. This means that when adding unlinked sockets in do_versions to restore older node groups, the new sockets are not taken into account. To fix this a temporary node tree flag has been introduced, which delays actual group socket do_version until the group tree internal nodes have been updated. After that the unlinked group sockets are exposed (like old node groups did), then the external sockets look up the new index, so that external links to group instances are preserved.
2011-02-21Bugfix #26116Ton Roosendaal
Node materials with 'ray transparency' set now work again. Fix provided by Ervin Weber, thanks a lot!
2011-02-21Big node groups improvement patch. Node group trees now have their own lists ↵Lukas Toenne
of input/output sockets. Those can be linked to internal nodes just like links between regular nodes. In addition group sockets can be renamed and have a defined order, which can be modified, and they can be removed again. More details can be found in the patch tracker description (#24883) and on the code.blender.org development blog.
2011-02-21Move blender version info into BKE_blender.h so we only have the info in one ↵Campbell Barton
place and so package building scripts can extract it in a more usable way. this also means we can have a version string like '2.56a-beta' without using buildinfo. release/VERSION was only used by scons, NSIS installer. Possibly helps to fix bug [#26062] too.
2011-02-20Fix for crash when sculpting on multires object during playbackSergey Sharybin
- Restored BLI_pbvh_grids_update stuff; - Marc all nodes as changes in ED_sculpt_modifiers_changed, so draw_buffers would be keept correct.
2011-02-19Bugfix #26015Ton Roosendaal
A very Bad Bug! On every draw-object, a function free_old_images() was called which was freeing "unused" images during renders/bakes This was a left-over from 2.4x code, missed it altogether. I'm sure this fix will solve a lot of render crashing... :)
2011-02-19set main() argv functions to be const char *Campbell Barton
also set minimum cmake version to 2.8
2011-02-19fix for string wrap backface culling not working when one of the objects was ↵Campbell Barton
rotated. also skip calculating the dot product if its not needed.
2011-02-18Bug fix: with bigger than 1 cache step dead particles didn't alway stay deadJanne Karhu
* Particle die time wasn't properly taken into account when reading from the cache.
2011-02-18doxygen: blenkernel under core as module.Nathan Letwory
2011-02-18Particle fluid settings weren't copied when particle settings were copied.Janne Karhu
* Also removed some unnecessary null checks.
2011-02-18Particle textures didn't use original coordinates properly for grid ↵Janne Karhu
distribution.
2011-02-18Clear some compiler warnings by commenting some functions, adding others to ↵Campbell Barton
headers. left in warnings where functions obviously need to get ported to 2.5x still. Also, render stamp seq strip works again.
2011-02-17clear some unused warningsCampbell Barton
2011-02-17Bugfix [#26106] No instant visual feed back for Dupliframes, parentingJoshua Leung
problem and crash - It turns out we still need the "copyob" still, if for nothing other than making sure that the unkeyed transforms can get restored. This was removed originally as I thought that just reevaluating the animation would work. - Removed a buggy line of logic that was causing crashes when there was no animation data. It's better to just assume that if animation data exists, that something exists there. - Make Duplicates Real was not clearing data such as the new animation data or constraints.
2011-02-16Bugfix [#22535] Dupliframes with keyframe Anim are brokenJoshua Leung
So, it turns out that dupliframes weren't that bad to restore... the old version didn't do truly accurate transform freezing as it didn't update ancestors too. However, as a modelling tool, this will probably suffice.
2011-02-15Fix for [#26083] Animated Particle Textures have no effectJanne Karhu
* Duplicating particle settings didn't duplicate texture slots.
2011-02-15Move mikktspace code to own library, so it is clear that it is alsoNathan Letwory
intended as a standalone library for use in other applications that want the same tangent space as Blender. This also keeps blenkernel clean(er) from extra math functions.
2011-02-15fix warnings.Campbell Barton
2011-02-14more vars made staticCampbell Barton
2011-02-14This commit will switch blender to use tangent space generated withinM.G. Kishalmi
the two files mikktspace.h and mikktspace.c. These are standalone files which can be redistributed into any other application and regenerate the same tangent spaces. The implementation is independent of the ordering of faces and the vertex ordering of faces.
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-14misc small changes:Campbell Barton
- rename rna collection structs Main prefix to BlendData: eg, MainObjects --> BlendDataObjects - printing python collection now prints its type (when available) - renamed shadowed vars in bpy_rna.c. - when making functions static I also made debugging/test functions static, reverse and add definitions to headers instead.
2011-02-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
2011-02-13Small addition to particle grid distribution:Janne Karhu
* New option to distribute particles in a hexagonal grid. * This is much more stable for fluids than normal grid distribution and looks quite nice otherwise too :) * Also some small scale code cleanup of grid distribution code.
2011-02-13corrected error from commit r34810.Campbell Barton
2011-02-13Some more fixes for particle textures:Janne Karhu
* Moving a texture slot didn't keep the moved slot active. * Copy & paste for particle textures didn't work. * New textures weren't freed properly.
2011-02-13Fix for [#26053] Blender Crash with Particules TexturesJanne Karhu
* Particle textures weren't handled properly on texture slot move operations.
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-13Reverting part of 34810Joshua Leung
The changes here were breaking old rigs, for example the right eyeball in the Sintel rig (which uses the Mirror Modifier and its vertex-group mirroring functionality)
2011-02-13enforce string limits (reported by pedantic checking tools & some developers).Campbell Barton
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf(). also fix possible crash if CWD isnt available.
2011-02-13remove unused varCampbell Barton
2011-02-13Small update for billboards:Janne Karhu
* 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.
2011-02-13Fix for [#25857] create_dupli_list incorrect behaviour with particle systemsJanne Karhu
* 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.
2011-02-12Small particle effectors update:Janne Karhu
* 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.
2011-02-12Sculpting on deformed meshSergey Sharybin
========================== 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.
2011-02-12fix for more warnings.Campbell Barton
- 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).
2011-02-12Warning fix to my previous commit. Thanks to nazg-gul for noticing!Janne Karhu
2011-02-12Particles todo item: particle texturesJanne Karhu
* 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.
2011-02-12- fix leak on STL loading if realloc fails.Campbell Barton
- transform code was using sprintf reading and writing the same string (undefined behavior). - softbody had unneeded NULL check.
2011-02-12access past array bounds in layerInterp_mdisps, also make some vars const.Campbell Barton
2011-02-12fix for possible (but unlikely) problem with strncpy not adding \0 and then ↵Campbell Barton
extending the string with strcat. use BLI_snprintf instead.
2011-02-12- resource leak in pointcache, opendir without closedir()Campbell Barton
- reading pointcache was using an incorrect, always NULL variable. - commented NDof code, was giving warnings and isnt used now.