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-27object/paint/misc-files: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats. - also UV angle stretching was using radians->deg which wasn't needed.
2011-03-19remove some redundant vars, assignments & checks.Campbell Barton
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-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
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-16sphinx doc gen: multiple examples possible and include the scripts docstring ↵Campbell Barton
inline in sphinx. also tag unused vars
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-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-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-23use ICON_NULL define rather then 0, makes UI calls less confusing. (no ↵Campbell Barton
functional change) eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);
2010-12-08Changed armature active bone so it is separate from selection this is ↵Campbell Barton
consistent with active object, mesh editmode, curves & metaballs. - active is no longer assumed to be selected. this fixes a simple bug - eg: Adding a new armature, entering pose mode and toggling selection failed. - outliner editbone selection now works like object and pose mode. - mouse selection sets the bone active even when the tip is selected. - active, unselected bones draw as wire color with a 15% tint of the selected color.
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-10-31initialize structs to zero rather then using memset().Campbell Barton
2010-10-15bugfix [#24256] Wrong bone subdivision number in tweak panel.Campbell Barton
there were 3 operators for armature subdivision, now only have 1 (as with mesh). + remove unused warnigns.
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-30Cleanup of Auto-Keyframing code:Joshua Leung
Moved duplicated code out to a special new function so that this doesn't need to be copied all over for each transform op that needs this.
2010-09-30Bugfix #23707: Autokey Available is ignored on a Clear TransformJoshua Leung
Second attempt at fixing. Last time, I missed the case where the "Only Insert Available" userpref was enabled, which was why the bugreport was reopened. Hopefully I haven't missed anything else...
2010-08-23Patch #22855: Replace existing pose in poselib: put frame+name in ↵Joshua Leung
properties, not only frame Submitted by: Torsten Rupp (rupp) Thanks Torsten for the patch. Previously, replacing poses would name them all "Pose".
2010-08-15[#23266] bpy.ops.poselib.browse_interactive - blend_factor argument does nothingCampbell Barton
commenting 'blend_factor' for now, its not used. COLOR and EULER internal pyrna subtypes were causing color type variables to try update euler rotation order.
2010-08-08remove unused includesCampbell Barton
2010-06-18Notifier cleanup - replaced ND_*_EDIT and ND_*_SELECT data notifiers Matt Ebb
with the generic action equivalents (NA_EDITED and new NA_SELECTED)
2010-05-25fix for 2 warnings & better error checking for the thumbnail loading.Campbell Barton
2010-04-07Auto Keyframing:Joshua Leung
Made 'PoseLib', 'Pose Paste', and 'Transforms' use the active KeyingSet instead of a hardcoded one if there is an active KeyingSet and the 'Only Insert for Keying Set' option is enabled in the User Prefs. Also, made sure that for transforms, the active KeyingSet is provided with the data being modified instead of having them retrieve this from the context (which may miss a few items). --- While making the changes for pose paste, made pasting poses not destroy the existing properties on the bones if the buffer bones didn't have any properties to replace the old ones with. IMO, this seems a bit too destructive if they don't get replaced, but perhaps in some cases not removing causes some problems with bad poses?
2010-04-02Batch renaming some keyframe editing internals in preparation for more ↵Joshua Leung
generic keyframe editing API, allowing more niceties...
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-16== Massive Keying Sets Recode ==Joshua Leung
After a few days of wrong turns and learning the finer points of RNA-type-subclassing the hard way, this commit finally presents a refactored version of the Keying Sets system (now version 2) based on some requirements from Cessen. For a more thorough discussion of this commit, see http://sites.google.com/site/aligorith/keyingsets_2.pdf?attredirects=0&d=1 ------ The main highlight of this refactor is that relative Keying Sets have now been recoded so that Python callbacks are run to generate the Keying Set's list of paths everytime the Keying Set is used (to insert or delete keyframes), allowing complex heuristics to be used to determine whether a property gets keyframed based on the current context. These checks may include checking on selection status of related entities, or transform locks. Built-In KeyingSets have also been recoded, and moved from C and out into Python. These are now coded as Relative Keying Sets, and can to some extent serve as basis for adding new relative Keying Sets. However, these have mostly been coded in a slightly 'modular' way which may be confusing for those not so familiar with Python in general. A usable template will be added soon for more general usage. Keyframing settings (i.e. 'visual', 'needed') can now be specified on a per-path basis now, which is especially useful for Absolute Keying Sets, where control over this is often beneficial. Most of the places where Auto-Keyframing is performed have been tidied up for consistency. I'm sure quite a few issues still exist there, but these I'll clean up over the next few days.
2010-02-19Pose Tools Cleanup:Joshua Leung
Moved some of the generic code used to determine the F-Curves linked to PoseChannel transforms (as used by the Pose Sliding tools) into a separate file, in preparation for migration of PoseLib tools to this system too. This should make it easier to add some useful new functionality to the PoseLib browsing system (pending in a later commit).
2010-02-18constraints unique name length was set too long (could overrun the buffer), ↵Campbell Barton
use sizeof() with other instances of BLI_uniquename too
2010-02-12correct fsf addressCampbell Barton
2010-01-28PROP_ENUM_NO_CONTEXT flag for rna properties, forcing enum item functions to ↵Martin Poirier
be passed a null context (to return non-contextual items). This is set on keymap item operator properties and macro definition operator properties to make them non-contextual (since the context at definition time is most likely not the same then at execution time, it's better to have all options visible). This removes some more errors in keymap export and import. This commit also sanitize some enum item function, making sure they can cope with null context and have usable defaults in that case.
2010-01-25Remove unneeded notifier data added in revision 26219.Martin Poirier
Fix a lot of notifier calls to stop abusing ND_TRANSFORM and use more appropriate data flags.
2010-01-22Cleaned up some printfs in editors/ - converted some to reports, hid others ↵Matt Ebb
behind G_DEBUG.
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-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-10use armature active bone as a pointer rather then a flag for each bone that ↵Campbell Barton
needs looking up. - rna vars arm.bones.active & rna.edit_bones.active - needed special undo support. - readfile.c loads. - duplicate and copy_armature support. - keep the draw flag, renamed to BONE_DRAW_ACTIVE, only use for openGL drawing. Note: it may be better to allow active/unselected as with objects.