Commit Graph

49420 Commits

Author SHA1 Message Date
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
Campbell Barton
2c3165fdc0 style cleanup 2012-06-18 13:01:24 +00:00
Brecht Van Lommel
76f79b030f Fix for recent bugfix, make old files with strand width fade 2.0 render same. 2012-06-18 12:49:05 +00:00
Brecht Van Lommel
57b8edc9fe RNA: add Area and Region window xy coordinates access. 2012-06-18 12:48:51 +00:00
Bastien Montagne
cc33934410 Fix for compiling with all warnings as error (commenting out unused vars). 2012-06-18 12:39:19 +00:00
Sergey Sharybin
35b3736b16 Fix #31856: movieclips.load(filepath=None) or value crash Blender
Disallow running PyUnicode_EncodeFSDefault for None type which seems
to be an issue on Windows.
2012-06-18 12:34:19 +00:00
Sergey Sharybin
0d64e050ea Reduce amount of deprecated symbols used from FFmpeg
This switches some areas of Blender which are related on FFmpeg stuff
from deprecated symbols to currently supported one.

Pretty straightforward changes based on documentation of FFmpeg's
API which symbols should be now used.

This should make Blender compatible with recent FFmpeg 0.11.

Should be no functional changes.
2012-06-18 10:29:11 +00:00
Sergey Sharybin
5e6e9bd616 Pardon, typo in own commit for SCons changes. Also added missed headers.
Should work now.
2012-06-18 09:52:41 +00:00
Sergey Sharybin
e066d80dbc Forgot to define WITH_COLLADA in SCons in recent commit
Also fix some issues with header files:
- Added ifndef .. define .. endif blocks to be sure headers are not
  including twice.
- DO not include WM stuff in headers, use anonymous structure names instead.
2012-06-18 09:48:47 +00:00
Sergey Sharybin
54022cfa1c Fix compilation error for SCons
Was missed some scons rules after recent collada changes
2012-06-18 09:20:49 +00:00
Guillermo S. Romero
e60adbb57d SVN maintenance. 2012-06-18 01:17:50 +00:00
Gaia Clary
3ef74070c9 Collada: fix for building without collada 2012-06-18 00:27:30 +00:00
Gaia Clary
03b3468635 Collada: fix case of filename 2012-06-17 23:48:51 +00:00
Gaia Clary
5ee90fef31 Collada: fixed contributor line in CMakeLists.txt 2012-06-17 23:28:29 +00:00
Gaia Clary
15f4eb34fa Collada: Moved interface definitions from wm_operators.c to blender/editors/io 2012-06-17 23:13:39 +00:00
Ove Murberg Henriksen
19daf84105 svn merge ^/trunk/blender -r48004:48011 2012-06-17 21:06:30 +00:00
Gaia Clary
c4eb9c7a7b Collada: (Exporter) reorganized the export panel 2012-06-17 20:19:44 +00:00
Sergey Sharybin
0723d75abd Now updating of resolution should happen nice when clip's filepath is changing 2012-06-17 16:40:16 +00:00
Andrea Weikert
fe20596f9c == filebrowser ==
fixes:
* Sequence editor not loading file typed in filebrowser file button (reported by Sergey on IRC)
* filename button doesn't match exactly typed in filename

notes:
* file specified in the filename button now gets added to 'files' list, even if not selected
* after matching filename (either by typing in exact match or using wildcards) the first match is assigned to the filename button.
2012-06-17 14:16:26 +00:00
Campbell Barton
3a6f573b95 style cleanup: also quiet a warning. 2012-06-17 11:36:28 +00:00
Campbell Barton
f5f25b81e8 style cleanup:
also fix for building ghost test and fix double free in one of the tests
2012-06-17 09:58:26 +00:00
Mitchell Stokes
245c94a75e Fix for [#31848] "BGE: Commit r47628 breaks custom GLSL material shaders" reported by Alex Fraser.
Custom shaders is a case where the BGE can be using GLSL materials and still need to upload textures without bf_gpu. I tweaked some logic to handle this special case and added more comments.
2012-06-17 07:59:22 +00:00
Ove Murberg Henriksen
bf3d0ca8da svn merge ^/trunk/blender -r47023:HEAD 2012-06-17 04:14:44 +00:00
Gaia Clary
0df30d1063 Collada: (Exporter) add 'mesh type selection(view|render)' for Apply modifiers option 2012-06-16 23:35:53 +00:00
Tamito Kajiyama
d38ba6b5d2 Fix for persistent failures of BLI_assert(CustomData_has_layer(&dm->faceData, CD_POLYINDEX));
in CDDM_calc_normals_mapping_ex() in source/blender/blenkernel/intern/cdderivedmesh.c.
Problem report by flokkievids with an example .blend file for reproducing the issue. Thanks!

The issue was caused by the fact that Freestyle was using the pre-BMesh way for constructing
mesh data with the aim of generating a temporary 3D scene for stroke rendering.  Specifically,
the MFace struct was used for defining triangular faces.  Now BMesh is in the trunk, MFace
is internally used for tessellated faces only, and MPoly and MLoop are used for general mesh
data construction.  This commit is intended to update the Freestyle stroke rendering code in
the BMesh way.
2012-06-16 21:49:52 +00:00