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-13remove unused varCampbell Barton
2011-02-13wrong length used with strncmp when comparing RNA path.Campbell 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-12Save one memory block allocation/disposing when propagating changes fromSergey Sharybin
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.
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-12fix for uninitialized value in BLI_path_cwd() if PWD wasn't defined and the ↵Campbell Barton
CWD was longer then 160.
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.
2011-02-12fix for building with opencollada 833 on linux.Campbell Barton
2011-02-12quiet some clang warnings.Campbell Barton
2011-02-12render stats_background() was giving clang warning about unused argument and ↵Campbell Barton
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).
2011-02-11Bugfix #26021Ton Roosendaal
On certain buttons, and only when not in triple buffer, pressing RMB "Add shortcut" crashed Blender. NULL check missing.
2011-02-11Fix #26039: Relative Shapkeys have wrong coordinates after inserting verticesSergey Sharybin
There was invalid memory access for newly created vertices. Added checking of keyindex value when calculating verticies offsets.
2011-02-11Fix #26040: Crash converting curve to meshSergey Sharybin
Really stupid mistake :)
2011-02-11Made some function from DerivedMesh.c be avaliable from other modules.Sergey Sharybin
Some naming changes to make naming more uniform. No functional changes. It's necessery for further crazyspace changes and improvenments.
2011-02-11Bug fix for problem 2 in [#25973] Bake End Frame Not ConfigurableJanne Karhu
* External caches didn't load for smoke straight away. Smoke caches store all necessary info in every file, so no need to try to look for an info file.
2011-02-11Removed the internal_select parameter from ntreeCopyTree. This was used just ↵Lukas Toenne
in one place when duplicating nodes, which is not an actual copying of the tree. The node duplicate operator now copies selected nodes itself.
2011-02-11Made group label callback function static.Lukas Toenne
2011-02-11cls.is_registered() class method for python subclasses of internal types.Campbell Barton
Synonymous with ('bl_rna' in cls.__dict__)
2011-02-11minor python register changes.Campbell Barton
- KeyingSetInfo classes are now collected like Panels, Operators etc so bpy.utils.register_module() can be used. - move bpy.types.register() to bpy.utils.register_class
2011-02-11BGE: frame start/end in action/fcurves/shapekey to support floatsDalai Felinto
after discussion over the mailing-list it seems that it really makes no sense to restrict that. Specially since we have the "Property" playback mode that usually will be a float. Since there is no need for do_version or whatoever I don't see a problem. Any Thoughts? Maube to allow it only through the Python API?
2011-02-10Different method for blur node aspect correction. Now the user can still set ↵Lukas Toenne
different sizes for x/y blurring in relative mode, but choose to use aspect correction on either of the axes.
2011-02-10More options for the blur node filter size. This can now be pixel based or ↵Lukas Toenne
relative to both axes or just either width or height.
2011-02-10Bugfix #26013Ton Roosendaal
Good discovery this one. It appeared that "pose mode" changes were not registered in our undo system. That way the first operator you try to redo after exit posemode fails.
2011-02-10Bugfix #26001Ton Roosendaal
Adding a byte rect to float ImBuf was always freeing the mipmap levels. Removed this convention since it crashes renders + image texture draw. Proper ownership handling of ImBuf is high on the wish list :)
2011-02-10fix for crash with GLSL material when image couldn't be loaded.Campbell Barton
also quiet pep8 warnings.
2011-02-10mesh validation remove duplicate faces didn't always work, now it _should_ ↵Campbell Barton
all work correctly.
2011-02-10mesh validation: bugfix for removing doubles, another fix coming...Campbell Barton
2011-02-10Bugfix [#26004] compositor: backdrop zoom factor too smallJoshua Leung
The backdrop zoom factor for new node-editor instances was not set (i.e. was default initialised to 0). Now, this gets set to 1.0. Also, set the property default in RNA to match this.
2011-02-10Bugfix [#26002] Outliner Visible layers + Single object & data = brokeJoshua Leung
conections It seems that some of the Outliner hacks used while building the tree was causing problems, as Make Single User (and potentially other code working with ID-data, specifically with the "newid" value there) was making use of the variable used there for other purposes, leading to memory corruption. This bug also occurred in 2.4x, though when I tested there, it crashed immediately. Ton, you may want to double-check this bug!
2011-02-10Small consistency fixupsJoshua Leung
2011-02-10mesh.validate() now returns True if any corrections were made.Campbell Barton
tested that correcting invalid meshes works by generating random meshes and checking that only the first call to mesh.validate() makes changes. found 2 bugs in mesh validation. - face sorting array wasn't assigned correct indices. - removing invalid edges used wrong comparison.
2011-02-10Bugfix [#25831] Sorting channels brokenJoshua Leung
Recoded animation channel sorting code. In particular, the old code didn't handle "islands" of selected items well (i.e. a chain of several connected items in a row), with some of these cases having unpredictable results. There were also some bugs in the way some of the rearranging methods worked, allowing some invalid operations to be performed. Some of these probably triggered errors such as some channels getting stuck, and so on.
2011-02-10fix [#26003] Twice applied modifier with Convert to mesh with several ↵Campbell Barton
multi-user objects convert_exec could do with a re-write, getting quite confusing. update md5's for ctest results and some renaming in mesh_validate code.
2011-02-10small fix so older files are loaded with merge on in the mirror modifiersMichael Fox
2011-02-10Set default for merge mirror to ONDaniel Salazar
2011-02-10small feature request from zanqdo, merging in the mirror modifier is now ↵Michael Fox
optional, simply turning town the merge limit just simply do anything, and merging is off by default as this seems more logical behaviour
2011-02-09Update mesh normals when undoing sculpt stroke to prevent shadingSergey Sharybin
artifacts in some cases (enter edit mode/disabling modifiers after undo)
2011-02-09fix [#25994] Meshes with no vertices gets NaN location on setting origin to ↵Campbell Barton
geometry
2011-02-09BKE_mesh_validate() now corrects invalid meshes (optionally), added access ↵Campbell Barton
for python so it can correct for bad imported geometry - mesh.validate().
2011-02-09Restoring the old behavior of switching texture context based on active tab:Janne Karhu
* Once again switching to texture panel from material, world or lamp data tab sets the texture context automatically to the "parent context".
2011-02-09use static functions rather then defines for internal ↵Campbell Barton
matrix__apply_to_copy() and similar. + other minor internal changes.
2011-02-09fix [#25968] Crash on changing merge distance in array modifier with ↵Campbell Barton
edgesplit modifier in chain