Commit Graph

39494 Commits

Author SHA1 Message Date
Campbell Barton
358f7d40b6 style cleanup: use TRUE/FALSE for ui align args. 2012-06-19 23:08:16 +00:00
Campbell Barton
98e6912480 style cleanup 2012-06-19 22:17:19 +00:00
Sergey Sharybin
a8f23a96a4 KeyingScreen would now deal properly with clips with Start Frame != 1 2012-06-19 17:57:51 +00:00
Bastien Montagne
69e07714b9 Fix part 1 of [#31840] Quick Explode Bugs related to it's fade option.
Patch by Philipp Oeser (lichtwerk), just did style change (better to not define a value twice, so only affecting the three color components, not the alpha, also using the slice syntax makes things much more compact ;) ), thanks!
2012-06-19 16:45:48 +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
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
cf2ae76347 fix for uninitialized memory use in the new compositor. 2012-06-19 13:20:06 +00:00
Jeroen Bakker
bb7b8bed8a * fixed defocus background blurin... 2012-06-19 09:52:52 +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
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
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
Bastien Montagne
1f02633d7e Fix for compiling with all warnings as error (commenting out unused vars). 2012-06-18 19:37:01 +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
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
a558eed3e4 Fix #31838: Console error with particle Child Simplification is enabled.
Patch by Philipp Oeser, thanks!
2012-06-18 12:29:44 +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
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
Gaia Clary
0df30d1063 Collada: (Exporter) add 'mesh type selection(view|render)' for Apply modifiers option 2012-06-16 23:35:53 +00:00
Campbell Barton
b5b8306685 code cleanup: includes, also correct some py example typos 2012-06-16 20:20:07 +00:00
Campbell Barton
e6a43441b9 disable GaussianAlpha from attempting to get a non existing socket - and add an assert if this is attempted. 2012-06-16 19:34:38 +00:00