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
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-03-16fix for building bmesh bevel with scons (source file was left out)Campbell Barton
2012-03-08style cleanup - spelling.Campbell Barton
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-01-11rename RNA_property_is_set() --> RNA_struct_property_is_set() in preperation ↵Campbell Barton
to add a second version of the function which takes the property rather then its name.
2012-01-11Longer names support for all ID and other object namesSergey Sharybin
This commit extends limit of ID and objects to 64 (it means 63 meaning characters and 1 for zero-terminator). CustomData layers names are also extended. Changed DNA structures and all places where length constants were hardcoded. All names which are "generating" from ID block should be limited by MAX_ID_NAME-2, all non-id names now has got own define called MAX_NAME which should be used all over for non-id names to make further name migration stuff easier. All name fields in DNA now have comment with constant which corresponds to hardcoded numeric value which should make it easier to further update this limits or even switch to non-hardcoded values in DNA. Special thanks to Campbell who helped figuring out some issues and helped a lot in finding all cases where hardcoded valued were still used in code. Both of forwards and backwards compatibility is stored with blender versions newer than January 5, 2011. Older versions had issue with placing null-terminator to DNA strings on file load which will lead to some unpredictable behavior or even crashes.
2011-12-19Merging r42648 through r42722 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-16Math lib: matrix multiplication order fix for two functions that wereBrecht Van Lommel
inconsistent with similar functions & math notation: mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B) mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B) For branch maintainers, it should be relatively simple to fix things manually, it's also possible run this script after merging to do automatic replacement: http://www.pasteall.org/27459/python
2011-12-15Object tracking: various fixes and improvementsSergey Sharybin
- Bundles selection is now available for object's bundles - If bundles selection wasn't changed in 3D viewport, fallback to regular object selection, so objects behind bundles can be selected - Snap cursor to selection now respects object's bundle selection - Object and rack name now can be selected from list in constraint settings - Added preset for tracks used for object tracking
2011-12-15Object tracking: object with object solver constraint is now parented to ↵Sergey Sharybin
scene's camera Made Object Solver operator parent object to scene's camera. Behavior is pretty much familiar to Child Of constraint -- it stores inverted transformation matrix which gives constant offset in parent's space. Current files would open incorrect, to make object aligned well again, just press "Set Inverse" button in Object Solver constraint. Fixed orientation operators so now they should work in all cases. Also changed behavior of Set Origin operator which now sets origin to the median point of all selected tracks/
2011-12-05Object tracking; initial commitSergey Sharybin
This commit implements basis stuff needed for object tracking, use case isn't perfect now, interface also should be cleaned a bit. - Added list of objects to be tracked. Default there's only one object called "Camera" which is used for solving camera motion. Other objects can be added and each of them will have it;s own list of tracks. Only one object can be used for camera solving at this moment. - Added new constraint called "Object Tracking" which makes oriented object be moving in the save way as solved object motion. - Scene orientation tools can be used for orienting object to bundles. - All tools which works with list of tracks or reconstruction data now gets that lists from active editing object. - All objects and their tracking data are available via python api.
2011-11-30fix for parenting bug introduced by own commit r42273, adding dummy object ↵Campbell Barton
didnt initialize delta vectors. also remove redundant NULL initializers, where the value is initialized immediately after.
2011-11-22Attempted bugfix to improve behaviour of inverse calculations for ChildOfJoshua Leung
Constraint (bones case only for now). See [#29100] for some problematic test cases * It is no longer necessary to have to press "Clear Inverse" before doing "Set Inverse" to get a reliable result. The calculation now calculates the pose with the inverse cleared as it's "baseline" first now, which has the same result as clearing the inverse manually first. * Also, this commit trials a new method for computing inverses when there is more than one constraint on the bone. Previously it just temporarily muted the offending constraint, but kept all following constraints active, thus potentially including their results in the inverse calculation. However, since the inverse should only really care about what the stack looked like up to and including when the constraint is applied, all constraints starting from this one onwards are now disabled when calculating the inverse. PLEASE TEST!!! In the few tests I've done, the effects appear minimal, but this may be quite an issue in the wild
2011-11-14minor cleanup Campbell Barton
- use NULL rather then 0 for pointers - use static functions where possible - add own includes to ensure func's and their declarations don't get out of sync.
2011-11-11pep/style edits & quiet some warningsCampbell Barton
2011-11-11Bugfix [#29210] ChildOf constraint Set InverseJoshua Leung
For Objects, Set Inverse was unreliable as the constraint didn't get reset properly before being calculated
2011-11-07Camera tracking integrationSergey Sharybin
=========================== Commiting camera tracking integration gsoc project into trunk. This commit includes: - Bundled version of libmv library (with some changes against official repo, re-sync with libmv repo a bit later) - New datatype ID called MovieClip which is optimized to work with movie clips (both of movie files and image sequences) and doing camera/motion tracking operations. - New editor called Clip Editor which is currently used for motion/tracking stuff only, but which can be easily extended to work with masks too. This editor supports: * Loading movie files/image sequences * Build proxies with different size for loaded movie clip, also supports building undistorted proxies to increase speed of playback in undistorted mode. * Manual lens distortion mode calibration using grid and grease pencil * Supervised 2D tracking using two different algorithms KLT and SAD. * Basic algorithm for feature detection * Camera motion solving. scene orientation - New constraints to "link" scene objects with solved motions from clip: * Follow Track (make object follow 2D motion of track with given name or parent object to reconstructed 3D position of track) * Camera Solver to make camera moving in the same way as reconstructed camera This commit NOT includes changes from tomato branch: - New nodes (they'll be commited as separated patch) - Automatic image offset guessing for image input node and image editor (need to do more tests and gather more feedback) - Code cleanup in libmv-capi. It's not so critical cleanup, just increasing readability and understanadability of code. Better to make this chaneg when Keir will finish his current patch. More details about this project can be found on this page: http://wiki.blender.org/index.php/User:Nazg-gul/GSoC-2011 Further development of small features would be done in trunk, bigger/experimental features would first be implemented in tomato branch.
2011-10-28replace VECCOPY and QUATCOPY with inline funcs.Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-20strcpy() --> BLI_strncpy(), where source strings are not fixed and target ↵Campbell Barton
size is known.
2011-09-19/blender/editors: Removed final points in UI strings and messages.Bastien Montagne
Plus a few cuts in very long lines…
2011-09-14move ED_object_pose_armature --> object_pose_armature_get to so we dont get ↵Campbell Barton
bad level calls in the weight paint branch.
2011-08-05Bugfix [#28106] Missing 3D view update after copy of constraintsJoshua Leung
2011-05-24= Limit Distance Constraint - 'For Transform' Option =Joshua Leung
The Limit Distance Constraint now has a "For Transform" option just like all the other Limit constraints. This option controls whether the constraint gets applied to interactive transforms in the 3D View too, preventing controllers from getting large values without the animator knowing. Additional code changes: * Split code to get constraint targets and grab their matrices for solving out to a separate helper function: get_constraint_targets_for_solving() * Fixed a bug where "found constraint ...." prints would appear in the console. Looks like some warning print that was forgotten TODO: * While coding this, I noticed potential division by zero bugs with the Limit Distance constraint. Looking into these after this commit.
2011-05-04fix [#26920] working with bones causes segmetation fault.Campbell Barton
ITASC IK solver data wasn't being cleared when constraints were removed, would access freed memory and crash.
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-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-23add back view 1:1 operator from 2.4x (Shift+PadEnter)Campbell Barton
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-08Bugfix [#25814] ChildOf constraint: double transformation in objectJoshua Leung
mode with drivers ChildOf constraints added using the PoseBone.constraints.new() method via Python scripts instead of using the operator (this latter method is still the preferred/recommended method) were not getting some critical flags set, causing errors arising from space conversions being performed more than once.
2011-02-08Bugfix: Constraint target validation code was brokenJoshua Leung
While testing Apply Visual transforms last night, I noticed that setting a constraint to use its owner as its target was allowed and didn't trigger any warnings. This clearly doesn't do any good and is different from the old behaviour.
2011-01-31Bugfix [#25876] bpy.ops.constraint.childof_set_inverse has no effectJoshua Leung
This was a two-part bug: a user error + API error. * User Error: before calling bpy.ops.constraint.childof_set_inverse() for a constraint defined on a bone, you firstly need to explicitly make that bone the active bone. To do that, you do armature.bones.active = posebone.bone # or something similar * API Error: active bone setting was a bit too strict. It only allows setting the active bone if the new bone comes from the same armature, but was overlooking the fact that RNA pointers may have been created through the object using the armature instead.
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-10add constraint operatorCampbell Barton
- report an error if adding a pose constraint with no active pose channel. - dont run update_pose_constraint_flags() when adding an object constrant to an armature object.
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-23Bugfix #25341Ton Roosendaal
Child-of constraint issue: on adding, it wasn't checking owner correctly for Bones, resulting in a constraint working in wrong space; it looked as if transform was applied double when moving the object. Only adding via Py API went wrong btw. Also found a silly check for drawing constraints, which caused constraint initialization to happen for every object on every redraw! Implementation note: con->flag CONSTRAINT_SPACEONCE was only used for child-of constraints in Bones, so I've patched it on file reading to always set the flag. Marked with XXX, so it can be removed one day. Now at least things get corrected well for imported armatures.
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-12Bugfix #25183Ton Roosendaal
Copy constraints pose mode: didn't update constraint flag to denote colored bone drawing. Also notifier was missing for redraw.
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-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-11-04bugfix [#24009] Crash when switching area types and performing opsCampbell Barton
2010-10-31rename and negate DISABLE_PYTHON --> WITH_PYTHONCampbell Barton
2010-10-23warning fixes.Campbell Barton
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.