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-02-23add 2.4x posemode & weightpaint feature as an operator - Flip Active, Shift+F.Campbell Barton
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-23- fix python error for poselib UI when none is active.Campbell Barton
- add info to create_dupli_objects rna function docstring. - transform snap had bad define, disabling BVH accelerated snap (own fault).
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-21Fix for [#26105] Key mapped Rotate equals crash (Windows/MSVC only)Janne Karhu
* Transform info text array was too short for all cases, so some characters got written to invalid addresses.
2011-02-17clear some unused warningsCampbell Barton
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-12- fix leak on STL loading if realloc fails.Campbell Barton
- transform code was using sprintf reading and writing the same string (undefined behavior). - softbody had unneeded NULL check.
2011-02-07Todo/feature requestTon Roosendaal
When using masks or other simple 3D elements in composites, doing a layer re-rendering on a node is a bit clumsy all the time. This commit does two things to help: - new hotkey "Z" in node editor automatically finds render layer that changed and re-renders it + composites - option "Auto Render" does same, but then after every transform edit in 3D window The latter is experimental; real & proper system for this requires full threaded render support (like previews). But it works! Demo file: http://download.blender.org/demo/test/auto_composite.blend Important fix: After any render, all the render layers were tagged "changed", which caused any edit to first totally recomposte everthing. Now it only composites changes. Implementation notes - DAG scene flush now sets 'changed' flags in render layer nodes - Added notifier for 'transform finished' to trigger the update, this is temporarily.
2011-02-07fix [#25926] lattice + projection on surface snap issueCampbell Barton
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-30remove nan-makefilesCampbell Barton
2011-01-20Small code reshuffle... sequencer transform stuff was bisecting theJoshua Leung
code for object transform stuff
2011-01-15remove/comment unused defines.Campbell Barton
2011-01-14Transform tweak:Joshua Leung
2D Editors using the standard translation transform tool no longer have their values converted. For instance, it simply didn't make much sense in such editors to be showing frame numbers/timing in terms of meters/inches.
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-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-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-10bug [#25535] proportional editing bugCampbell Barton
disable PET when rotating/scaling around face centers to make it more obvious its unsupported.
2011-01-10edit to Ton's recent commit, r34177, only use the far clipping as PET max ↵Campbell Barton
when not in Ortho view.
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-09rename BKE_assert() --> BLI_assert().Campbell Barton
2011-01-09Bugfix #25551Ton Roosendaal
Transform crash on autokey during animplay. Transform event handling requires Context, for inserting keys. Marked it with XXX warning; we have to be more careful with which API calls require context; like inserting keys shouldn't need it? Originally Context was meant for operators; to define user level or scripted context, not for underlying APIs to work.
2011-01-08Bugfix, IRC reportTon Roosendaal
Texture space transform, SHIFT+R crashed
2011-01-08Proportional editing:Ton Roosendaal
- Proportional circle size is printed in header Allows you to find out if you make it smaller when it's large - Proportional size is clipped with view3d clip-end now - Added the size to rna, so you can inspect values via UI and py.
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-06Bug fix: Ton Roosendaal
On texture-space transform, pressing Rkey crashed. Now it refuses to enter rotation mode. :)
2011-01-06Todo item:Ton Roosendaal
Auto-texture space now is more responsive and correct. - on transforming it, the buttons get redrawn to show option was reset - on enabling option, texture space is recalculated/reset
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?
2011-01-03DAG_id_tag_update was being called with non object ID's and OB_RECALC_* ↵Campbell Barton
flags which only apply to objects. harmless but misleading.
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-24Bugfix: (Mario Kishalmi patch)Ton Roosendaal
Edge slide bug: when multiple vertical subdivisions exist, the UVs for a slide or loopcut-slide operation were wrong.
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-23rename blenderlib to blender_add_libCampbell Barton
2010-12-22Bugfix #25348Ton Roosendaal
EdgeSlide: cancel didn't refresh UVs in mesh for cancelled state. Also loopcut suffered this.
2010-12-21use uppercase for axis chars, used in BLI_math and other parts of blender.Campbell Barton
2010-12-20Bugfix: new strict code for UI_make_axis_color() caused constraintTon Roosendaal
lines in Transform to not draw.
2010-12-20bugfix [#25238] Render image window edits UV'sCampbell Barton
2010-12-20fix [#25283] Edge length display difficult to readCampbell Barton
- made theme colors for mesh edge len & face angle/area display. - use %g rather then %f for float display, trims unneeded zeros. - store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context. - use unsigned char for more color functions, avoids casting to glColorubv().
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()