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-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-07Fix #30052: VSE: metastrips don't move with Extend (E)Sergey Sharybin
Issue was caused by transformation tools weren't taking metastrip clips into account, so strip inside of merastrips are placedon different from metastrip side of time cursor, extension happened in unexcpected way.
2012-02-04Code Cleanup: avoid double promotion.Campbell Barton
2012-02-03fix [#27953] VSE: weird drawing and placement issues strips during 'E'Campbell Barton
was calculating meta / effect in wrong order causing delay, now calculate selected meta's, then all effects after tramsforming.
2012-01-30Fix #30021: Crash happens when rotating markersSergey Sharybin
2012-01-18Curve points of tracking curves now can be grabbed to smooth spikesSergey Sharybin
Curve points of tracks curves now can be selected for X and Y channels separately and can be moved along Y axis of curve viewer, points currently can't change frame they belong to. This allows to smooth spikes caused by unwanted marker jump. Also fixed some mistakes in cancel transform in cases when locked tracks were being trying to be moved; fixed incorrect calculation of marker speed for curve drawing.
2012-01-17Fix #29905: extend transform a sequencer meta strip did not update the positionBrecht Van Lommel
and length of the meta strip properly, only its contents. Also overlap check was done too soon giving false positives, should be after meta strip update.
2012-01-17New pchan to pose matrices computes. Fixes [#27898] Bone snap to cursor ↵Bastien Montagne
fails and [#29461] Selection-to-Cursor works strange with bones with TrackTo constraint. Also fixes some inconsistant behavior of no Inherit Rotation/Scale options. WARNING: This commits modifies how translated unconnected child bones with *no Inherit Rotation option* are positionned. This means that if you open a posed/animated armature using such (corner-case) setup, you'll have to adjust manually the locations of such bones: now, disabling Inherit Rotation/Scale will no more move the bone, only affecting its rotation/scale. Many thanks to Bassam Kurdali (slikdigit) for his advices and tests of the patch! ----- Dev notes : the pchan_to_pose_mat() func was added to BKE_armature.h, which computes two matrices to get the pose transformations (pchan) of the bone directly in pose (i.e. armature object) space. The first matrix is the rotation/scaling parts, the second one is for location. That new function is used by (hence deduplicating and simplifying their code): * The pose evaluation code (where_is_pose_bone()). * The interactive transformation code (add_pose_transdata(), in transform_conversion.c). * The snap to cursor/grid code (through armature_loc_pose_to_bone()/armature_mat_pose_to_bone()).
2012-01-16use TRUE/FALSE for boolean keymaps, no functional changesCampbell Barton
2012-01-14use single property lookups in transform operator initialization & fix error ↵Campbell Barton
with last-settings, so texture translate doesn't apply to the grab key.
2012-01-13Fix #29873: transform with individual origins not working in edge select mode.Brecht Van Lommel
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-11dynamicpaint had some incorrect string sizes for layers names, use BLI ↵Campbell Barton
string functions in more places too.
2012-01-11use BLI_strncpy and BLI_snprintf when the size of the string is known.Campbell Barton
fix for sequencer unique naming which was missed with string length update.
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-27Merging r42800 through r42895 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-27[#29144] Snapping control points: can't choose which one to deleteMartin Poirier
Reported by Pep Ribal You can now select which snap point to remove (with Alt-A) by moving the cursor over them. Display colors are also used to indicate which snap points are active, selected or just there.
2011-12-26[#29611] Crash when scale one vertex with snap.Martin Poirier
Reported by Andrey Penyaz Scale snap defaults to 1 when snapping is impossible (distance to center of transformation is zero).
2011-12-22split >120 length lines (mostly if statements)Campbell Barton
2011-12-22split some >120 lines, no functional changesCampbell Barton
2011-12-19Merging r42648 through r42722 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-17style edit only - move parenthesis onto second line of function definition ↵Campbell Barton
(in keeping with most of blenders code) also split some long lines in own code.
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-16fix [#29626] Warp tool: stuck Angle valueCampbell Barton
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-13Merging r42533 through r42601 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-11remove unused function, found when syncing with bmesh, also remove/comment ↵Campbell Barton
some unused defines
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-12-05syncing some minor formatting edits from bmesh branch.Campbell Barton
2011-12-04add a new object member to store the dsize, since with my recent commit ↵Campbell Barton
broke forward compatibility. now the new values are copied into 'dscale' and existing ones remain. this is annoying since now we have dsize and dscale, will look into a way to deprecate struct members next.
2011-12-03Fix #29483: edge slide gives nan when zoomed in close. Cause was integerBrecht Van Lommel
overflow leading to negative value for sqrt().
2011-11-23Patch #29336: renaming UV (Texture) Layer to UV Map in the user interface,Brecht Van Lommel
by Gaia Clary. Rationale: the name was confusing and not always used consistently, and this map itself is not something that can be layered, rather the map can be used as texture coordinates in some layered setup. The original intent was to indicate this contained more than just UV's, but the game engine settings have already been moved out, and apparently users didn't really get this from the name anyway.
2011-11-19make it clearer which arguments in transform snap are return values (no ↵Campbell Barton
functional change)
2011-11-15patch [#28993] wm_window_match_do(): Fix crash on null pointer dereferenceCampbell Barton
from Ola Jeppsson (olajep) also some cleanup edits
2011-11-15Fix #29253: 3D Manipulator: "Active Element" not supported for curvesSergey Sharybin
This funcitonality simply wasn't implemented for curves yet, implemented it now.
2011-11-11correct indentation and some whitespace edits (no functional changes)Campbell Barton
2011-11-11quiet -Wdouble-promotion warningsCampbell Barton
2011-11-08Fix #29201: movie clip editor - right click crashes blenderSergey Sharybin
Just another not very smart check for "boundary" case of usecase.
2011-11-08Fix: incorrect use of IFACE_ macro, and correct a typo.Brecht Van Lommel
2011-11-08Code cleanup - reshuffling some stuff to avoid buildup of long functions in ↵Joshua Leung
transform code again
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-11-07replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy ↵Campbell Barton
functions for int & char.
2011-11-06replace macros for bli math functions in editorsCampbell Barton
2011-11-06misc macro --> bli math lib functionsCampbell Barton
2011-11-05use (const char*) rather than (char*) where possible.Campbell Barton
also removed some unused function definitons.
2011-11-02Function convertViewVec() contained some piece of code duplicated fourNicholas Bishop
times, pulled out into separate function and cleaned up a bit. Should be no functional changes. Review link: http://codereview.appspot.com/5308073/
2011-11-01Fix #29101: 2D Tilt on Bezier Curve Bug?Brecht Van Lommel
Changing tilt for 2D curves doesn't really hurt, just makes things not so clear tosee what's going on because you're changing value which isn't used at all for 2D curves. Disallwo to run TRANSFORM_OT_tilt operator for 2D curves. Also made a correct fix for incorrect shortcut for tilt in 3D viewport toolbar, it was really confusing to have almost the same operators (TRANSFORM_OT_tilt and TRANSFORM_OT_transform with mode=tilt) in keymap. Better to use tilt operator in toolbar.
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-23use defines for keying set names to avoid confusing them with text and ↵Campbell Barton
having some incorrect names (as fixed in last commit)