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-03-14tag var as unused.Campbell Barton
2011-03-13Replaced RNA code in previous commit with a version which should be aJoshua Leung
bit safer (less likelyhood of float <-> int corruption)
2011-03-13Pose Sliding Tools - Custom Property Support + Other bugfixesJoshua Leung
- Custom properties are now affected by the Pose Sliding tools too. This is now more important to support, given that modern rigs use these a lot for facial expressions/posing. By and large, this should work fine, though discrete integer values may experience a bit of trouble - Fixed potential bugs with the code which detects which F-Curves are relevant to a PoseBone's transforms (+ custom props). This was prone to being tricked by certain setups if the names of the bones contained some of the keywords these were searching for. - Shuffled some code around: moved bulk of logic out of vec3 case into new function for single-value, since it was really doing per axis already
2011-03-03use NULL instead of 0 for pointers, (editors)Campbell Barton
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27== UI icons ==Andrea Weikert
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
2011-02-27pedantic warning cleanup, also remove texspace_edit() since its been added ↵Campbell Barton
using a different method.
2011-02-25Bug fix, irc report.Ton Roosendaal
Menu Help -> Operator Cheat Sheet crashed, calling function with NULL context.
2011-02-25internal operator/wm/macro function: dont crash if operators are not found ↵Campbell Barton
(warning will be printed).
2011-02-24face-paint mode operators were not ported from 2.4x yet hide/reveal/sel-swapCampbell Barton
also added hide-unselected option to armature mode.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-23add 2.4x posemode & weightpaint feature as an operator - Flip Active, Shift+F.Campbell Barton
2011-02-21I swear, it was just an innocence change in guardedalloc!Nathan Letwory
The butterfly wing flap, causing a nice storm in the rest of blender. Now all dependencies should point ok again. CMakers, do double-test.
2011-02-21Revert r35003. It was just an extra semicolonJoshua Leung
2011-02-21Fixed compilation bug in r35002: C90 forbids mixed declarations and code. ↵Konrad Kleine
I've changed the order of variable declarations.
2011-02-21Bugfixes:Joshua Leung
- Fix for crash with Keying Sets when a Keying Set path has no ID- block to target - Info window now indicates the types of the reports shown by colouring their entries if the entries are not selected.
2011-02-19Bugfix #26150Ton Roosendaal
Crash in hovering over the menu "Pose -> Poselib" sub-items. NULL context passed on to function and read before the test.
2011-02-18Clear some compiler warnings by commenting some functions, adding others to ↵Campbell Barton
headers. left in warnings where functions obviously need to get ported to 2.5x still. Also, render stamp seq strip works again.
2011-02-16sphinx doc gen: multiple examples possible and include the scripts docstring ↵Campbell Barton
inline in sphinx. also tag unused vars
2011-02-16Forgot to actually hook up this operator...Joshua Leung
2011-02-16PoseLib Bugfixes, Cleanups, and Missing OperatorsJoshua Leung
* All the various index-related issues should finally be sorted now. It seems you cannot just partially implement some of these active index getter/setters... * Standardised the call used by PoseLib operators to get the Object from which they get the active PoseLib data from * PoseLib operators which require some existing data to work now use a poll() which checks for this * Added back the operator used to make standard actions into ones usable by PoseLib * Added a dummy operator for the apply active pose button which really just calls the same backend functions as "Browse Interactive", but which has a nicer frontend (naming + description) for the purpose of being used in this way * Also, removed some useless code from here
2011-02-16Fix for compiler warning: forgot to hook up a poll callback I definedJoshua Leung
for unlinking PoseLib data
2011-02-16PoseLib UI and Bugfixes:Joshua Leung
- Added operator button to show the current pose. This runs on top of the interactive pose browse functionality, so the tooltip may be a bit obtuse... - Specifying a pose for the Pose browse functionality to set now works correctly. Previously, some old depsgraph hacks were actually interferring with correct updating (only the armature updated correctly, but deforms didn't occur) - Fixed a case of accessing freed memory, which I'm surprised no static checkers have reportedly picked up on yet, or that nobody has really had issues with (probably due to low memory "turnaround" so far)
2011-02-16Pose Lib: Start of PoseLib UI in Armature buttonsJoshua Leung
This presents a UI from which PoseLibs can be assigned/removed from Objects. From here, it is also possible to see the list of poses and add/remove poses from this list. Known Issues: - [Py/RNA/Operators BUG ALERT!] If after immediately starting Blender you try to remove a pose from the PoseLib using the UI buttons, you'll get a an error the first time you do so (but not for subsequent attempts). This seems to be caused by the "pose" enum (dynamically generated) of the POSELIB_OT_pose_remove operator, which does not seem to be getting initialised when the operator's exec gets called without the invoke having been called previously - Changing the active Pose Library still seems to be broken (to be fixed soon) Todos: - Operator button to make the selected pose get shown in the 3d view - Restore the "validate action" operator and add that to this panel - Rename pose access
2011-02-15PoseLib: Adding support for custom propertiesJoshua Leung
Custom properties are now supported by Pose Library. They will get saved and restored correctly during previewing and pose adding. To do this, I've changed PoseLib over from using the "LocRotScale" Builtin Keying Set to the "Whole Character" one instead. One consequence of this, is that now entire poses are stored in the Pose Lib, irrespective of whether you only selected part of a pose to store (i.e. facial controls only, or hand poses only). If this is enough of a problem, I'll make a second Keying Set that does take selections into account, and use that here instead.
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-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
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-07remove mat_nr from MVert struct, saves 4 bytes per vertex.Campbell Barton
used to be used for halo's
2011-02-07Bugfix [#25934] "Apply Visual Transform as Pose" not working?Joshua Leung
Simplified the code for Apply Visual Transform as Pose. This makes it work for IK chains now, since there aren't any recalculations of the pose involved now, which were contributing to the pose getting incorrect as the applying process went on, since the IK chain was getting calculated differently with each successive change to the chain.
2011-02-07PoseLib Bugfix:Joshua Leung
When using Pose Lib with a search string, if the search fails after typing a character and then you try to backspace to get back to the previous search string, the pose does not refresh until you type in another valid letter such that the search works again. Did a logic reshuffled in the get next preview pose function so that this is dealt with properly
2011-02-07PoseLib Preview/Browse Bugfixes:Joshua Leung
- [#25951] Hardcoded Keys in PoseLib modal operator register twice per use Now only the KM_PRESS events are handled. KM_RELEASE events for these are ignored... - While checking the above, I also found that the view-manipulation while previewing functionality was broken. This was one of the benefits of this UI approach over a fixed screenshot-only listview. Fixed now :)
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-02-04Quick Animation Feature: Paste Pose "Selection Mask" optionJoshua Leung
After discussions with ZanQdo, it was agreed that the current workflow for making a pose symmetrical was a bit too cumbersome, especially when auto-keying was enabled, requiring pasting the flipped pose on another frame so that the changes could be merged back in without overwriting the "good" half of the rig. This option for the Paste Pose operator makes things easier, by adding an option which will make the pose only get pasted on to selected bones instead of overriding the entire pose. By default this option is turned off, but can be easily enabled either from the toolbar (operator properties) or through the F6 popup. The intended workflow with this option for making a rig symmetrical is now: 1) Copy pose 2) Select "bad" bones 3) Paste Flipped 4) Enable "On Selected Only" for the operator If there is sufficient interest, this option can even be enabled by default. But, we'll see about that later
2011-02-02- some parts of the code to remove rotation were not removing axis/angle ↵Campbell Barton
rotation (only functional change of this commit). - use BLI_math functions for removing rotations from objects and pose channels. - add unit_axis_angle() to avoid setting the Y axis inline anywhere rotation needs removing.
2011-01-30remove nan-makefilesCampbell Barton
2011-01-26- Clear rotation for objects now works on delta transforms too. TheJoshua Leung
only case that doesn't fully work yet is the one where quats/axis- angle are converted to eulers first. - Fixed incorrect comment - Removed obsolete "armature_clear" var from clear origin operator. This was some ancient stuff from 2.4x code that ended up getting ported across...
2011-01-22comment dead code and fix 2 missing NULL checks (pointer used after NULL ↵Campbell Barton
check and checking against incorrect pointer before use).
2011-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-12More missing descriptions for operatorsJoshua Leung
2011-01-12Gave all armature operators descriptions (for tooltips and APIJoshua Leung
reference docs)
2011-01-12Added operator to show all armature layers (similar to the 3D ViewJoshua Leung
"Show All Layers"). This has been mapped to Ctrl-Accentkey If necessary, you can alter your keymaps so that this operator is invoked with its "all" property disabled. This will only toggle the first row (first 16) layers, which is useful in most rigs for only enabling all the layers with rig controls and not showing the layers with rig mechanics.
2011-01-11- Added operator to clear all transforms from Pose Bones. This makesJoshua Leung
it easier to reset a rig to its default pose again - Refactored clear pose operators to separate out the common parts, and made sure that they all had descriptions
2011-01-09remove unused vars, comment some which look like they could be useful still. ↵Campbell Barton
have makesrna.c omit unused _data definitions for rna funcs with no args.
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-06remove assignments which are unused.Campbell Barton
2010-12-31armature recalc roll now works properly with mirror enabled.Campbell Barton