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
2010-10-15replace SIDE_OF_LINE macro with line_point_side_v2() inline function.Campbell Barton
made a number of files build without unused warnings.
2010-10-15tag UNUSED() for operator exec() and invoke() functions.Campbell Barton
2010-10-08bugfix [#21610] alt-r for bone (reset rotation) doesnt work in weight ↵Campbell Barton
painting mode pose operators now run in weightpaint mode when the weight paint objects pose armature is in pose mode.
2010-09-18Fixed problems with outliner update in same cases caused by my previous commit.Sergey Sharybin
This troubles were caused by "break" of ND_OBJECT case in outliner area listener, so not all cases were handled. Handle more data and actions in outline listener, but not refresh when it's actually unneeded (there where problems with it without that "break" -- extra refreshing could be made).
2010-09-16bugfix [#23831] Removing an IK Constraint in pose mode still draws bone with ↵Campbell Barton
IK highlight + moved bone envalope scale into transform menu, pose menu is getting huge.
2010-08-08remove unused includesCampbell 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-08-012.5: code changes to reduce the usage of G.main and pass it alongBrecht Van Lommel
or get it from the context instead.
2010-07-04Fix for [#22714] Constraints stack : move up and move down buttons problemThomas Dinges
* Constraint template now uses 2 rows as well, when the area width is small. * UI Code could use some code/layout cleanup still, will look into that soon.
2010-06-06- WITH_CXX_GUARDEDALLOC working againCampbell Barton
- CMake building without python or fluidsim working again (broke in recent commit) - remove BLI_short_filename(), it wasnt used anywhere.
2010-05-27Various constraint code cleanups:Joshua Leung
1) Fixed some weird formatting introduced during math-lib cleanups, and some other inconsistencies 2) Optimised the Maintain Volume constraint by taking the value calculations out Copy All Constraints Operators: * Added one for bones too * These are now included in the menus * Removed some weird/extra code copying/changing/bleh the actcol/totcol stuff...
2010-05-27== Pivot Constraint ==Joshua Leung
This constraint allows an object or bone to have their rotations applied as if their origin/pivot-point was located elsewhere. The most obvious uses include foot-roll, see-saws, but could also include more complicated rolling-box examples. == Usage Examples == === Foot Roll === 1. Add 'Pivot' Constraint to the bone without any target. 2. Set the 'Y' value of the offset to the length of the bone. Usually this should be negative (if you rig with feet facing 'forwards' along -Y axis). This gives you a pivot point relative to the bone's (preconstraint) location, which should be at the tip of the bone here. Disabling the 'Use Relative Offset' would make this offset be relative to 0,0,0 instead of to the owner/bone-head. 3. Ensure that the 'Pivot When' setting is set to '-X Rot', (default) which means that the pivot will only used when the rotation on the X-Axis is negative to get tip-toe 'roll'. === See Saw === 1. Add a 'Pivot' constraint too see-saw plank object, this time with a target that you wish to have as the pivot-point. It's possible to do this without too (as before), but is less intuitive. 2. Optionally, if you want the plank slightly raised, set the z-offset value, which should make the pivot-point used to be relative to the target with the z-offset applied. 3. Ensure that 'Pivot When' is set to 'Always', which means that the pivot will always be used, irrespective of the rotation. == Notes == * The 'Pivot When' setting has been integrated in the constraint, since this is something that will often be required for these setups. Having to set up additional drivers to drive the constraint to do this kindof beats the purpose of providing this. * The 'Offset' functionality is probably not presented as clearly as it could be. We may need to go over this again. * For foot-roll - if any scaling of the foot is required, simply set up a driver on the y-offset to make this dynamically respond to the "scale" RNA property of the bones (don't use the "Transform Channel" vartype since that won't work correct here). However, this shouldn't be common enough to warrant special treatment.
2010-05-16Logic UI: copy logic operator (old Ctrl+C) + add logics (shift+a)Dalai Felinto
According to Matt the RMB->Copy to selected wouldn't work for logics because the copy we need is for the whole logic (s/c/a). So (at least for the time been), copy logic is possible again. It work as 2.49 (replacing the existent logic). Add Logics is a python menu to give quick access to add logics. I have to see how to put that in Add Menu. I should be easy, but I'll leave it for later.
2010-05-07Minor formatting tweaks (killing some "caterpillar if's"... yuck those ↵Joshua Leung
things are nasty to edit/extend)
2010-05-07Warning cleanupMatt Ebb
While I was looking in outliner.c, made some changes to let extra passes display there such as environment (commented out before due to a previous limitation). Also changed outliner object visbility/selectability/renderability toggles to use RNA buttons so you can insert keyframes with RMB menu etc.
2010-05-05Bugfix #22244: Crash on using ops.constraint.childof_set_inverse and ↵Joshua Leung
childOf_clear_inverse incorrectly Adding some NULL checks to all the constraint operators. This is not ideal, but at least the crashes are gone now. More work is needed to properly fix this...
2010-05-04clear 2 warningsCampbell Barton
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-26Pass constraint names as operator properties in constraint operatorsMatt Ebb
This is similar to commit revision 22078, but for constraint operators rather than modifiers, making it possible to use them from scripting.
2010-04-12Copy Constraints OperatorDalai Felinto
the C code to copy the constraint was already there (same as 2.49) so this operator simply exposes it. I'm using the name Copy Constraints to Others based on what we have in material operators (e.g. Copy Material to Others). If we bring back the whole Copy Attributes menu (old Ctrl+C) having the individual operators is still important for scripts. Nevertheless I'm not comfortable with the name (to Others sounds unnecessary verbose) but so far having the functionality back is important (request from Caju Studio). I'll be glad to make any change later if needed. (no shortcut for that, to use it go to userpref->keymap and assign a shortcut for this operator or add it to the toolshelf)
2010-03-31Fix [#21832] Add Modifier, Pinned ContextMatt Ebb
Added convenience function ED_object_active_context(C) to get either the object in the data context, or if not, the active object.
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-16Daniel Lara pointed out that adding a Maintain Volume constraint via 3D view ↵Roland Hess
hotkey automatically added an Empty for Target. This should not have been.
2010-02-18another speedup to constraint checking, skip the bone list and only lookup ↵Campbell Barton
pose channels that have constraints.
2010-02-18constraints were being checked twice (once from rna property update function ↵Campbell Barton
and once from the constraint panel callback) comment the update call in the panel function. also avoid one bone lookup which was taking a fair bit of CPU when profiling.
2010-02-12correct fsf addressCampbell Barton
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-02-03Missed a few places in previous constraints commitJoshua Leung
2010-02-03Bugfix #20902: In PoseMode, ObjectMode constraints can't be deleted or moved ↵Joshua Leung
up/down
2010-01-29* More tweaks to previous cleaningMatt Ebb
2010-01-16generic operator menu was searching for "type" and using the first enum ↵Campbell Barton
property if it wasnt found. this is too arbitrary and could break if roperty order is changed. store the property in the operator type that is to be used for menu and enum search func's. python function for searching operator enums on invoke. (just need dynamic python enums now) wm.invoke_search_popup(self)
2009-12-04Fix for [#20203] Linked objects - A few bugsMatt Ebb
Did a lot of cleaning Object operator poll functions to check if the object's linked or not. For this, added the function ED_operator_object_active_editable() as opposed to ED_operator_object_active()
2009-11-26fix for adding drivers to constraints via python.Campbell Barton
the RNA constraint api was checking the current context when getting the constraint driver path and renaming constraints. this made scripts not work properly so changed this to search for the constraint pose channel user within the object (if the object its self is not the user).
2009-11-25selected_pchans --> selected_pose_bones, same for visible_pchansCampbell Barton
added use_ prefix to bools offset --> use_offset, tail --> use_tail for eg.
2009-11-16Constraints: Code cleanupJoshua Leung
* Removing duplicate api functions * Shuffled around newly added api functions to make the ordering more consistent * Fixes for a few bugs in the api functions as I checked over them * Replaced most of the #defines for flags and modes with enums
2009-11-16- fcurve modifiers.new()/remove()/activeCampbell Barton
- renamed .add() to .new() for rna collection functions since they dont add an existing item. - remove 'name' as an argument from the new driver target function, better to keep the api minimal and let scripters use the data api for editing values after. - added some api functions to keep rna api from becoming a mess.
2009-11-12Spline IK: UI/Scaling TweaksJoshua Leung
* Renamed "Keep Max Length" to "Y Scaling" which has the opposite meaning * Improved the way that Y-Scaling off behaves. Most of the time, bones that do not fit on the curve are now "blended off" their default rotations instead of being scaled to zero. * Added option to offset an entire chain by moving the root bone of the chain. This is named "Chain Offset"
2009-11-11object.constraints.add()/remove()/active, same for PoseChannelCampbell Barton
modified internal api for minimal rna wrapper functions. TODO - missing updates for pose channels - typecheck for pose/object constraints
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-11-02Spline IK Bugfixes 1:Joshua Leung
* Fixed crash when reloading a file with Spline IK and/or Damped Track constraints. The targets for these constraints weren't getting relinked. * Fixed problems with removing Spline IK making some bones unable to be manipulated. * Jotted down some comments in the Spline IK code noting places where additional tweaks will be added.
2009-11-01Rigging Goodies: Spline IK ConstraintJoshua Leung
At last, this commit introduces the Spline IK Constraint to Blender. Spline IK is a constraint that makes n bones follow the shape of a specified curve. Simply add a chain of bones, add a curve, add a Spline IK Constraint to the tip bone and set the number of bones in the chain to make it work. Or, try the following test file: http://download.blender.org/ftp/incoming/250_splineik_spine01.blend Screenshots of this in action (as proof): http://download.blender.org/ftp/incoming/b250_splineik_001_before.png http://download.blender.org/ftp/incoming/b250_splineik_001_after.png I've implemented this in a similar way to how standard IK solvers are done. However, this code is currently not an IK plugin, since I imagine that it would be useful to be able to combine the 2 types of IK. This can be easily changed though :) Finally, a few notes on what to expect still: * Constraint blending currently doesn't affect this. Getting that to work correctly will take a bit more work still. * Options for not affecting the root joint (to make it easier to attach the chain to a stump or whatever), and non-uniform scaling options have yet to be added. I've marked the places where they can be added though * Control over the twisting of the chain still needs investigation. Have fun!
2009-09-25Merge of itasc branch. Project files, scons and cmake should be working. ↵Benoit Bolsee
Makefile updated but not tested. Comes with Eigen2 2.0.6 C++ matrix library.
2009-09-232 Anim Bugfixes:Joshua Leung
* Loading old (2.4x) files with keyframes now inits them properly so that keyframes are tagged as normal keyframes not breakdowns * TrackTo consraint was flagged wrongly for adding it with a target. This meant that the target didn't get set when using the Ctrl-Shift-C hotkey.
2009-09-202.5 - More animation/rigging bugfixesJoshua Leung
* #19419: PoseLib rename/remove tools could crash when an invalid (However, now care is needed when touching that index field, since the warnings can keep piling up) * Added Browse Poses for PoseLib to the toolbar * Removing constraints from bones now properly updates. A DAG rebuild is now forced, and the constraint flags are cleared. * Attempting to improve the situation with Copy Rotation constraint and rotation orders other than xyz. Unforunately, it looks like a different method is required...
2009-09-092.5: Object moduleBrecht Van Lommel
* Split object_edit.c into multiple files: object_add.c, object_edit.c, object_hook.c, object_relations.c, object_select.c, object_transform.c. * Rename files to have consistent object_ and mball_ prefix: object_shapekey.c, object_lattice.c, object_vgroup.c, mball_edit.c. * Added operators: * vertex group menu and set active * apply location, rotation, scale, visual transform (location is new) * make local * make vertex parent * move to layer * convert to curve/mesh (not finished yet) * Many small fixes for marked issues, but still much code to be cleaned up here...