Commit Graph

47594 Commits

Author SHA1 Message Date
Sergey Sharybin
906a635bd0 Store parent's initial position when setting mask's parent from the interface 2012-06-20 11:16:51 +00:00
Sergey Sharybin
470ad6fc0e Do not check result of BKE_tracking_marker_get -- it shall always
return valid marker. If not -- let blender crash, because that means
something went really bad and silencing this isn't good idea.

Also made mask parenting to tracking data aware of clip's start frame.
2012-06-20 10:54:56 +00:00
Sergey Sharybin
b07edbc6d6 Grease pencil and manual calibration weren't aware of clip start frame 2012-06-20 10:42:41 +00:00
Sergey Sharybin
4b955a60ed Cleanup up space clip API:
- Remove clip/mask specific size/aspect getters, they shall just
  use the same size/aspect ratio.
- Made size getter (and some other public functions) accept context
  instead of SpaceClip. Currently only SpaceClip is being get from
  this context, but later it'll be helpful when adding support of
  editing mask without opening clip in clip editor (in this case
  using render resolution for mask would be ideal, but this
  requires knowing scene in size getter).
- Rearrange some functions in clip_editor.c for easier navigation
  in the file.
2012-06-20 10:28:51 +00:00
Campbell Barton
2e913da8e4 svn merge ^/trunk/blender -r48105:48109 2012-06-20 10:03:02 +00:00
Campbell Barton
586f202eac minor speedup for the glare compositor node
- pre calculate the UV dot product
- use image width and height converted to floats in the inner loop.
2012-06-20 08:11:59 +00:00
Campbell Barton
858ad8d725 svn merge ^/trunk/blender -r48078:48105 2012-06-20 07:43:49 +00:00
Nicholas Rishel
fc1164c223 Fixes [#31577] Select N-th vertex/face/edge doesnt work
http://projects.blender.org/tracker/index.php?func=detail&aid=31577&group_id=9&atid=498

Also solves both TODOs in the commented code.

Loop select now calls mouse_mesh() to handle setting an active vertex/edge/face.
2012-06-20 07:31:19 +00:00
Campbell Barton
358f7d40b6 style cleanup: use TRUE/FALSE for ui align args. 2012-06-19 23:08:16 +00:00
Ove Murberg Henriksen
a953e4bbe3 svn merge ^/trunk/blender -r48011:48095 2012-06-19 19:37:59 +00:00
Ove Murberg Henriksen
370901890a Its now overwriting properly by clearing weights when using replace_mode all.
Reason for not going for suggested "else" on copy in each case is that it would present a paradox. 
(it would delete weights that got created in some instances)
2012-06-19 19:15:59 +00:00
Ove Murberg Henriksen
622ae0a1ca clenaup. 2012-06-19 18:26:55 +00:00
Sergey Sharybin
1462c2f73e Added option to witch track position output node value to relative value
against initial's track position.
2012-06-19 18:04:40 +00:00
Sergey Sharybin
a8f23a96a4 KeyingScreen would now deal properly with clips with Start Frame != 1 2012-06-19 17:57:51 +00:00
Sergey Sharybin
72e170d67a Implementation of node for track position input 2012-06-19 17:29:58 +00:00
Bastien Montagne
8796c3eff1 Fix part 2 of [#31840] Quick Explode Bugs related to it's fade option.
This in fact had nothing to see with this operator or its fade option, reports were simply not shown when repeating an operator.

Carefully checked/tracked all calls to wm_operator_exec and WM_operator_repeat, and could not see any reason why this was this way, so I disabled this. Very easy to undo in case ugly problems arize (but I really do not expect any!).
2012-06-19 16:26:01 +00:00
Ove Murberg Henriksen
51036b3186 Fixed better check for Mface.v4 2012-06-19 16:23:52 +00:00
Sergey Sharybin
4f044f4ec1 Changes in clip editor's public api to make it's more clear
whether getting of some property happens or this property is
being changed.

Also made it more clear whether affecting property belongs
to clip or mask datablock.
2012-06-19 14:26:29 +00:00
Sergey Sharybin
14a68d3a5f Mark context as const when it's possible and avoid typecasts from const bContext* to bContext* 2012-06-19 14:09:44 +00:00
Jeroen Bakker
7f2d1c01cd Implemented Preview of defocus to set the quality of the node to Low
increased the inner loop of opencl
2012-06-19 13:52:41 +00:00
Campbell Barton
a3680a35a6 svn merge ^/trunk/blender -r48070:48078 2012-06-19 13:48:19 +00:00
Campbell Barton
cf2ae76347 fix for uninitialized memory use in the new compositor. 2012-06-19 13:20:06 +00:00
Campbell Barton
b2eafb5012 stray paste in last commit 2012-06-19 12:19:49 +00:00
Campbell Barton
6b7e16fe8f fix for building without opencolorio 2012-06-19 12:18:26 +00:00
Campbell Barton
c9e974ba21 fix for scons 2012-06-19 11:04:23 +00:00
Jeroen Bakker
bb7b8bed8a * fixed defocus background blurin... 2012-06-19 09:52:52 +00:00
Ove Murberg Henriksen
873b267029 cleanup for bwetter naming 2012-06-19 09:52:16 +00:00
Jeroen Bakker
340489d29f * Fixed brightness (was introduced by optimalization)
* added threshold functionality

still have to fix the background bleeding. not sure why it happens.
needs some revisites.
2012-06-19 08:48:45 +00:00
Campbell Barton
66617d1b13 svn merge ^/trunk/blender -r47961:48070 2012-06-19 08:16:07 +00:00
Lukas Toenne
fbbd64a118 Fix #31646, somehow a 2.62 file output node can have NULL storage pointer. Not sure how this can happen, but added checks in do_versions to make sure the file doesn't crash. Paths will probably have to be reset though. 2012-06-19 07:46:45 +00:00
Ove Murberg Henriksen
07aaf356f7 Error reporting added.
Note that when changing to optional methods that fails, it fails silently still.
Might have to adress this.
2012-06-19 02:23:31 +00:00
Ove Murberg Henriksen
32992cabe7 Bugfix to if statement always reporting true 2012-06-19 01:19:44 +00:00
Ove Murberg Henriksen
fcb650a154 Fixed loop instead of one liners for interpolate over face method mode. 2012-06-19 00:35:39 +00:00
Jeroen Bakker
77dde3db08 * Enabled OpenCL for the compositor
Tested on:
   - Windows32 ATI V5800
   - Linux64 GTX360M
   - Linux64 Quadro FX360M

The ATI is much more stable as the Nvidia platforms. We have tested
a different scheduling that will speed up for AMD (not checked in yet)

It compiles on all platforms, but fails on our MAC book Pro.
Black lines are produced on the top of a opencl workgroup.

By using localworksize we were able to remove these lines, but 
are not satisfied at this solution (so will not check this in yet).

Please everyone check if it works on your configuration and add 
Bugs when needed.

To test you need to add a BokehBlur to your scene and enable the
OpenCL flag in the property panel.
2012-06-18 21:20:11 +00:00
Nicholas Bishop
c9e98e848d Fix for subsurf oscillations along creased boundary edges
Changed the "exterior edge interior shift" section of subsurf calc to
always treat boundary edges the same, regardless of sharpness. We
should revisit subsurf creasing to see if more consistent and
predictable results are possible, but for now this a non-intrusive way
to avoid wavyness along the boundary.

Fixes bug [#31864] Artifacts when using Subsurf+Crease on plane
http://projects.blender.org/tracker/index.php?func=detail&aid=31864&group_id=9&atid=498
2012-06-18 20:50:35 +00:00
Nicholas Bishop
fd36fb8f63 Code cleanup: use float* rather than void* in subsurf calculation
No functional changes.
2012-06-18 20:50:25 +00:00
Bastien Montagne
0b7c9f11f2 Minor UI message fixes. 2012-06-18 20:22:23 +00:00
Ove Murberg Henriksen
56ebb0b4a8 style cleanup fixed indents (I belive!?!) 2012-06-18 19:59:15 +00:00
Bastien Montagne
1f02633d7e Fix for compiling with all warnings as error (commenting out unused vars). 2012-06-18 19:37:01 +00:00
Ove Murberg Henriksen
3253716183 Bugfix: no longer crashes when MDefomWeight is not fond on source. 2012-06-18 19:32:45 +00:00
Sergey Sharybin
c4e386c772 DO not reset clip's focal length when changing path to footage 2012-06-18 18:22:49 +00:00
Nicholas Bishop
58befeba60 Fix for sculpt undo updating hidden rather than coords.
Fixes bug [#31858] Undo + sculpt mode, which exposed the bug by having
two objects use the same mesh data.

The rebuild variable was initialize to true, so multires data was
getting marked as having GridHidden modified rather than coords
modified.
2012-06-18 17:49:31 +00:00
Ove Murberg Henriksen
108d157254 Changed naming of "option" to "mode".
No longer using defvert_verify_index() but defvert_find_index().
Changing function created error wehn not found. Must be adressed.
2012-06-18 17:11:53 +00:00
Sergey Sharybin
c83805139d Patch #31755: fix missing redraw in space_buttons when grouping objects (CTRL+G)
When you group objects with CTRL+G and have the properties
space --> object tab --> groups panel visible there is a redraw
missing.

Patch by Philipp Oeser. Thanks!
2012-06-18 17:07:26 +00:00
Lukas Toenne
0d89607899 Fix #31740, compositor overwrites images on frame scrubbing. Restored old compositor behavior which only saves images when doing an actual rendering (this was not implemented in Tile yet). 2012-06-18 16:23:16 +00:00
Sergey Sharybin
4b877e1f8b Some options used for "expert" x264 setup were removed from FFmpeg 0.11
Prevent crashes in cases when option can't be found.
2012-06-18 15:42:23 +00:00
Sergey Sharybin
bdfcc5c619 Fix #31825: 3D View Editor Header > Object > Game > Copy Properties affecting other commands.
Mark property to be copied/moved as SKIP_SAVE. That was giving the issues.
2012-06-18 14:44:16 +00:00
Sergey Sharybin
a42a5c90d5 Fix #31826: UV/Image editor paint image crash
Missed NULL check in own refactoring a while ago.
2012-06-18 14:08:54 +00:00
Sergey Sharybin
4598049851 Disable mouse slide to control offset and uniform pattern scale for now
This is nice to have, but requires better approach for visualization.

Any ideas? :)
2012-06-18 14:02:59 +00:00
Sergey Sharybin
fc5df9d634 Reverting changes made in r48030 by Campbell's request 2012-06-18 13:46:57 +00:00