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-07fix for vertex group copy to selectedCampbell Barton
- was using un-initialized stack memory if the source / target object had no vertex group. - if the target object had no vertex groups it would fails silently (not a bug but not very good functionality) - added an error message if any copying fails.
2011-06-07fix for sequencer transform with effects strips where the effects could be ↵Campbell Barton
moved to invalid times to avoid overlap but would immediately refresh back to overlapping locations after.
2011-05-23fix own mistake [#27451] Flip to Top / Flip to Bottom menuitems on right ↵Campbell Barton
click on header not working also get rig of more shadowed vars (-Wshadow).
2011-05-20change transform to round at 0.5 for fcurves.Campbell Barton
this gave noticeable issue when transforming int/fcurve's below zero.
2011-05-18fix remaining crash from [#27035] 3 problems: crash and enum "REGION" not ↵Campbell Barton
found in ('VERTS')
2011-05-08comment some unused code.Campbell Barton
2011-05-01Style CleanupCampbell Barton
- duplicate cases in if/else - calc inside sizeof(...) - redundant NULL checks. - assignment to self. - fix error getting text prefix for screen ID button.
2011-04-21whitespace only, no functional change mixed tabs/spaces --> tabs.v2.57aCampbell Barton
2011-04-05Bugfix [#26792] blender crash when scaling action strip in NLAJoshua Leung
Two part bug: Part 1) NLA Editor menu was calling wrong operator Part 2) r35829 broke NLA scaling, since it only checked that the transform mode used was allowed in the Action Editor (probably confused by Part 1)
2011-03-28transform: floats were being implicitly promoted to doubles, adjust to use ↵Campbell Barton
floats. also use macros RAD2DEGF & DEG2RADF.
2011-03-14Bugfixes:Joshua Leung
- Sync Markers option works for local markers (or any other list of markers in future) too now. - Apply Pose to Restpose operator now displays a warning if an action was found (warning about the action now being invalid)
2011-03-14Bugfix: "Sync Markers" option in Action Editor is now a bit moreJoshua Leung
useful. Instead of only working for the "extend" transform mode, standard transforms now work too now (i.e. grab and scale). TODO: This currently only works on Scene markers, though it should be possible to make this work on a provided list of markers instead...
2011-03-09Fix for [#26420] F-Curve key handles affected by NLA strip positionJanne Karhu
* NLA timing was only applied to fcurve keys, but not handles, so strange things happened. * This time tweaking was missed in selections too, so fcurve handles couldn't be selected properly either if the NLA strip was moved from frame 1.
2011-03-06Fix #26324: proportional editing and armature applied to editing cage during ↵Sergey Sharybin
edit mode works strangely Not sure why proportional editing used to disable crazyspace corrections, but from that time hwn it was done transform stuff was changed a lot. I've made several tests (with file from report and sintel from durian data files) and it worked nice.
2011-03-03use NULL instead of 0 for pointers, (editors)Campbell Barton
2011-03-03Bugfix [#26269] Initiating a duplication with shift D and cancellingJoshua Leung
in dope sheet/ graph editor leads to duplicated keys The old hack using the transform "undostring" didn't work anymore, as this wasn't set. Instead, I've added a special mode transform mode for this that the duplicate operators can set to get this functionality.
2011-03-02tag unused varCampbell Barton
2011-03-02Fix for [#25326] FCurve rotate gives strange results.Janne Karhu
* The fcurve points changed their order when rotating, but the transform data wasn't updated properly for this change so some curve handle pointers got lost. * Also found a second bug while fixing this: The fcurve handle type pointers weren't updated at all when the order changed, so some auto handles could turn into aligned handles even if the transform was canceled (no undo possible in this case!).
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-23fix [#26164] bpy.ops.transform.translate ignores AutoIK modeCampbell Barton
auto-ik updates are done by notifiers at the moment which are ignored when running bpy.ops.transform.translate(), so add an special_aftertrans_update() check for this case.
2011-02-16Bugfix #26096Ton Roosendaal
Switching layers reveiled hidden objects in wrong positions, changes are currently not being handled for hidden objects. Only way to fix it is by completely update newly visible objects... (Also fixed a typo and a compile warning)
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-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-04Moved Auto-Keying "Insert for KeyingSet only" option from UserPrefs toJoshua Leung
Scene (Toolsettings, i.e. alongside "layered" option for using NLA while doing auto-keying) This option makes all Auto-Keying operations use the active Keying Set to carry out keyframing operations instead of picking and choosing their own Keying Sets to use, thus cutting down on the number of unwanted keys. Warning: if the older userpref option was enabled in an old startup.blend, it may be difficult to turn this option off.
2011-02-01Targetless IK Bugfixes + Tweaks:Joshua Leung
- "CONSTRAINT_IK_AUTO" flag for targetless IK constraints was being set in the wrong place. This is for the IK constraint data's flag, not the generic constraint's flag - Converting stack var "targetless" from type bConstraint to bKinematicConstraint (i.e. constraint baseclass -> specialised data), since it was only used in one place with a cast used there. - When using targetless IK with no specified chain length, bone rotation locks are taken into account too, saving a bit of extra setup work
2011-02-01Bugfix [#25885] Auto IK ignores full rotation locksJoshua Leung
... actually, this was just an off-by-one bug again.
2011-01-20Small code reshuffle... sequencer transform stuff was bisecting theJoshua Leung
code for object transform stuff
2011-01-14Reverting r33930 and r34202, which were related to bugs #21825 andJoshua Leung
#25554. As found by Daniel Lara (Pepeland) in #25554, the original problems in #21825 all stemmed from the ChildOf constraint there having an incorrect inverse set, which was altering the final results. Now Auto-IK works nicely for old rigs again (i.e. FK arms on BBB rigs)
2011-01-11Todo #22395: Restoring Grease Pencil Editing Mode in DopeSheet EditorJoshua Leung
This commit restores some basic functionality for retiming Grease Pencil sketches. Some of the functionality that existed before still hasn't been restored (namely snap/mirror tools as well as copy+paste), though it should be possible to use this for basic retiming and sketch-frame management again. - There's still a lot of work required to get this up to the standard of the rest of the animation editor code, as some of this code was originally just hacked in based on the old-style code. - Work is already required to not have to directly access the main db global to get the list of Grease Pencil datablocks to show, but that can come along with pending cleanups of the filtering code.
2011-01-09Bugfix #25554Ton Roosendaal
Actually a minor tweak: Auto-IK fails on correcting for constrainted bones in chains. For that reason it stops including constrainted bones for it. Now it does include constraints with influence zero, or which were disabled by user input.
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.
2011-01-05Todo item: brought transform texture space back.Ton Roosendaal
Code changes are minimal, re-using the code as already was there. Options are in pulldown menu, or SHIFT+T and SHIFT+ALT+T Might be that Martin likes to see it different... do we need a special operatortype for it?
2010-12-28Bugfix #21825Ton Roosendaal
Auto-IK: applying back the IK transform on bones fails for constrainted bones themselves. This would require the post-transform of IK to be converted to a pre-transform for the constraint. That's too much of a headache for bugfixing days. To keep the autoIK feature work it now stops IK chains at constrainted bones. Added todo item for a matrix wizzard to fix this one day. (What would be really cool is a matrix-api for armature to easily get all the required pre- and post transforms and apply. There's a lot of duplicate exception handling for hinge bones for example.)
2010-12-20bugfix [#25238] Render image window edits UV'sCampbell Barton
2010-12-19bug [#25292] No undo scale with sculpt modeCampbell Barton
applies to project paint too, added with comment.
2010-12-19Bugfix #25292Ton Roosendaal
In sculpt mode, Object transform still worked, which was: 1) Not undo-able (sculpt undo stack) 2) Clearing the entire sculpt undo stack on operator redo 3) Had keymap conflict for R Simply added check for this case and return trans operator.
2010-12-17no functional change: only check against OB_RECALC_ALL but don't use for ↵Campbell Barton
assignment. Makes adding new flags give ambiguous results and also makes it less easy to tell whats intended. In some places it looks like OB_RECALC_TIME should be left out too.
2010-12-16Bugfix, irc reportTon Roosendaal
After using loop-cut with multiple edges, transform widget disappeared. Reason was a variable being set in function not being called on cancelled operators. Now it's in Posttrans()
2010-12-15dont transform hidden handles in the graph editor.Campbell Barton
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-11-18bugfix [#24777] Scale both markers and keyframes at the same time?Campbell Barton
sync marker option worked for translate and extend but not for scale in the dope sheet.
2010-11-17Keyframing Operators: Improved Error MessagesJoshua Leung
* Keyframing operators now use the reports system for displaying all its error messages. - The benefit of this is that users no longer need to check the console for error messages if keyframing fails. - Unfortunately, reports are not currently viewable in any space/view in Blender, so... * Added a temporary operator (UI_OT_reports_to_textblock), which can be accessed in the UI from the button which appears in place of the icon when more than one report exists. This dumps the current list of reports to a textblock "Recent Reports", from which they can be viewed. This isn't really nice, but at least we now have a way to view these again, which makes debugging some things a pain. * Bugfix #24606 - when trying to add keyframes to F-Curves with F-Modifiers already which alter the curve significantly enough that the keyframes will have no effect, there are now warnings which aim to alleviate any confusion.
2010-11-14Move rotOrder to proper transform data structureMartin Poirier
2010-11-11Bugfix #24621: NLA strips move insensitively across tracksJoshua Leung
This was a 2-part bug: 1) "Track index" (i.e. "index of NLA track within NLA Stack") was calculated incorrectly when the transform data is created. A typo meant that this was actually "index of strip within original track" 2) Strips were flying around madly vertically (especially for downward movements, and with extreme difficulty for upwards) as the track index was being updated incorrectly. I suspect at the time I was misreading it as trackIndex = ... vs trackIndex += ..., though it obviously looked wrong looking at it now!
2010-11-10fix for the crash reported in [#24625] Duplifaces not generated using ↵Campbell Barton
spacebar to activate
2010-11-04workaround/fix [#24451] Motion path not automatic recalculating + locking ↵Campbell Barton
obj moving Comment from source... /* re-calculating the frame positions means we loose our original transform if its not auto-keyed [#24451] * this hack re-applies it, which is annoying, only alternatives are... * - dont recalc paths. * - have an object_handle_update() which gives is the new transform without touching the objects. * - only recalc paths on auto-keying. * - ED_objects_recalculate_paths could backup/restore transforms. * - re-apply the transform which is simplest in this case. (2 lines below) */ Martin, if you think this workaround is unacceptable, then automatic recalculating of paths after transform should probably be disabled since it looses data on non transform un-keyed values.