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-06-16fix [#27675] Bones shift out of place when leaving edit modeCampbell Barton
- float precision issue, details commented in the source.
2011-04-26fix [#27178] Material links lost when making mesh data localCampbell Barton
- making local object data - Curve/Mesh/MBall lost references to linked materials. - joining a linked mesh object into a local one lost the link. As well as these reported bugs, checked all local functions for consistency/correctness and found other cases which would also fail. - making local metaball didn't ensure unique ID name. - make_local_armature() was missing check for object users - main body of code would never run. - local particles didn't set the dupli-group or textures to extern. checked all local functions for consistency/correctness.
2011-04-21following on from last commit r36263.Campbell Barton
copying metaball, lattice and armature datablocks while in editmode could segfault when they were freed, NULL these pointers on copy.
2011-04-21Bugfix [#27090] Available keying set fails in armature pose modeJoshua Leung
A change in the poll callback that Available KeyingSet used to use restricted its use to Object-mode only, while this could also be useful in Pose Mode (though it would only affect all channels there). Made this use a custom poll callback now that tests for whether the active object has an action. This does mean that if you select a bunch of objects with animation data, but the active object doesn't have it, then the keyingset will fail to fire, but that's been marked as a todo in the code.
2011-03-28blenkernel: floats were being implicitly promoted to doubles, adjust to use ↵Campbell Barton
floats.
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
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-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-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-05Fix bones moving when changing between editmode and posemode.Brecht Van Lommel
Patch #25901 by Tobias Oelgarte. Bone transformations would be converted back and forth between different representations when changing modes, which due to numerical errors could lead to bone transformations slowly changing as you edit the armature. Now the editmode head, tail and roll values are stored in bones and used directly when entering edit mode. Head and tail were already there but now we ensure they are the exact same value, roll was not yet there, so we have a version patch for it. The sub version was incremented to 1 for the version patch.
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
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-31fix [#25429] Armature modifier and inverted vertex groupCampbell Barton
- the invert flag was only being used for multi-modifier, but there is no reason not to use this in normal cases as well. - Armature modifier RNA name 'vertex_group' was incorrectly named 'vertex_group_multi_modifier' (own fault), confusion was caused by 'invert_vertex_group_multi_modifier' which was correct.
2010-12-21rename addlisttolist() to BLI_movelisttolist()Campbell Barton
name was misleading because the list items were removed from the source list. (no functional changes)
2010-12-07Added an assert() check for normalized quats which exposed a number of bugs ↵Campbell Barton
where normalized quat was incorrectly assumed. This would have made bug #25003 very simple to find. - Objects had their quats normalized when calculating their matrix, this is inconstant with pose bones and isn't useful for animation. Also it wasn't normalizing the delta rotation so these would give bad rotations. - Converting between rotation modes BKE_rotMode_change_values() assumed normal length quat. changing quat to euler rotation for eg could change the bone. - Clear rotation and transform were not normalizing the quat when 4d loc was disabled on quat rotation, corrected and also made it so the quat scale is restored after conversion so animations curves dont jump. There is 1 case in mat3_to_quat_is_ok() where quat_to_mat3 on an unnormalized quat is needed, for this I had to add an ugly static function quat_to_mat3_no_assert(), but overall its worthwhile IMHO to be able to find incorrect use of rotation conversion.
2010-11-28minor changes to the python api.Campbell Barton
- pep8 script was giving an error on non utf8 scons source files. - use PyList_SET_ITEM macro when list type is ensured. - all mathutils types use subtypes to create new types when available. - use defines MAT3_UNITY, MAT4_UNITY to initialize unit matrices.
2010-11-25Spline IK Bugfix:Joshua Leung
Binding code had off-by-1 error, which meant that when "Even Divisions" was disabled the length of the wrong bone would get used. This error was most noticeable when the lengths of the bones were quite different - for example, a chain with 3 bones of increasing length. Thanks to "Julius" on BlenderArtists for catching this. Cheers! --- Also, simplified the binding code loop a bit to prevent this sort of error in future.
2010-11-24Fix #24782: proxy armature Layer state not saved with file. Was in 2.4x butBrecht Van Lommel
not ported to 2.5x, implemented a bit different now to fit RNA better.
2010-11-19Bugfix #24795: Typo fix in particle_system.cJoshua Leung
Also, fixed indention in armature.c (stupid space-based indention)
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-11-17the 'Multi' option was not being copied with the armature modifier.Campbell Barton
2010-11-05tedious string copying changesCampbell Barton
- use sizeof() in more places. - fixed some off by 1 bugs copying strings. setting curve font family for instance was 1 char too short. - replace strncpy and strcpy with BLI_strncpy
2010-10-28partial bugfix [#24425] Blender 2.54 Beta crashes when starting renderingCampbell Barton
Fix for one of the causes of crashing. Applying armature deform wasn't thread safe since the pose bones had deform data written into them when deforming a mesh. This fixes crashing immediately, on every render for me but blender still crashes calculating the subsurf sometimes.
2010-10-26move matrix decomposition out of object.c into BLI_math_matrix function: ↵Campbell Barton
mat4_to_loc_rot_size(), use this now for pchan_apply_mat4() to support negative scale, visual keying now uses compatible eulers. also added access to this in python's mathutils.Matrix() loc, quat, scale = matrix.decompose()
2010-10-22Bugfix #20708: segmented bones don't work well with spline IKJoshua Leung
There was a slight discreptancy between the tail values calculated on the spline before the head was displaced for the "chain offset" option and after this operation. However, only the original version got set. This small difference resulted in B-Bones thinking that the endpoints of the bones were in places that they were not in, hence causing the curly patterns observed in the report.
2010-10-22[#21331] Pose snap not working in some casesCampbell Barton
The bone option 'Local Location' (flag BONE_NO_LOCAL_LOCATION) makes the location apply differently so snap to cursor failed for pose bones.
2010-10-22Fix for snapping pose bones with axis-angle rotation.Campbell Barton
- armature_mat_pose_to_bone() was missing axis-angle check. - added loc_axisangle_size_to_mat4() for completeness. - use 'const' prefix where possible in math rotation functions.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-11bugfix [#20761] Bones/Armature: "Inherit Scale" doesn't work if "Inherit ↵Campbell Barton
Rotation" is disabled
2010-09-23- py/rna's path_resolve function was ignoring the index eg: ↵Campbell Barton
obj.path_resolve("location[1]") - corrected comment from previous commit
2010-09-23bugfix [#23954] Bone roll keeps changing when switching between EDIT <-> ↵Campbell Barton
OBJECT mode use lower epsilon value.
2010-08-15use more BLI math functions.Campbell Barton
2010-08-04include cleanup, no functional changesCampbell Barton
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases) - removed DNA_wave_types.h (never used) - removed Main.wave
2010-07-303 duplicate functions: bone_flip_name() object_flip_name() flip_side_name()Campbell Barton
removed object_flip_name() & bone_flip_name(), use flip_side_name()
2010-07-122.5: remove armature "B-Bone Rest" option, this was only added to keepBrecht Van Lommel
broken behavior for backwards compatibility, it's been there long enough now to be removed.
2010-05-20Bugfix #22374: index=-1 not work for keyingset.paths.add() functionJoshua Leung
Simple typo which meant that paths with 'Entire array' set could not be reimported properly.
2010-04-29option to copy constraints without making their ID references direct links.Campbell Barton
needed because proxies are causing libs to be linked directly when they should be kept indirect (likely slowing load times though I didnt time this)
2010-04-25bugfix [#22117] Memory Error messages with Spline IKCampbell Barton
chainlen was initialized as 0
2010-04-24sub_v3_v3v3 --> sub_v3_v3 (where possible)Campbell Barton
2010-04-23Quick fix, just in case the mesh has no vertex groups, there won't be a crash!Joshua Leung
2010-04-23Bugfix #22101: Envelopes dont respect armature modifier vertex group maskJoshua Leung
Changed the point where the vertex groups are retrieved. Hopefully this commit doesn't break any cases I haven't thought of...
2010-04-23Spline IK - Influence ControlJoshua Leung
Made the 'Influence' slider work for Spline IK too, and made that setting visible now that it works. Note that there is still some popping that can occur when going to/from influence = 0.0. I'm not sure exactly what's causing this yet, but hopefully it won't be too noticeable in practice.
2010-04-21replace add_v3_v3v3() --> add_v3_v3() where possibleCampbell Barton
2010-04-21option to use curve point weights to influence particle effectors.Campbell Barton
2010-04-21vertex group option for lattice, needed for applying a lattice to a ↵Campbell Barton
beard/moustache without moving the roots about.
2010-04-18possible fix for [#22057] Autoname L/R in bones names center bones as .RCampbell Barton
Bone would get a '.' added even when there was no extension. (center limit would still be useful) - name flipping function used sizeof() incorrectly. - ED_lorem should be extern.
2010-04-18remove config.h references, was added for automake build system rev around ↵Campbell Barton
124-126 but isnt used by any build systems now.
2010-03-26Optimization for pose channel name lookups using a hash, makesBrecht Van Lommel
playback in one particular scene with 3 characters go from 10 to 13 fps. (commit 27728 by Brecht from render25 branch)
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton