===========================
Return non-blocking behavior to grease pencil sketch mode.
It is needed to implement more accurate line drawing based
on using mouse click on where line "knot" should be added
and allowing pan/zoom between such knots selection.
There are still issues with vertex paint/sculpt modes,
but they aren't critical -- just behavior could be
improved here.
Currently, grease pencil conflicts with such operators
as undo and set object mode which makes behavior totally
unpredictable and crash for some cases.
The only way to solve this proper is to ger rid of pointers
to data which can chage stored in operator custom data.
if vec.dot(vec) > some_distance*some_distance:
do_something()
might not be quite as obvious looking as:
if vec.length_squared > some_distance*some_distance:
do_something()
As to why you'd want to use length_squared over length is that length uses a square root, which isn't always necessary for simple distance checks (e.g., closest object, checks like the ones above, ect).
===========================
Changes to manual calibraiton:
- Grease pencil is now getting distorted, so now workflow is
changing to making straight GP line line match footage.
I've tried to make GP lines not changing their start and
end points from their "keyed" position.
Should be tested because this could be done not in
very accurate way.
- Fixed crash when adding new GP layer when there's no
frames yet and manual calibration is enabled.
===========================
- Fix for reading grease pencil data for movie clips.
- Request from Francois: undistort grease pencil to allow
manual calibration.
Only strokes made in "Cursor" space are getting undistorted,
strokes made in view space are kept unchanged.
This allows to make such workflow of manual calibration:
- Outline straight line in footage with GP.
- [Optional] mute footage.
- Enable Display->Manual Calibration.
- Tweak distortion coefficients until you'll like result.
- [Optional] Use strokes made in viewspace to help checking
of straightness of outlined features.
Not ideal but could be nice addition for grid-only calibration
until proper tools are getting ported to libmv/blender.
===========================
Fixed wrong jpeg files saved by proxy builder.
Additional changes:
- Fixed some wrong copyrights in my own files.
- Added copyrights headers to Peter's indexer files.
Reported by Jean Francois Sarazin
Lack of normal normalisation caused scaling issues. SIGGRAPH fix by jahka and jesterKing. Thanks to host dfelinto with entertainment provided by slikdigit.
2 changes
- When writing OGG only allow Theora encoding, this fixes the crash.
- When setting the MPEG preset, dont allow the 'Codec' to be left as Theora, this is just confusing.
* note that this is highly confusing for users and devs - there are 4 places to set the codec/format, with both python and C presets :S.
===========================
Fixing some problems caused by modifying imbuf from cache
when building proxy and preventing attempt to load image
duting saving it from cache builder.
===========================
Changes into sensor size use case.
There was problem with vertical sensor size which can't actually
affect on things due to we've got fixed image resolution. So
as soon horizontal size gets defined, both of sensor height
and vertical FOV is known and exposing it into UI makes things
difficult to understand.
That's why vertical sensor size was dropped.
Also added pixel aspect to camera settings fo clip editor.
Solver will sue this value rather than value from display
aspect ratio.
This pixel aspect would be copied to render settings after solving
so things should match now between footage, solving anf footage.
===========================
Fixed tracking speed regression caused by proxies commit.
Use frames from cache when tracking if available and also
but frames read during tracking into cache (if proxying
allows this).
===========================
Bundling new version of libmv. It's repo is ready for
bundling again, some patches which were applied on our
side are in libmv repo now.
This new version of libmv also contains patch from John Carpenter
which makes reconstruciton a bit more "stable" -- some kind
of fallback algorithm.