blender-staging.git
9 years agoMerging r38433 through r38453 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 17 Jul 2011 17:25:11 +0000 (17:25 +0000)]
Merging r38433 through r38453 from trunk into soc-2011-tomato

9 years agoRemoved the autoconnect call when adding new nodes, this hardly ever gives usable...
Lukas Toenne [Sun, 17 Jul 2011 16:14:52 +0000 (16:14 +0000)]
Removed the autoconnect call when adding new nodes, this hardly ever gives usable results and leads to annoyed artists.

9 years agotemplate for patch exporting objects in a scene.
Campbell Barton [Sun, 17 Jul 2011 13:29:50 +0000 (13:29 +0000)]
template for patch exporting objects in a scene.

9 years agoupdate to cmake checker script to also check if our include paths are ok
Campbell Barton [Sun, 17 Jul 2011 12:42:03 +0000 (12:42 +0000)]
update to cmake checker script to also check if our include paths are ok

9 years agopatch [#28001] Find the nearest point on an object to the given location
Campbell Barton [Sun, 17 Jul 2011 12:40:18 +0000 (12:40 +0000)]
patch [#28001] Find the nearest point on an object to the given location
from Andrew Hale (trumanblending)

9 years ago'bgl' python module.
Campbell Barton [Sun, 17 Jul 2011 12:30:23 +0000 (12:30 +0000)]
'bgl' python module.

- add back slicing for buffers, (was previously in 2.4x but not working in py3):
  buf = bgl.Buffer(...)
  ls = buf[:]

- fix for crash with negative index access not being clamped.

- improve repr() function for multi dimensional buffers.

- add back 'list' attribute, but print deprecation warning.

9 years agoFixed compile error on Fedora 15, when FFMPEG was enabled.
Jiri Hnidek [Sun, 17 Jul 2011 10:28:31 +0000 (10:28 +0000)]
Fixed compile error on Fedora 15, when FFMPEG was enabled.

9 years agocmake: cleanup include paths, some duplicates and going up some unneeded dirs.
Campbell Barton [Sun, 17 Jul 2011 09:11:13 +0000 (09:11 +0000)]
cmake: cleanup include paths, some duplicates and going up some unneeded dirs.

9 years agoAdded notifier listener for node editor.
Sergey Sharybin [Sun, 17 Jul 2011 08:38:04 +0000 (08:38 +0000)]
Added notifier listener for node editor.

Now it behaves right on playback:

- Starting playback "Anim Player" button appears on header.
  It used to appear only on mouse hover before.
- Stopping playback triggers refresh on compositor, so
  actual result would be visible if image sequence/movie
  is used in nodes.

9 years agocmake source definitions:
Campbell Barton [Sat, 16 Jul 2011 23:01:14 +0000 (23:01 +0000)]
cmake source definitions:
  remove missing includes and use more strict formatting.

9 years agoFixed crash of multires baker when baking from sculpt mode.
Sergey Sharybin [Sat, 16 Jul 2011 17:55:46 +0000 (17:55 +0000)]
Fixed crash of multires baker when baking from sculpt mode.

Incorrect low level was used for this case -- it should be
sculpt level, not preview level.

Thanks to Morten Mikkelsen to point on this bug :)

9 years agoCamera tracking integration
Sergey Sharybin [Sat, 16 Jul 2011 10:30:51 +0000 (10:30 +0000)]
Camera tracking integration
===========================

- Silent compilator's warning about possible uninitialized
  variable usage in set floor operator.
- Check tracks cound on both of keyframes before reconstruction.
- Refresh 3d viewport when deleting track with bundle.

9 years agoMerging r38419 through r38432 from trunk into soc-2011-tomato
Sergey Sharybin [Sat, 16 Jul 2011 10:01:00 +0000 (10:01 +0000)]
Merging r38419 through r38432 from trunk into soc-2011-tomato

9 years agoprint an error message if Python.h can't be found for cmake and scons since its such...
Campbell Barton [Sat, 16 Jul 2011 06:55:45 +0000 (06:55 +0000)]
print an error message if Python.h can't be found for cmake and scons since its such a common problem.

9 years agofix for crash with edit armature buttons when no bones were selected (uninitialized...
Campbell Barton [Fri, 15 Jul 2011 23:55:20 +0000 (23:55 +0000)]
fix for crash with edit armature buttons when no bones were selected (uninitialized pointer)

9 years agoCamera tracking integration
Sergey Sharybin [Fri, 15 Jul 2011 20:44:19 +0000 (20:44 +0000)]
Camera tracking integration
===========================

- Bundle re-newed libmv library.
- Update API in libmv-capi to match new library.
- Initial implementaition of feature detection.
- Fixed bug with incorrect user sync when tracking
  for first frame.

9 years agoMerging r38390 through r38418 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 15 Jul 2011 20:22:01 +0000 (20:22 +0000)]
Merging r38390 through r38418 from trunk into soc-2011-tomato

9 years agoCamera tracking integration
Sergey Sharybin [Fri, 15 Jul 2011 16:50:12 +0000 (16:50 +0000)]
Camera tracking integration
===========================

Fix for camera solver on windows.

There were two problems:
- Static align in Eigen should be also disabled for libmv.
- SSBA doesn't work correct for windows when optimization is
  turned on.

There's no other way rather than disable optimization for
the whole extern/libmv. This leads to 3-4x slowdown, but it's
really the only thing we could do now.

Keir is going to drop SSBA out and replace it with Bundler,
so it shouldn't be a major problem.

9 years agoFix for [#26712] Particle group instance 'Use Count' value gets reset on file-load.
Janne Karhu [Fri, 15 Jul 2011 13:32:02 +0000 (13:32 +0000)]
Fix for [#26712] Particle group instance 'Use Count' value gets reset on file-load.
* New object pointers can't be loaded properly for library linked groups, so the weight groups now store an index to the group objects at save time. This index is used at load time to set the objects without relying on the old pointers.
* If the library linked group is modified the indices can be wrong, but this can't really be avoided easily as there's no way to relate objects in a linked group between loads.

9 years agofix for linking on mingw/scons with recent changes to mathutils
Campbell Barton [Fri, 15 Jul 2011 10:10:25 +0000 (10:10 +0000)]
fix for linking on mingw/scons with recent changes to mathutils

9 years agomove mathutils into its own lib.
Campbell Barton [Fri, 15 Jul 2011 04:01:47 +0000 (04:01 +0000)]
move mathutils into its own lib.

9 years agoFix for [#27307] Blender crashes when loading a new scene while baking fluid dynamics
Janne Karhu [Fri, 15 Jul 2011 00:39:49 +0000 (00:39 +0000)]
Fix for [#27307] Blender crashes when loading a new scene while baking fluid dynamics
* Fluid bakes didn't respect the job stop flag.
* Also made msvc happy with some casts.

9 years agoCamera trackign integration
Sergey Sharybin [Thu, 14 Jul 2011 15:52:00 +0000 (15:52 +0000)]
Camera trackign integration
===========================

- Fixed compilation error with OpenCOLLADA
- Added sample preset for tracking camera.
- Fixed bug with wrong order of preset properties loading/saving.

9 years agoCamera tracking integration
Sergey Sharybin [Thu, 14 Jul 2011 15:21:59 +0000 (15:21 +0000)]
Camera tracking integration
===========================

"Clear Path" now clears track for all selected markers.

9 years agoCamera tracking integration
Sergey Sharybin [Thu, 14 Jul 2011 15:21:55 +0000 (15:21 +0000)]
Camera tracking integration
===========================

Changes to tracking camers settings, so they could
be copied to Blender camera on reconstruction.

Sensor height doesn't make any sense yet for tracking camera.

9 years agoCamera tracking integration
Sergey Sharybin [Thu, 14 Jul 2011 15:21:45 +0000 (15:21 +0000)]
Camera tracking integration
===========================

Commiting patch #24427: Editable camera sensor size (meaningful focal length units)

Thanks to:
  Matt Ebb (author of original patch)
  Ejner Fergo (porting patch through versions)
  Brecht Van Lommel, Dalai Felinto, Campbell Barton (patch review)

Cant't commit changes to addons (they aren't branched, so some of them
could be broken now)

9 years agoCamera tracking integration
Sergey Sharybin [Thu, 14 Jul 2011 15:21:23 +0000 (15:21 +0000)]
Camera tracking integration
===========================

Small fix for previous commit: display active preset name in preset menu

9 years agoCamera tracking integration
Sergey Sharybin [Thu, 14 Jul 2011 14:35:04 +0000 (14:35 +0000)]
Camera tracking integration
===========================

- Tracking camera presets.
- Reset principal to image center operator.

Things to think about:
- Unified presets for tracking camera and blender camera.
- If prinipal should be a part of preset.

9 years agoCamera tracking integration
Sergey Sharybin [Thu, 14 Jul 2011 13:36:15 +0000 (13:36 +0000)]
Camera tracking integration
===========================

Enable markers on transform

9 years agoCamera tracking integration
Sergey Sharybin [Thu, 14 Jul 2011 12:52:50 +0000 (12:52 +0000)]
Camera tracking integration
===========================

Initial implementation of Scale operator.

There's no access from operator panel to operators defined for
Clip Editor space, so distance can't be controlled as operator
property.
Added new property to MovieTrackingSettings for this.

9 years agoCamera tracking integration
Sergey Sharybin [Thu, 14 Jul 2011 12:05:40 +0000 (12:05 +0000)]
Camera tracking integration
===========================

Small fixes and features:
- Fixed broken toolshelf for empty space clip.
- Added option to hide disabled tracks.
- Do not send disabled markers to tracking job.
- Fixed bug with disabling marker when tracking backwards.
- Fixed bug with unset principal point by default.
- Hide bundle projection for disabled markers.
- Flip orientation when hitting "Set Axis" when bundle is
  already defines axis.

9 years agoMerging r38364 through r38389 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 14 Jul 2011 12:04:21 +0000 (12:04 +0000)]
Merging r38364 through r38389 from trunk into soc-2011-tomato

9 years agomany mathutils exception types were wrong, went over all exceptions in mathutils...
Campbell Barton [Thu, 14 Jul 2011 09:54:03 +0000 (09:54 +0000)]
many mathutils exception types were wrong, went over all exceptions in mathutils and double checked the're correct.

9 years agoShuffle code so it compiles with MSVC too. (Array of unknown size otherwise).
Nathan Letwory [Thu, 14 Jul 2011 08:20:19 +0000 (08:20 +0000)]
Shuffle code so it compiles with MSVC too. (Array of unknown size otherwise).

9 years agoformatting changes for python mathutils module.
Campbell Barton [Thu, 14 Jul 2011 01:25:05 +0000 (01:25 +0000)]
formatting changes for python mathutils module.

9 years agorename bgl.Buffer attribute list to a method, to_list() as used for IDProps, also...
Campbell Barton [Wed, 13 Jul 2011 23:45:47 +0000 (23:45 +0000)]
rename bgl.Buffer attribute list to a method, to_list() as used for IDProps, also made repr function nicer.

9 years agominor changes to bgl.Buffer py class
Campbell Barton [Wed, 13 Jul 2011 23:24:21 +0000 (23:24 +0000)]
minor changes to bgl.Buffer py class
- use getset rather then getattr
- remove verbose Buffer docstring, better use sphinx docs for this
- replace bge.Buffer with the Buffer class and add a __new__ function to the class so it can be called.
- improve error messages

9 years agodont include the preview.blend in headless mode
Campbell Barton [Wed, 13 Jul 2011 19:27:42 +0000 (19:27 +0000)]
dont include the preview.blend in headless mode

9 years agouse linked duplicates in preview.blend to save some space.
Campbell Barton [Wed, 13 Jul 2011 19:20:50 +0000 (19:20 +0000)]
use linked duplicates in preview.blend to save some space.

9 years agoreuse USER_SAVE_PREVIEWS to not save thumbnails into blend file header
Campbell Barton [Wed, 13 Jul 2011 19:16:25 +0000 (19:16 +0000)]
reuse USER_SAVE_PREVIEWS to not save thumbnails into blend file header

9 years agocmake option to build without smoke sim: WITH_MOD_SMOKE
Campbell Barton [Wed, 13 Jul 2011 18:40:21 +0000 (18:40 +0000)]
cmake option to build without smoke sim: WITH_MOD_SMOKE

9 years agoFix python error in image sampling panel drawing when
Brecht Van Lommel [Wed, 13 Jul 2011 18:07:30 +0000 (18:07 +0000)]
Fix python error in image sampling panel drawing when
there is no texture slot available.

9 years agoFix #26704: activating a texture node inside material nodes did not show that
Brecht Van Lommel [Wed, 13 Jul 2011 17:52:23 +0000 (17:52 +0000)]
Fix #26704: activating a texture node inside material nodes did not show that
texture in the texture properties.

9 years agofix for animation playback and build error when compiling without WITH_AUDASPACE
Campbell Barton [Wed, 13 Jul 2011 17:24:33 +0000 (17:24 +0000)]
fix for animation playback and build error when compiling without WITH_AUDASPACE

9 years agoAdding Child Of constraint "inverse parent matrix" to rna, so it
Ton Roosendaal [Wed, 13 Jul 2011 17:20:20 +0000 (17:20 +0000)]
Adding Child Of constraint "inverse parent matrix" to rna, so it
can be set via Python.

9 years agoMerging r38343 through r38363 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 13 Jul 2011 16:53:54 +0000 (16:53 +0000)]
Merging r38343 through r38363 from trunk into soc-2011-tomato

9 years agoCamera tracking integration
Sergey Sharybin [Wed, 13 Jul 2011 16:06:53 +0000 (16:06 +0000)]
Camera tracking integration
===========================

- Report an error if more than needed tracks are selected
  for orientation operators.
- Added possibility to align bundle along X or Y axis.

9 years agoCamera tracking integration
Sergey Sharybin [Wed, 13 Jul 2011 15:09:45 +0000 (15:09 +0000)]
Camera tracking integration
===========================

Basic implementation of scene orientation tools.
Most probably they'll eb re-exposed in UI soon.

- Implemented "Set Floor" operator.
  It takes three
  selected tracks which has got bundles and makes them
  parallel to scene floor. One of selected bundles (active
  bundle if presents) becomes scene origin, the other
  becomes X-axis. Guessing of this bundles could fail.
  Camera tries to be on positive Z half-space.
- Implemented "Set X-axis" operator.
  This operator takes selected track with bundle and
  aligns it along X-axis. This means rotation to make
  Y-coord of this bundle 0 is applied.
- If camera has got a parent, then transformation would
  be applient ot this parent, not to camera.
  Useful for configuration when Empty is used to orient
  camera and some related stuff in 3D space.

9 years agoFix #27951: armature edit mode transform panel shows "nothing selected" even
Brecht Van Lommel [Wed, 13 Jul 2011 11:52:37 +0000 (11:52 +0000)]
Fix #27951: armature edit mode transform panel shows "nothing selected" even
when something is selected.

9 years agoCamera tracking integration
Sergey Sharybin [Wed, 13 Jul 2011 10:30:42 +0000 (10:30 +0000)]
Camera tracking integration
===========================

Previous solution to make bundles work for parented camera
wasn't very nice. It could totally confuse depsgraph and it's
quite slow.

Now i've implemented function where_is_object_mat which makes
almost the same as where_is_object_time, but it:
- Does not applies constraints.
- Assumes matrices for all dependencies are valie already
  (handles by depsgraph).
- Doesn't make any changes to object itself or it's
  dependencies.

9 years agoCamera tracking integration
Sergey Sharybin [Wed, 13 Jul 2011 08:26:33 +0000 (08:26 +0000)]
Camera tracking integration
===========================

Attempt to fix bundles position for case scene camera has got
other constraints than CameraSolver (mostly to support camera
parenting to other object for scene orientation).

Use a bit silly logic to calculate camera matrix to orient
bundles in 3d space: temporary disable all CameraSolver
constraints for camera, re-calculate object matrix, use it
to orient bundles and clear temporary flag.

This allows to parent both of camera and mesh created from
bundles to the same Empty object and both of bundles and
mesh vertices would have the same coords in camera space.

Also removed copying of location/rotation from camera to
bundles object in "Bundles to Mesh" operator.

9 years agoAdvanced CMake option to build the player without blender: WITH_BLENDER
Campbell Barton [Wed, 13 Jul 2011 08:15:06 +0000 (08:15 +0000)]
Advanced CMake option to build the player without blender: WITH_BLENDER

9 years agopatch [#27950] Patch to add the ability to generate random points on mesh faces
Campbell Barton [Wed, 13 Jul 2011 07:50:21 +0000 (07:50 +0000)]
patch [#27950] Patch to add the ability to generate random points on mesh faces
from Andrew Hale (trumanblending)

9 years ago- don't build ghost's event printer unless ghost debug is enabled.
Campbell Barton [Wed, 13 Jul 2011 06:04:54 +0000 (06:04 +0000)]
- don't build ghost's event printer unless ghost debug is enabled.
- use char rather then STR_String for the event printer.
- added option to build WITH_GHOST_DEBUG for cmake
- renamed WITH_SDL_GHOST --> WITH_GHOST_SDL

9 years agomake X11's getModifierKeys more compact and don't run XKeysymToKeycode 8 times for...
Campbell Barton [Wed, 13 Jul 2011 05:22:21 +0000 (05:22 +0000)]
make X11's getModifierKeys more compact and don't run XKeysymToKeycode 8 times for call.

9 years agoSVN maintenance.
Guillermo S. Romero [Wed, 13 Jul 2011 00:49:22 +0000 (00:49 +0000)]
SVN maintenance.

9 years agochanges to ghost/sdl
Campbell Barton [Wed, 13 Jul 2011 00:31:08 +0000 (00:31 +0000)]
changes to ghost/sdl
- mouse coords made absolute
- window position set
- building with SDL 1.2 gives an error.

9 years agoBokeh blur in the blur node is wronlgy calculated.
Jeroen Bakker [Tue, 12 Jul 2011 19:21:38 +0000 (19:21 +0000)]
Bokeh blur in the blur node is wronlgy calculated.

when using the node on a single white pixel on black background, the output should look like as the bokeh image.
being a round image, but it looked like a donut.

the make_gausstab used dist/rad and bokeh used (dist/rad)*2 - 1
I changed it to reflect the correct bokeh circular image

9 years agoAdd delete with reconnect feature.
Jeroen Bakker [Tue, 12 Jul 2011 18:59:54 +0000 (18:59 +0000)]
Add delete with reconnect feature.

this will reconnect nodes as if the deleted node is muted.
Operation is added to the space_node node menu and to the keymap as CTRL-X

to test this just add some nodes to the space_node
select one or multiple nodes and press CTRL-X

It should reconnect the nodes as they were muted

limitations:
1. it performs a delete and reconnect per node. It does not evaluate all selected nodes as one whole
2. mute only supports Value, Vector and Color data types, so does this feature
3. not usable for nodes where input and output does not match (like colorToBW)

Where reconnect could not be preformed the links will be removed from the model.

Undo works with this delete with reconnect.

9 years agoMerging r38339 through r38342 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 12 Jul 2011 18:57:30 +0000 (18:57 +0000)]
Merging r38339 through r38342 from trunk into soc-2011-tomato

9 years agoFix for recent GHOST SDL commit.
Sergey Sharybin [Tue, 12 Jul 2011 18:39:46 +0000 (18:39 +0000)]
Fix for recent GHOST SDL commit.
SCons rules haven't been changed to deal with new option.

9 years agoMerging r38316 through r38338 from trunk into into soc-2011-tomato
Sergey Sharybin [Tue, 12 Jul 2011 18:06:16 +0000 (18:06 +0000)]
Merging r38316 through r38338 from trunk into into soc-2011-tomato

9 years agoCamera tracking integration
Sergey Sharybin [Tue, 12 Jul 2011 18:04:29 +0000 (18:04 +0000)]
Camera tracking integration
===========================

- Fixed typo in RNA api for has_bundle.
- Added operator "Bundles To Mesh".
  It was a request from Sebastian and this operator creates mesh
  with vertices using bundles coords for vertices coordinates.
  A bit limited atm -- new object can't be parented to camera,
  so changing camera orientation would requite mesh re-creation.

9 years agoCamera tracking integration
Sergey Sharybin [Tue, 12 Jul 2011 13:35:25 +0000 (13:35 +0000)]
Camera tracking integration
===========================

- Fixed buf with under reference for Follow Track constraint.
- Get rid of BKE_movieclip_approx_size. Rather than accessing
  to cache with previously set frame number it'll be easier to
  store size of last accessed in "runtime" DNA.

9 years agobuild option to use SDL 1.3 for GHOST rather then X11/Win32/Cocoa api's,
Campbell Barton [Tue, 12 Jul 2011 13:17:54 +0000 (13:17 +0000)]
build option to use SDL 1.3 for GHOST rather then X11/Win32/Cocoa api's,
This opens up the option for blender to be more easily ported to other devices, OS's.

TODO
- continuous grab.
- text glitch with multiple windows (was a bug in X11 too for a while, will check on this)

9 years agocorrection to cursor enum and make GHOST_SystemX11's convertXKey into a static function.
Campbell Barton [Tue, 12 Jul 2011 12:53:23 +0000 (12:53 +0000)]
correction to cursor enum and make GHOST_SystemX11's convertXKey into a static function.

9 years agoCamera tracking integration
Sergey Sharybin [Tue, 12 Jul 2011 11:46:46 +0000 (11:46 +0000)]
Camera tracking integration
===========================

- Reduced size of widget for camera focal length units.
  Also changed labels to mm/px. Now it's much easier to read
  values and titles here.
- Reordered settings in "Display" panel. Hopefully it's
  now easier to read options here even when N-panel
  isn't large enough.
- Fixed bug with "disappearing" labels from "Active marker" panel.
- If search areas are hidden and marker is disabled,
  make pattern area red rather than displaying nothing for
  this marker.
- Internal change: "show marker path" became "show track path".
- Lock shape of pattern to square by default. Control unlocks
  this shape.
- Hitting escape when sliding cancels changes and stops sliding.
- Search areas are hidden by default now. No big benefit of
  looking at them now after changing default settings to
  2D tracker and pattern/search size.
- Both of Toolshelf and Properties panels are now visible
  by default.
- Move keyframes from Properties panel to Toolshelf.
  It is a key thing which makes reconstruction correct and
  this options were too hidden and not so convenient to
  use.

9 years agoRNA: fix some text datablock property UI names.
Brecht Van Lommel [Tue, 12 Jul 2011 09:30:40 +0000 (09:30 +0000)]
RNA: fix some text datablock property UI names.

9 years agoCamera tracking integration
Sergey Sharybin [Tue, 12 Jul 2011 08:43:21 +0000 (08:43 +0000)]
Camera tracking integration
===========================

This should been never gone outside of my local working tree.

9 years agoMerging r38296 through r38315 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 11 Jul 2011 18:18:42 +0000 (18:18 +0000)]
Merging r38296 through r38315 from trunk into soc-2011-tomato

9 years agoCamera tracking integration
Sergey Sharybin [Mon, 11 Jul 2011 18:16:02 +0000 (18:16 +0000)]
Camera tracking integration
===========================

Forgot to add colamd to cmake rules for blenderplayer.
Because of starnge reason it should be added to list after libmv.

9 years agoCamera tracking integration
Sergey Sharybin [Mon, 11 Jul 2011 17:13:27 +0000 (17:13 +0000)]
Camera tracking integration
===========================

- Fixed incorrect usage of RNA structure for
  CameraSolverConstraint.
- Fixed some typos in object_constraint which were
  casting CameraSolver data to FollowTrack data.
- Tracking-related constraints now have got option
  "Use Defult Clip" which makes them use clip set as
  active for scene. Enabled by default.
- Set active blender camera focal length after reconstruction.
- Corrected offset of sequence images. Now first image from sequence
  should be at scene frame 1.

9 years agoCamera tracking integration
Sergey Sharybin [Mon, 11 Jul 2011 12:38:44 +0000 (12:38 +0000)]
Camera tracking integration
===========================

- Minor spelling fixes.
- Do not draw bundles for hidden tracks in SpaceClip.
- Pressing SHift when sliding marker with mouse makes movenment more accurate.
- New default values for maerker pattern/search areas.
  This makes tracking more stable.
- Pyramid level increased to 4. This would make tracking
  of blured imaged more accurate.

9 years agoCamera tracking integration
Sergey Sharybin [Mon, 11 Jul 2011 11:17:39 +0000 (11:17 +0000)]
Camera tracking integration
===========================

Forgot to write Focal Length SET function :)

9 years agoFix #27928: avi raw writing failure, after earlier bugfix for big file sizes.
Brecht Van Lommel [Mon, 11 Jul 2011 09:47:13 +0000 (09:47 +0000)]
Fix #27928: avi raw writing failure, after earlier bugfix for big file sizes.

9 years agoFix #27930: many modifiers crashed when used on a lattice with a vertex group.
Brecht Van Lommel [Mon, 11 Jul 2011 09:15:20 +0000 (09:15 +0000)]
Fix #27930: many modifiers crashed when used on a lattice with a vertex group.

9 years agoFix #27912: crash after mesh.materials.pop().
Brecht Van Lommel [Mon, 11 Jul 2011 09:08:08 +0000 (09:08 +0000)]
Fix #27912: crash after mesh.materials.pop().

9 years agoFix #27921: optimal display with 2 subsurf modifiers fails.
Brecht Van Lommel [Mon, 11 Jul 2011 09:05:10 +0000 (09:05 +0000)]
Fix #27921: optimal display with 2 subsurf modifiers fails.

9 years agoCamera tracking integration
Sergey Sharybin [Mon, 11 Jul 2011 09:04:00 +0000 (09:04 +0000)]
Camera tracking integration
===========================

- Changed libmv api to use doubles instead of floats.
  No real benefit rather than keeping API uniform.
- Optimized reconstructed camera search. It's optimized for
  playback, not random access.
- Added option to show projection of bundles into footage.
  To see bundles "Show Bundles" from Display panel should
  be enabled. Used very rough limit of 3 px to consider projection
  is fine. Colors are still hard-coded. Not sure it could be useful
  to make them configurable.
- Added option to mute footage. It could be useful to check
  if markers/bundles are moving smoothly.
- Added selector for focal length units.

9 years agoMerging r38265 through r38295 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 11 Jul 2011 08:43:34 +0000 (08:43 +0000)]
Merging r38265 through r38295 from trunk into soc-2011-tomato

9 years agomake python3.3 compatible, __class__ is no longer in the class methods namespace.
Campbell Barton [Mon, 11 Jul 2011 05:50:49 +0000 (05:50 +0000)]
make python3.3 compatible, __class__ is no longer in the class methods namespace.

9 years agoFix for [#27398] Particle systems with animated groups render incorrectly in viewport
Janne Karhu [Sun, 10 Jul 2011 23:49:59 +0000 (23:49 +0000)]
Fix for [#27398] Particle systems with animated groups render incorrectly in viewport
* Hmph.. depsgraph and group duplication == illogical.

9 years agoFix for [#27293] Group Instance of particle system is rendered wrong
Janne Karhu [Sun, 10 Jul 2011 23:24:15 +0000 (23:24 +0000)]
Fix for [#27293] Group Instance of particle system is rendered wrong
* Silly mul_m4_v3 had turned into a mul_m4_v4 at some point!

9 years ago-OpenEXR fixed so enabling if user has enabled
Antony Riakiotakis [Sun, 10 Jul 2011 20:04:56 +0000 (20:04 +0000)]
-OpenEXR fixed so enabling if user has enabled
-Added Iex to lib list, was causing link time errors

9 years agorun WM_exit(C) when blender as a python module exits
Campbell Barton [Sun, 10 Jul 2011 18:54:02 +0000 (18:54 +0000)]
run WM_exit(C) when blender as a python module exits

9 years agoFix #27926: autokey not working with auto IK, broke this with an earlier bugfix.
Brecht Van Lommel [Sun, 10 Jul 2011 18:21:40 +0000 (18:21 +0000)]
Fix #27926: autokey not working with auto IK, broke this with an earlier bugfix.

9 years agoCamera tracking integration
Sergey Sharybin [Sun, 10 Jul 2011 18:12:29 +0000 (18:12 +0000)]
Camera tracking integration
===========================

- Fixed sub-pixel precision error when sliding markers.
- Made sliding areas smaller.
- Remove "Debug" menu,
- pep8 cleanup.

9 years agoFix for [#27289] Hair: Render Option - Object does not point objects to end of "hair...
Janne Karhu [Sun, 10 Jul 2011 17:30:31 +0000 (17:30 +0000)]
Fix for [#27289] Hair: Render Option - Object does not point objects to end of "hair path"
* Objects are now always rotated in the directions of the hair paths
* Secondary fix: particle size wasn't updated for hair particles, so dupliobject size couldn't be change after the hair was edited

9 years agofix for various python bugs and remove unused var.
Campbell Barton [Sun, 10 Jul 2011 17:26:15 +0000 (17:26 +0000)]
fix for various python bugs and remove unused var.

9 years agoFix for [#26873] Animated displacement modifier on an object doesn't work with hair...
Janne Karhu [Sun, 10 Jul 2011 17:04:56 +0000 (17:04 +0000)]
Fix for [#26873] Animated displacement modifier on an object doesn't work with hair particle objects
* Noise is now considered an animated texture as it changes with every frame
* Converted a few places in particles code to use the particle system's own random table instead of BLI_frand.

9 years agocleanup for python scripts - unused vars and imports
Campbell Barton [Sun, 10 Jul 2011 12:51:37 +0000 (12:51 +0000)]
cleanup for python scripts - unused vars and imports

9 years agoCamera tracking integration
Sergey Sharybin [Sat, 9 Jul 2011 20:38:41 +0000 (20:38 +0000)]
Camera tracking integration
===========================

- Added option to keep area equal width and height
  when sliding it by mouse. Use "Control" button for this.
- Do now show sliding zones for disabled markers.

9 years agofix for NULL pointer usages
Campbell Barton [Sat, 9 Jul 2011 19:59:32 +0000 (19:59 +0000)]
fix for NULL pointer usages

9 years agoCamera tracking integration
Sergey Sharybin [Sat, 9 Jul 2011 19:57:29 +0000 (19:57 +0000)]
Camera tracking integration
===========================

Clean-up: animation data is not necessery in MovieClip. Removing.

It'll be easy to add it back just reverting this commit.

9 years agoCamera tracking integration
Sergey Sharybin [Sat, 9 Jul 2011 19:51:23 +0000 (19:51 +0000)]
Camera tracking integration
===========================

- Implemented hide/show track functionality.
- Small re-exposing Marker menu into UI.
  Now it's called "Track". Added new operators there.
- Set reconstructed clip as active to scene.

9 years agofix for using uninitialized value in gpu_shader_material
Campbell Barton [Sat, 9 Jul 2011 19:16:32 +0000 (19:16 +0000)]
fix for using uninitialized value in gpu_shader_material

9 years agoCamera tracking integration
Sergey Sharybin [Sat, 9 Jul 2011 17:51:59 +0000 (17:51 +0000)]
Camera tracking integration
===========================

Improved marker size/position adjustment:
- Rollback selection model so selected parts of marker
  would be disabled only when "extension" click happens.
- Implemented left mouse sliding to adjust marker position
  (using small square in left top corner of search area) and
  size of pattern/search (using small triangle it right bottom
  corner of marker)

9 years agoMerging r38237 through r38264 from trunk into soc-2011-tomato
Sergey Sharybin [Sat, 9 Jul 2011 17:49:36 +0000 (17:49 +0000)]
Merging r38237 through r38264 from trunk into soc-2011-tomato

9 years agofix [#27683] Blender hangs when baking a particle system when a driver is present
Campbell Barton [Sat, 9 Jul 2011 17:41:39 +0000 (17:41 +0000)]
fix [#27683] Blender hangs when baking a particle system when a driver is present

9 years agoWrong tooltip for OBJECT_OT_make_links_scene() operator.
Ton Roosendaal [Sat, 9 Jul 2011 17:09:28 +0000 (17:09 +0000)]
Wrong tooltip for OBJECT_OT_make_links_scene() operator.