blender.git
8 years agoCamera tracking integration
Sergey Sharybin [Tue, 2 Aug 2011 18:25:18 +0000 (18:25 +0000)]
Camera tracking integration
===========================

- Fixed some silly things ni DNA design. Now all
  reconstruction data is stored in Tracking->Reconstruction.
  Please, re-solve your cameras -- reconstruction data
  wouldn't be read from files saved in blender below this
  commit.
- RNA accessors for reconstruction data.
- Store average reconstruction error in new reconstruction
  structure and show it in clip editor header after
  reconstruction.
- Highlight failed to reconstruct frames with red in cache line.
- Added "group" "Failed Tracks" in Select Grouped operator,
  Meant to be used for selecting tracks bundles from which
  failed to to be solved.
- Hotkey to delete marker: Shift-X.
- Jump to next/prev failed frame operator. Hotkeys are
  Ctrl-Shift-Left/Right Arrow.

8 years agoMerging r38898 through r38940 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 2 Aug 2011 17:32:19 +0000 (17:32 +0000)]
Merging r38898 through r38940 from trunk into soc-2011-tomato

8 years agoFixed a few small typos.
Kent Mein [Tue, 2 Aug 2011 17:00:44 +0000 (17:00 +0000)]
Fixed a few small typos.

Kent

8 years agotypo fix
Nathan Letwory [Tue, 2 Aug 2011 14:45:35 +0000 (14:45 +0000)]
typo fix

8 years agounit arg for FloatVectorProeprty
Campbell Barton [Tue, 2 Aug 2011 10:56:09 +0000 (10:56 +0000)]
unit arg for FloatVectorProeprty

8 years agoDon't include NDOF files when disabled.
Nathan Letwory [Tue, 2 Aug 2011 10:50:22 +0000 (10:50 +0000)]
Don't include NDOF files when disabled.

8 years agoSome more silencing. Enable with BF_GHOST_DEBUG
Nathan Letwory [Tue, 2 Aug 2011 10:39:46 +0000 (10:39 +0000)]
Some more silencing. Enable with BF_GHOST_DEBUG

8 years agoIndentation changes
Nathan Letwory [Tue, 2 Aug 2011 10:26:20 +0000 (10:26 +0000)]
Indentation changes

8 years agofix [#28148] User Preferences Scripts Path not working
Campbell Barton [Tue, 2 Aug 2011 10:21:25 +0000 (10:21 +0000)]
fix [#28148] User Preferences Scripts Path not working

8 years agoProperly disable NDOF code when WITH_INPUT_NDOF is not define.
Nathan Letwory [Tue, 2 Aug 2011 10:20:47 +0000 (10:20 +0000)]
Properly disable NDOF code when WITH_INPUT_NDOF is not define.

8 years agowhitespace
Nathan Letwory [Tue, 2 Aug 2011 09:36:44 +0000 (09:36 +0000)]
whitespace

8 years agoDebug print removed.
Nathan Letwory [Tue, 2 Aug 2011 09:18:21 +0000 (09:18 +0000)]
Debug print removed.

8 years agoDon't show NDOF guide by default.
Nathan Letwory [Tue, 2 Aug 2011 09:12:58 +0000 (09:12 +0000)]
Don't show NDOF guide by default.

8 years agoTurn off ndof button debug
Nathan Letwory [Tue, 2 Aug 2011 09:09:07 +0000 (09:09 +0000)]
Turn off ndof button debug

8 years agotabs -> spaces
Nathan Letwory [Tue, 2 Aug 2011 09:07:24 +0000 (09:07 +0000)]
tabs -> spaces

8 years ago3D Mouse support on for windows/msvc by default.
Nathan Letwory [Tue, 2 Aug 2011 09:06:55 +0000 (09:06 +0000)]
3D Mouse support on for windows/msvc by default.

8 years agono functional changes.
Campbell Barton [Tue, 2 Aug 2011 08:12:50 +0000 (08:12 +0000)]
no functional changes.
style edits, also renamed ndof_to_angle_axis --> ndof_to_axis_angle

8 years agoadd back timer based redraw, not sure why this was removed r38908.
Campbell Barton [Tue, 2 Aug 2011 07:49:34 +0000 (07:49 +0000)]
add back timer based redraw, not sure why this was removed r38908.
Zealous redraws now use commented define.

8 years agoMade wmNDOFMotionData use a vector rather then xyz members, makes it nicer to use...
Campbell Barton [Tue, 2 Aug 2011 07:08:22 +0000 (07:08 +0000)]
Made wmNDOFMotionData use a vector rather then xyz members, makes it nicer to use with math functions.

ndof_to_angle_axis and ndof_to_quat now use math functions.

8 years ago - Blender could be build with scons again.
Jiri Hnidek [Tue, 2 Aug 2011 07:02:40 +0000 (07:02 +0000)]
 - Blender could be build with scons again.

8 years agoreplace WM_OT_ndof_menu with a key->menu assignment.
Campbell Barton [Tue, 2 Aug 2011 06:40:40 +0000 (06:40 +0000)]
replace WM_OT_ndof_menu with a key->menu assignment.

8 years agomore cmake/x11 edits
Campbell Barton [Tue, 2 Aug 2011 06:32:53 +0000 (06:32 +0000)]
more cmake/x11 edits
- added includes for spnav
- added FindSpacenav.cmake which allows using spacenav from a nonstandard path.
- remove NDOF_LIBPATH, use a full library path instead.

8 years agoNDOF related edits
Campbell Barton [Tue, 2 Aug 2011 05:52:27 +0000 (05:52 +0000)]
NDOF related edits
- fix for building without NDOF on X11
- quiet some warnings

8 years agoSVN maintenance.
Guillermo S. Romero [Tue, 2 Aug 2011 05:31:32 +0000 (05:31 +0000)]
SVN maintenance.

8 years ago3D mouse support from merwin-spacenav branch
Mike Erwin [Tue, 2 Aug 2011 04:28:05 +0000 (04:28 +0000)]
3D mouse support from merwin-spacenav branch

8 years agodon't include fcurve modifiers when getting an actions frame range.
Campbell Barton [Tue, 2 Aug 2011 02:28:37 +0000 (02:28 +0000)]
don't include fcurve modifiers when getting an actions frame range.
could too easily give a range of 600,000 which would make exporters hang.

8 years agosvn merge -r38814:38905 https://svn.blender.org/svnroot/bf-blender/trunk/blender . merwin-spacenav
Mike Erwin [Tue, 2 Aug 2011 01:01:56 +0000 (01:01 +0000)]
svn merge -r38814:38905 https://svn.blender.org/svnroot/bf-blender/trunk/blender .

8 years agoCamera tracking integration
Sergey Sharybin [Mon, 1 Aug 2011 15:28:19 +0000 (15:28 +0000)]
Camera tracking integration
===========================

- Do not show frame boundary border when stabilization isn't enabled.
- Separate stabilization settings from display in clip editor.
  Now clip can contain stabilization data but still be displayed
  un-stabilized in clip editor.
- Internal changes in stabilization:
  * Use separated location/scale parameters rather than 4x4 matrix.
    In some ares "decomposed" data is needed (text draw functions, i.e.).
    Also such decomposed data could be used in compositor.
  * MovieClip now uses own structure for cache where additional data
    can be stored. MovieCache structure now one of properties in
    this new structure.
  * Get rid of stable image buffer stored in MovieClipStabilization
    structure. Pre-created buffer for scaling still stored there.
    This helps to keep playback realtime -- re-creating this buffer
    introduces ~15% slowdown.
- Added sliders to 2D stabilization panel which controls intensity
  of translation/scale which applies on shot.
- Added filter type to Stabilize2D compositor node. Supports nearest,
  bilinear and bicubic interpolation.
- After discussion with Sebastian and Francois added new node called
  Transformation. It can apply translation, rotation and scale. It's
  not the same thing as applying this components separately -- all
  transformation is happening inside "canvas". And it should be more
  accurate on interpolation and sub-pixel translation.
  Need to check order of applying translation/scale/rotation btw.
- Added output sockets to movie clip compositor node. They holds
  stabilization data which can be used by Translate or Transform
  nodes.
- Minor fix of UI issues in Display panel.

8 years agoMerging r38832 through r38897 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 1 Aug 2011 15:24:15 +0000 (15:24 +0000)]
Merging r38832 through r38897 from trunk into soc-2011-tomato

8 years agofix [#28061] Texture (paint) bleeding on edges
Campbell Barton [Mon, 1 Aug 2011 08:53:57 +0000 (08:53 +0000)]
fix [#28061] Texture (paint) bleeding on edges
respect clamp u/v image options.

8 years agoCamera tracking integration
Sergey Sharybin [Mon, 1 Aug 2011 08:29:17 +0000 (08:29 +0000)]
Camera tracking integration
===========================

- If "Zoom To Mouse" is enabled in user preferences then
  zooming would happen to mouse position in clip editor.
- Fixed 1px padding from shot boundary rectangle.
- Allow for some operators grab cursor.
- Enlarge marker anchor sliding area and make it prioritized
  on pattern/search slide zones,

8 years agofix for template
Campbell Barton [Mon, 1 Aug 2011 06:55:05 +0000 (06:55 +0000)]
fix for template

8 years agofix [#28112] Vertex paint crash
Campbell Barton [Mon, 1 Aug 2011 06:50:24 +0000 (06:50 +0000)]
fix [#28112] Vertex paint crash

8 years agoadd sse flags for cmake/msvc
Campbell Barton [Mon, 1 Aug 2011 06:11:41 +0000 (06:11 +0000)]
add sse flags for cmake/msvc

8 years agofix, uvproject modifier wasn't copying the uv layer name,
Campbell Barton [Mon, 1 Aug 2011 05:25:30 +0000 (05:25 +0000)]
fix, uvproject modifier wasn't copying the uv layer name,
also edit var names from recent commit to better fit with other functions.

8 years agoreplace dutch variable name 'aantal' with 'tot'
Campbell Barton [Mon, 1 Aug 2011 02:58:44 +0000 (02:58 +0000)]
replace dutch variable name 'aantal' with 'tot'

8 years agofix for failure to create curve knots when both endpoint and bezier U were enabled.
Campbell Barton [Mon, 1 Aug 2011 02:52:08 +0000 (02:52 +0000)]
fix for failure to create curve knots when both endpoint and bezier U were enabled.
use default when invalid settings given.

removed odd/annoying bit shifting of the flagu/v for such basic function made code hard to understand and would fail if new flags were added.

8 years agosupport for older SpacePilot (sans Pro), minor tidying
Mike Erwin [Sun, 31 Jul 2011 22:59:36 +0000 (22:59 +0000)]
support for older SpacePilot (sans Pro), minor tidying

8 years agoBug fix: loading a file that had particles using a dupligroup from a liblinked file...
Janne Karhu [Sun, 31 Jul 2011 16:26:02 +0000 (16:26 +0000)]
Bug fix: loading a file that had particles using a dupligroup from a liblinked file without the library file being present crashed

8 years agofix for error in recent commit.
Campbell Barton [Sun, 31 Jul 2011 12:46:34 +0000 (12:46 +0000)]
fix for error in recent commit.

8 years agofix for material slot removal (r38879)
Campbell Barton [Sun, 31 Jul 2011 12:43:41 +0000 (12:43 +0000)]
fix for material slot removal (r38879)
- The object ID was being passed to the data_delete_material_index_id() from object_remove_material_slot(), rather then the object data. (so the material slot fix wouldnt run in that case).
- add support for fixing text object materials too.

8 years agoreverting part of #38876 (whitespace edits)
Dalai Felinto [Sun, 31 Jul 2011 11:21:48 +0000 (11:21 +0000)]
reverting part of #38876 (whitespace edits)
the new if/else nesting introduced in the previous commit makes no sense.
(since I was here I add a comment for extrainfo and did some small cleanup)

8 years agobugfix [#28111] material.pop breaks mt->mat_nr
Dalai Felinto [Sun, 31 Jul 2011 11:12:38 +0000 (11:12 +0000)]
bugfix [#28111] material.pop breaks mt->mat_nr

create a new parameter for materials.pop() to not remove material slot.
this way the mat_nr is still the old one.

for the default behaviour we now have material remapping (i.e. data_delete_material_index_id(id, index)).
This new function is brought from the material_slot remove function.

8 years agowhen converting curves from poly -> nurbs, dont enable Bezier-U flag.
Campbell Barton [Sun, 31 Jul 2011 07:58:50 +0000 (07:58 +0000)]
when converting curves from poly -> nurbs, dont enable Bezier-U flag.

Not sure why this was enabled, possibly from copy/paste with bezier->nurbs code?

If you have meny poly lines there was no nice way to convert these into a smoothed nurbs curve.
Ran into this when trying to convert generated ivy into smooth nurbs.

8 years agowhitespace edits, had odd space/tab mix
Campbell Barton [Sun, 31 Jul 2011 07:54:24 +0000 (07:54 +0000)]
whitespace edits, had odd space/tab mix

8 years agofix for building without bullet
Campbell Barton [Sun, 31 Jul 2011 07:45:54 +0000 (07:45 +0000)]
fix for building without bullet

8 years agofix for immobile camera (NDOF_SHOULD_ROTATE etc.) -- should revisit later
Mike Erwin [Sun, 31 Jul 2011 06:26:03 +0000 (06:26 +0000)]
fix for immobile camera (NDOF_SHOULD_ROTATE etc.) -- should revisit later

8 years agoSVN maintenance.
Guillermo S. Romero [Sun, 31 Jul 2011 06:03:14 +0000 (06:03 +0000)]
SVN maintenance.

8 years agopy api: sphinx doc corrections, pep8 cleanup and style edits, also added __all__...
Campbell Barton [Sun, 31 Jul 2011 03:15:37 +0000 (03:15 +0000)]
py api: sphinx doc corrections, pep8 cleanup and style edits, also added __all__ to some modules which were missing it.

8 years agoimproved ndof fly: precision mode, camera position, camera animation
Mike Erwin [Sun, 31 Jul 2011 03:06:00 +0000 (03:06 +0000)]
improved ndof fly: precision mode, camera position, camera animation

8 years ago== PBVH ==
Nicholas Bishop [Sun, 31 Jul 2011 02:34:53 +0000 (02:34 +0000)]
== PBVH ==

OK, after that failure of committing a bunch of old junk, hopefully
this is what I actually meant to commit :)

* Added big comments to some of the fields in struct PBVHNode. I
  always forget the details of these, so finally wrote it down
  properly.

* Changed types of PBVHNode.face_vert_indices and PBVHNode.flag to
  better reflect their contents.

* There should be no functional changes here.

8 years agoEditMesh-based skin node drawing
Nicholas Bishop [Sun, 31 Jul 2011 02:03:48 +0000 (02:03 +0000)]
EditMesh-based skin node drawing

8 years agoImported bsphere.c, mostly ifdef'd out for now
Nicholas Bishop [Sun, 31 Jul 2011 02:03:39 +0000 (02:03 +0000)]
Imported bsphere.c, mostly ifdef'd out for now

8 years agoAdded stub for Skin modifier UI
Nicholas Bishop [Sun, 31 Jul 2011 02:03:33 +0000 (02:03 +0000)]
Added stub for Skin modifier UI

8 years agoAdded DNA and RNA for skin modifier, stubbed in skin modifier functions
Nicholas Bishop [Sun, 31 Jul 2011 02:03:28 +0000 (02:03 +0000)]
Added DNA and RNA for skin modifier, stubbed in skin modifier functions

8 years agoAdded SkinNode DNA and customdata.
Nicholas Bishop [Sun, 31 Jul 2011 02:03:21 +0000 (02:03 +0000)]
Added SkinNode DNA and customdata.

8 years agopatch [#27909] Added constants in bge.constraints by Solano Felicio (solano) + some...
Dalai Felinto [Sat, 30 Jul 2011 23:16:22 +0000 (23:16 +0000)]
patch [#27909] Added constants in bge.constraints by Solano Felicio (solano) + some changes in rst
I named all the BGE modules with their actual names (e.g. Rasterizer, Video Texture, ...). so in the API index.html page they look more like the other Blender modules.
I did the same for the bgl module.

For bge.constraints this patch exposes the constants values for debug mode and createConstraints (they were hardcoded innts before).

+ making all the "todo" and #comments into rst comments (.. comments)
Thanks Solano, it's great to get help to those tasks :)

8 years agoHides console on win32 even if python path is 2 or more lines
Alexander Kuznetsov [Sat, 30 Jul 2011 19:09:34 +0000 (19:09 +0000)]
Hides console on win32 even if python path is 2 or more lines

Adding tlhelp32.h header

8 years agoCamera tracking integration
Sergey Sharybin [Sat, 30 Jul 2011 17:14:07 +0000 (17:14 +0000)]
Camera tracking integration
===========================

- Fixed occasional crash caused by conflicting access
  to non-threadsafe moviecache. Added lock on movie clip
  ibuf acquire level.
- A bit nicer feedback from libmv when doing reconstruction.
  Now if all tracks and frames were reconstructed average
  error would be reported in "notification area".
  If there's something failed to be reconstructed warning
  message would appear and failed items would be printed to
  the console.

8 years agoBugfix #28121
Ton Roosendaal [Sat, 30 Jul 2011 15:45:27 +0000 (15:45 +0000)]
Bugfix #28121

Linked Library objects or object->data should not allow to go
to sculptmode. Also cleaned up mode menu with invalid entries then.

8 years agoCamera tracking integration
Sergey Sharybin [Sat, 30 Jul 2011 14:22:15 +0000 (14:22 +0000)]
Camera tracking integration
===========================

- Fixed bug with transforming several markers at the same time.
  (Memory access issue, index was chacging in wrong way).
- Do not check result of BKE_tracking_get_marker -- it should
  always return valid marker.

8 years agobpy fix for crash/assert on running dir() on a non collection property + some other...
Campbell Barton [Sat, 30 Jul 2011 13:18:04 +0000 (13:18 +0000)]
bpy fix for crash/assert on running dir() on a non collection property + some other minor corrections.

8 years agoBugfix #28109
Ton Roosendaal [Sat, 30 Jul 2011 10:14:50 +0000 (10:14 +0000)]
Bugfix #28109

Old issue with OSX Cocoa code: shift+scrollwheel should send
a 'horizontal wheel' event to Blender. Blender only recognizes
scroll events in general though. The old code then just didn't
send an event at all, not passing on shift+scrolls.

Now the scroll event is sent anyway, relying on Blender's
keymapping to define what to do with shift+scroll.

This fixes things like shift+scroll to scale ListBox widgets.

8 years agoquiet some compiler warnings & fix possible (but unlikely) crash.
Campbell Barton [Sat, 30 Jul 2011 09:24:10 +0000 (09:24 +0000)]
quiet some compiler warnings & fix possible (but unlikely) crash.
also added GPLv2+ header to resources.c.

8 years agoimproved visual rotation guide
Mike Erwin [Sat, 30 Jul 2011 05:23:10 +0000 (05:23 +0000)]
improved visual rotation guide

8 years agoMerging r38819 through r38831 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 29 Jul 2011 21:14:20 +0000 (21:14 +0000)]
Merging r38819 through r38831 from trunk into soc-2011-tomato

8 years agondof sensitivity operator follows power curve and respects min/max
Mike Erwin [Fri, 29 Jul 2011 21:07:51 +0000 (21:07 +0000)]
ndof sensitivity operator follows power curve and respects min/max

8 years agoWhile looking at the bug report, found some more issues...
Thomas Dinges [Fri, 29 Jul 2011 20:59:46 +0000 (20:59 +0000)]
While looking at the bug report, found some more issues...
This is the result of RNA renaming at it's glance. ;-)

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 29 Jul 2011 20:57:53 +0000 (20:57 +0000)]
Camera tracking integration
===========================

Fixed some more typos.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 29 Jul 2011 20:55:23 +0000 (20:55 +0000)]
Camera tracking integration
===========================

Changed behavior of 2D stabilization:

- Fixed epic spelling error.
- Neither 3d viewport nor MovieClip compositor input node
  are using stable footage now.
- Now one thread lock can be avoided -- stable shot
  isn't acquiring from several threads.
- Added compositor noe Distort->Stabilize 2D which is
  supposed to stabilize "incoming" image using movie clip
  block as reference.

Probably it could be useful to define MAT4 socket type and
use it in MovieClip node as output for stabilization and
as input socket for Stabilization node so relation could be
easily visible on "graph".

8 years agoFix for [#28117] Diffuse reflection IPO curve not imported correctly from 2.49b files
Thomas Dinges [Fri, 29 Jul 2011 20:46:30 +0000 (20:46 +0000)]
Fix for [#28117] Diffuse reflection IPO curve not imported correctly from 2.49b files

8 years agoPatch [#27925] by Andrew Cox and me
Alexander Kuznetsov [Fri, 29 Jul 2011 20:21:37 +0000 (20:21 +0000)]
Patch [#27925] by Andrew Cox and me

Modifier key sticks after Alt-tab on Win32

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 29 Jul 2011 15:47:09 +0000 (15:47 +0000)]
Camera tracking integration
===========================

Fixed segfault when turning stabilization on when there's
no compositing tree.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 29 Jul 2011 15:25:00 +0000 (15:25 +0000)]
Camera tracking integration
===========================

Implemented 2D stabilization:

- Based on average point of several tracks.
- Tracks for stabilization are controllable from
  "2D stabilization" panel.
- Implemented autoscaling. Could fail if average point is
  too close to frame boundary.
- Background clip in 3D viewport and MovieClip input
  compositor nodes are using stable shot.

Some internal weak things:
- Stable shots aren't cached in moviecache. There is
  only one "slot" for stable shot inside stabilization
  structure.
- This could fail if several threads are requested different
  frames (for example when starting playback, pause to make
  Nodes Editor trigger refresh, continue playback).
- Due to it shouldn't crash i decided to implement better
  caching for stable shots a bit later.

8 years agoMerging r38780 through r38818 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 29 Jul 2011 15:18:14 +0000 (15:18 +0000)]
Merging r38780 through r38818 from trunk into soc-2011-tomato

8 years agosvn merge -r38753:38813 https://svn.blender.org/svnroot/bf-blender/trunk/blender .
Nathan Letwory [Fri, 29 Jul 2011 07:58:03 +0000 (07:58 +0000)]
svn merge -r38753:38813 https://svn.blender.org/svnroot/bf-blender/trunk/blender .

8 years agoWhen relinking node group outputs from sockets of different type, automatically chang...
Lukas Toenne [Fri, 29 Jul 2011 07:14:03 +0000 (07:14 +0000)]
When relinking node group outputs from sockets of different type, automatically change the output to the source type. Feature request by Daniel Salazar.

8 years agopep8 cleanup, also print message when attempting to run in animation player mode.
Campbell Barton [Fri, 29 Jul 2011 01:24:03 +0000 (01:24 +0000)]
pep8 cleanup, also print message when attempting to run in animation player mode.

8 years ago* Code cleanup
Thomas Dinges [Thu, 28 Jul 2011 18:19:15 +0000 (18:19 +0000)]
* Code cleanup
A row with alignment for 1 property = useless: ;-)

8 years agoFix #27719: custom RNA properties fail to update drivers. Hopefully this is
Brecht Van Lommel [Thu, 28 Jul 2011 15:51:59 +0000 (15:51 +0000)]
Fix #27719: custom RNA properties fail to update drivers. Hopefully this is
not too slow, but now we do a dependency graph tag also for these in addition
to regular ID properties, not sure how to get around it.

8 years agoFix part of #27944: color managment discrepancy in GLSL materials with nodes.
Brecht Van Lommel [Thu, 28 Jul 2011 14:28:27 +0000 (14:28 +0000)]
Fix part of #27944: color managment discrepancy in GLSL materials with nodes.

8 years agospeed button mapping to ndof sensitivity change operator.
Nathan Letwory [Thu, 28 Jul 2011 13:44:36 +0000 (13:44 +0000)]
speed button mapping to ndof sensitivity change operator.

8 years agofix [#28096] Custom gradient for weightpainting in mask mode not working properly.
Campbell Barton [Thu, 28 Jul 2011 12:17:24 +0000 (12:17 +0000)]
fix [#28096] Custom gradient for weightpainting in mask mode not working properly.

8 years agoNew option for multires modifier: Subdivide UVs
Sergey Sharybin [Thu, 28 Jul 2011 11:16:10 +0000 (11:16 +0000)]
New option for multires modifier: Subdivide UVs

Enabled by default and also enabled for older filesm so
there should be no regressions.

In some cases it's useful to not use subdivided uvs for multires.

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 28 Jul 2011 11:05:28 +0000 (11:05 +0000)]
Camera tracking integration
===========================

- Small code cleanup.
- Added missed notifier for animation play start.
- Fixed bundle colorcode detection (it didn't use track
  offset to determine distance between original track
  position and bundle projection).
- Changed behavior of alt-g grabbing. Now it defines offset.

8 years agoMerging r38733 through r38779 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 28 Jul 2011 11:01:38 +0000 (11:01 +0000)]
Merging r38733 through r38779 from trunk into soc-2011-tomato

8 years agofix [#28095] Select Pattern don't select all the bone in edit mode
Campbell Barton [Thu, 28 Jul 2011 07:55:09 +0000 (07:55 +0000)]
fix [#28095] Select Pattern don't select all the bone in edit mode
& some style changes.

8 years agofix error in writing dupligroups for X3D export, may have effected other exporters...
Campbell Barton [Thu, 28 Jul 2011 07:10:39 +0000 (07:10 +0000)]
fix error in writing dupligroups for X3D export, may have effected other exporters too.

8 years agoreport an error when user blender versions other then 2.4x for animation playback.
Campbell Barton [Thu, 28 Jul 2011 05:09:31 +0000 (05:09 +0000)]
report an error when user blender versions other then 2.4x for animation playback.

8 years agosequencer add strips now check for overlap by default (option can be disabled for...
Campbell Barton [Thu, 28 Jul 2011 03:44:17 +0000 (03:44 +0000)]
sequencer add strips now check for overlap by default (option can be disabled for python when this can become problematic for automation).

8 years agoautomatically update the redirect from http://www.blender.org/documentation/250Python...
Campbell Barton [Thu, 28 Jul 2011 03:08:35 +0000 (03:08 +0000)]
automatically update the redirect from blender.org/documentation/250PythonDoc/ when uploading docs

8 years agoonly initialize snap from the scene settings for view3d and image spaces since snap...
Campbell Barton [Thu, 28 Jul 2011 02:15:58 +0000 (02:15 +0000)]
only initialize snap from the scene settings for view3d and image spaces since snap in the 3D view was enabling snap in the graph editor and sequencer without a button to disable it in those spaces.

8 years agoDon't write library_materials tag when there are no materials.
Nathan Letwory [Thu, 28 Jul 2011 00:08:03 +0000 (00:08 +0000)]
Don't write library_materials tag when there are no materials.

8 years agorefix for #27912: crash after mesh.materials.pop() (fixed wrongly on rev. 38299 ...
Dalai Felinto [Wed, 27 Jul 2011 20:36:11 +0000 (20:36 +0000)]
refix for #27912: crash after mesh.materials.pop() (fixed wrongly on rev. 38299 - patch by Benoit Boilsee

bug spotted while reviewing a patch.
things are working now

8 years agofix [#28098] Continuous Grab does not work for movement of the "Backdrop" in the...
Campbell Barton [Wed, 27 Jul 2011 17:49:35 +0000 (17:49 +0000)]
fix [#28098] Continuous Grab does not work for movement of the "Backdrop" in the Node Editor

8 years agominor warning fixes for clang-static-checker
Campbell Barton [Wed, 27 Jul 2011 13:03:56 +0000 (13:03 +0000)]
minor warning fixes for clang-static-checker

8 years agoCamera tracking integration
Sergey Sharybin [Wed, 27 Jul 2011 12:53:39 +0000 (12:53 +0000)]
Camera tracking integration
===========================

Attempt to switch moviecache to use CacheLimiter.

Some changes in limiter were necessary:
- Limiter counted mapped memory twice when was chacking
  how many memory is used.
- It was using "global" memory usage not memory usage by
  cached elements. It will cause big problems when there's
  large mesh or plenty of undo steps are in memory nothing
  would be cached in sequencer.
- To solve this problem introduced "callback" to measure
  cached element size. It could be not very accurate in general,
  but it works well for image buffers. And if this callback
  isn't set old-school memory usage check would be used.
- The whole cache used to get freed when memory limit exceeded,
  now it'll drop only as much elements as necessary to reduce
  memory usage.

Sequence cache wasn't switched to use moviecache but
now it's really easy to do. When i'll be sure new caching
scheme works fine.

Now clip editor uses as much memory for cache as it's set in
User Preferences (Preferences -> System -> Sequencer -> Memory
Cache Limit) which si 128Mb by default. Please do not complain
about few cached frames out-of-box and just increase limit
there. Caching fixed amount of frames wasn't so nice indeed.

8 years agoCamera tracking integration
Sergey Sharybin [Wed, 27 Jul 2011 09:48:19 +0000 (09:48 +0000)]
Camera tracking integration
===========================

- glog should no flood into logs files now.
- Request from Francois - changes in sliding:
  * Anchor point is for sliding the whole marker.
  * Square on pattern moves pattern and search relative
    to anchor point.
  * Square on search moves search only.
- Bundles in 3d viewport are colored by track custom color.

8 years agosvn merge -r38558:38752 https://svn.blender.org/svnroot/bf-blender/trunk/blender .
Nathan Letwory [Wed, 27 Jul 2011 07:42:53 +0000 (07:42 +0000)]
svn merge -r38558:38752 https://svn.blender.org/svnroot/bf-blender/trunk/blender .

8 years agofix [#28066] Unchecking 'self project' messes up 'Snap to Vertex'
Campbell Barton [Wed, 27 Jul 2011 07:22:31 +0000 (07:22 +0000)]
fix [#28066] Unchecking 'self project' messes up 'Snap to Vertex'
this option is useful for all non-grid snapping modes (when in editmode) so make available in those cases too.