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-10-20strcpy() --> BLI_strncpy(), where source strings are not fixed and target ↵Campbell Barton
size is known.
2011-10-10header cleanup (no functional changes)Campbell Barton
2011-08-12Modifiers: add callback to loop over each texture assigned to a modifier.Brecht Van Lommel
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-02-22fix for uninitialized stack variable in displaying the modifier template.Campbell Barton
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-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-01-08remove unused code & variables.Campbell Barton
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-21Error/Warning report flipping.Ton Roosendaal
An operator Error throws up a menu, a Warning only a flashy header print. In mesh editmode the menus for simple failures got very annoying, like "Already a face" for Fkey on a face. Proposal is to use warning for contextual failures, like: - wrong selection - unsupported combination - wrong modes And use errors for cases you really need user attention, for example when issues are invisble or potentially damaging work. - Memory failures - Files not found List can grow in future :) let's test this for mesh now. I'll tackle this for other ops later after review. (Also changed: loopcut disabled when editmode shows deformed result)
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-10-14add UNUSED() to modifiers, also removed some unused args.Campbell Barton
2010-10-07misc fixes found with clang's static checker.Campbell Barton
2010-09-09== Multires ==Nicholas Bishop
Fixed bug #23657, "Modifiers dosen't work when you select diffrent mesh for object" Multires modifier now adds empty mdisps if they're missing, rather than displaying a warning Switching an object's mesh will now check for a multires modifier; if found the modifier's total number of levels are reset to match the mesh's mdisps Switching the mesh also forces a multires update so that sculpted changes aren't lost
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-13added include for offsetof(), also use <string.h>, not "string.h"Campbell Barton
2010-08-10header re-shuffle, some headers contained unneeded refereces to other ↵Campbell Barton
headers, better include inline with the C files that need them
2010-04-25re-arrange modifier and blenkernel to overcome some linking problems that ↵Campbell Barton
stopped modifiers being able to build when using some blender-kernel defined stuff
2010-04-22rna: added lib.parent access and made filename editable.Campbell Barton
2010-04-22Fix [#22078] Cannot apply modifier in python (context error)Matt Ebb
Previously all modifier operators relied on the buttons layout data context pointer to decide which modifier to work on. This meant that these operators would only work from from the properties panel, and not from scripting/macros or for operator redo. This commit makes all modifier operators take the modifier name as an operator property, so the operators can be re-done or executed outside of the modifier panel. When invoking the operators from the modifier panel, they automatically fill in the operator property from context. This isn't a perfect API design, but it does bring these operators in line with the design of being able to access all UI functionality via other means like scripts.
2010-04-14there were duplicate modifier init's, harmless but better remove.Campbell Barton
2010-04-12more header cleanupsCampbell Barton
2010-04-12booleanops.c was moved to MOD_boolean_util.c, remove empty file.Campbell Barton
2010-04-12[#14437] Modifier Stack RefactorCampbell Barton
patch by Ben Batt (artificer) Updated patch for 6 or so modifiers added since the patch was written. - tested with CMake and SCons - fixed one error were flags were being added to the fluids type. - remove BKE_simple_deform.h, simple_deform.c, move functions into MOD_simpledeform.c since there were problems with circular deps. - moved some fluid and boolean functions used by modifiers too.
2010-04-11Solidify ModifierCampbell Barton
- vertex normals were not being flipped (though faces are) - rim faces didnt influence edge vertex normals apply solidify on top of solidify modifier now works correctly
2010-04-08no functional changeCampbell Barton
- convert solidify edge crease values into chars once rather then for each edge. - sort vertex was checking the array all the time when it wasnt needed.
2010-04-06"Fix" for [#21591] Explode modifier bugJanne Karhu
* The new default particle size is quite small, so exploded pieces didn't match the original pieces * There's now an option to use the particle size (useful for some effects), but it isn't used by default * This commit will change how some old files look (explode modifier and not 1.0 particle size), but the exact old behavior is achieved with the new "size" option
2010-03-31svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 ↵Campbell Barton
-r27867:27871
2010-03-31bugfix [#21743] Incorrect Rim Normals with Screw mod and Solidify Mod on a ↵Campbell Barton
Curve Object
2010-03-30* Multiply for panorama camerasBrecht Van Lommel
* Some cases of struct name being set where it shouldnt have been. * Spelling: wich --> which * Copy and initialize uv modifier scale, remove unneeded enum. * Ability to pin any object into the context. * Update uv window while transforming (useful when used with UVProject modifier) * Patch by Wahooney, so new template's are internal text and dont get saved over by mistake. * Fix for https://bugzilla.redhat.com/show_bug.cgi?id=572186 Bug 572186 - [abrt] crash in blender-2.49b-5.fc12: Process /usr/bin/blender.bin was killed by signal 6 (SIGABRT). Original fix submitted by Jochen Schmitt. * [#21816] bpy.data.add_image has stopped working on Windows. moved to bpy.data.images.load(), missed this call. (commits 27726,27825,27828,27831,27832,27833,27834,27836,27837,27838,27839,27858 by Campbell from render25 branch)
2010-03-30Rest shape key for cloth option, this makes it possibleBrecht Van Lommel
to specify different spring lengths. Implementation is quite ugly because the shape key has to be pulled through the modifier stack somehow, need a more flexible data mask system to solve this properly. (commits 27773,27775,27778 by Brecht from render25 branch)
2010-03-28[#21802] UVProject Modifier CrashCampbell Barton
fix for bug in recent addition of panorama support
2010-03-25Remove object type check in Cast Modifier deformation, was wrong now that ↵Elia Sarti
Curves support modifiers. Also fixes [#21742] Crashes when adding a Cast mod after a Screw mod on a Curve Object
2010-03-24xaspect and yaspect were not working with uv project modifier & panorama, ↵Campbell Barton
also removed some includes.
2010-03-23Panorama camera support for UV project modifierCampbell Barton
2010-03-22Screw ModifierCampbell Barton
flip the closing edge so when applied a second time it doesnt flip the closing ring of faces. (means you can make a torus from 1 vertex and 2 modifiers)
2010-03-22Sculpt Mode Bugfixes:Brecht Van Lommel
* #20833: layer brush doesn't work with multires. * #20946: sculpt mode partially removes parts of the mesh in the viewport. * #20420: grab brush stops after moving some distance. * #20906: sculpt grab tool moves in wrong direction. * #21132 and #21272: undo on object with subdivision surface modifier crashes. * #21115: subsurf + multires + sculpting + undo causes crash. * #20683: sculpt + multires apply + undo crash. * #19094: wrong outline in solid mode.
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-22fixes for screw modifierCampbell Barton
- steps for a closed screw was off by 1 - screw offset wasnt being copied
2010-03-22Screw Modifier (old patch was called Lathe)Campbell Barton
didnt commit this patch because curves are generally better to create a shape to lathe however now that curves can have modifiers applied to them I think its good to have this. Added options to offset the lathe so it can work like the screw tool as well. - optional object for axis which also controls the center point. - screw offset so rather then just lathing this can work more like the screw tool. - screw optionally using the object distance along the axis. - iterations so the screw can be applied multiple times. tested to work well with curves.
2010-03-21removed unused includes, except for physics and particle related filesCampbell Barton
2010-03-14Fix #21599: Duplicating an object with solidify doesnt copy the flags correctlySergey Sharybin
Someone forgot to copy solidify modifier's flag.
2010-03-09* Fix for crash using texture nodes in displace modifierMatt Ebb
Modifier code was asking for filtered textures without sending derivatives. Disabled this and also checks for filtered/non-filtered. Brecht, I assumed this was ok due to the existence of the p->osatex variable - if this isn't what you had in mind, please change or let me know :)
2010-03-07Enable "Build" modifier for curves/surfaces.Sergey Sharybin
2010-03-05Constructive modifiers for curves and surfacesSergey Sharybin
Used approach with creating DerivedMesh for curves whet they've got such modifiers. Available modifiers are: array, edge split, mirror, solidify, subsurf.
2010-02-27Patch #21267 by Sergey Sharybin Ton Roosendaal
His log: There is a small typo in copy_curve(): there will be serious troubles if this functions is called for OB_FONT in edit mode (for my cases it is segmentation fault). I think we should set editfont to NULL for cloned curves (as it is made for edit nurb). This bug was found by trying to edit text with applied Cast modifier and while I was searching what's wrong, I've found that in castModifier_deformVerts() DerivedMesh is creating for all objects, but in castModifier_*_do() derived mesh is used only for OB_MESH objects. Maybe this place could be optimized a bit by skipping DM creation for non-meshes?
2010-02-24multi-multi modifier support.Campbell Barton
2010-02-12correct fsf addressCampbell Barton
2010-02-07Depsgraph: fix for old problem where dependencies would not get executedBrecht Van Lommel
properly on file loading. Some things get preserved on file save/load, like object matrices and armature poses, but other things need to be remade like derivedmeshes and displists. The latter were not tagged for recalc on load causing them to be made on countall or redraw typically, so not in the right order and dependencies on hidden layer were not done at all. Now these get tagged for recalc and flags flushed on load. There shouldn't be much if any slowdown on opening existing files, if there is it should be fixable.
2010-01-27Fix part of #20090: boolean modifier would lose link to objectBrecht Van Lommel
if evaluation failed, it should display an error message instead.