9 years agoTomato: fixed default value for pixel aspect.
Sergey Sharybin [Thu, 16 Feb 2012 13:14:49 +0000 (13:14 +0000)]
Tomato: fixed default value for pixel aspect.

9 years agoTomato: fixed incorrect auto-scale calculation for 2d stabilization
Sergey Sharybin [Thu, 16 Feb 2012 13:14:28 +0000 (13:14 +0000)]
Tomato: fixed incorrect auto-scale calculation for 2d stabilization

9 years agoTomato: fix for missing cache invalidation when disabling/enabling channels for stabi...
Sergey Sharybin [Thu, 16 Feb 2012 07:45:01 +0000 (07:45 +0000)]
Tomato: fix for missing cache invalidation when disabling/enabling channels for stabilized shot

9 years agoMerging r44129 through r44139 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 16 Feb 2012 07:11:50 +0000 (07:11 +0000)]
Merging r44129 through r44139 from trunk into soc-2011-tomato

9 years agofix for replacing a generated image with a file, the image would stay generated.
Campbell Barton [Thu, 16 Feb 2012 04:21:40 +0000 (04:21 +0000)]
fix for replacing a generated image with a file, the image would stay generated.

not a show-stopper but confusing.

9 years agofix [#30201] bpy_extras.image_utils.load_image always returns placeholder
Campbell Barton [Thu, 16 Feb 2012 04:08:52 +0000 (04:08 +0000)]
fix [#30201] bpy_extras.image_utils.load_image always returns placeholder

in existing addons this only effects OBJ import.

interestingly even though this is a bug (in that its returning a placeholder when it should load the image), since the placeholder points to the correct path, the image will load correctly when refreshed, so the bug's not too bad.

9 years agoreadfile update after version/subversion bump
Dalai Felinto [Wed, 15 Feb 2012 18:17:31 +0000 (18:17 +0000)]
readfile update after version/subversion bump
Note, there is no need to leave doversion code outside a version/subversion nest.
e.g. having if version < 262   in a 2.61 file will make the code to double-run.
however this is the same case for the code nested outside the if versions ...
with the advantage of making ahoys/version bumping easier.

Ton himself was unaware of how we were doing this and suggested to get rid of the /* put subversion code here */ practise.

9 years agoTomato: fixed incorrect behavior of textures buffer used in MCE together with 2d...
Sergey Sharybin [Wed, 15 Feb 2012 18:11:10 +0000 (18:11 +0000)]
Tomato: fixed incorrect behavior of textures buffer used in MCE together with 2d stabilization.

9 years agoautogenerated rna api changelog (no rebuilds needed)
Campbell Barton [Wed, 15 Feb 2012 17:41:48 +0000 (17:41 +0000)]
autogenerated rna api changelog (no rebuilds needed)

9 years agoSet BLENDER_VERSION_CYCLE to release.
Thomas Dinges [Wed, 15 Feb 2012 17:19:26 +0000 (17:19 +0000)]

9 years agoThe traditional release commit, 2.62!
Ton Roosendaal [Wed, 15 Feb 2012 16:44:44 +0000 (16:44 +0000)]
The traditional release commit, 2.62!

Special thanks to splash committee:
Kevin Hays, Per Gantelius and Wray Bowling.

Splash by Alexey Lugovoy.

9 years agoCamera tracking: animation datablock for MovieClip
Sergey Sharybin [Wed, 15 Feb 2012 16:06:48 +0000 (16:06 +0000)]
Camera tracking: animation datablock for MovieClip

Added AnimData block to MovieClip datablock which allows to animate different
properties in clip. Currently supports animation of stabilization influence only.

9 years agoMerging r44109 through r44128 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 15 Feb 2012 16:04:57 +0000 (16:04 +0000)]
Merging r44109 through r44128 from trunk into soc-2011-tomato

9 years agoFix another padding error in cycles, to complete the previous bugfix.
Brecht Van Lommel [Wed, 15 Feb 2012 14:56:08 +0000 (14:56 +0000)]
Fix another padding error in cycles, to complete the previous bugfix.

9 years agoFix #30139: multi render layer not working with CUDA render, due to padding error
Brecht Van Lommel [Wed, 15 Feb 2012 14:32:07 +0000 (14:32 +0000)]
Fix #30139: multi render layer not working with CUDA render, due to padding error
in render pass code.

9 years agoFFmpeg settings can't be animated. Clear animation flag to prevent confusing
Sergey Sharybin [Wed, 15 Feb 2012 14:05:28 +0000 (14:05 +0000)]
FFmpeg settings can't be animated. Clear animation flag to prevent confusing
warnings appear on the screen.

9 years agoMovie clip: comment what magic constant 768 means in DNA structure
Sergey Sharybin [Wed, 15 Feb 2012 13:41:33 +0000 (13:41 +0000)]
Movie clip: comment what magic constant 768 means in DNA structure

9 years agoCMake: determine if python should be bundled into "lib" or "lib64" folder.
Sergey Sharybin [Wed, 15 Feb 2012 08:53:28 +0000 (08:53 +0000)]
CMake: determine if python should be bundled into "lib" or "lib64" folder.

Needed to deal with OS like openSUSE where Python is installed to /usr/lib64
and don't work if it's getting bundled into <blender_version>/python/lib.

Thanks to Campbell to making this patch cleaner :)

9 years agofont objects in blenderplayer fail when object with alpha is rendered
Dalai Felinto [Tue, 14 Feb 2012 18:23:58 +0000 (18:23 +0000)]
font objects in blenderplayer fail when object with alpha is rendered
the embed bge has its own DisableForText() routine which prepares the GL flags for the text render.

For some reason blenderplayer is taking a slim approach and going straight for the rendering. This routine helps to address this bug/case (non reported, foundin my own project files). If need arises we should move this to its own routine incorporating the other GL tests the embed bge performs.

9 years agoBuildbot: WITH_BF_CYCLES_CUDA_BINARIES should be set for packing stage too.
Sergey Sharybin [Tue, 14 Feb 2012 17:03:27 +0000 (17:03 +0000)]
Buildbot: WITH_BF_CYCLES_CUDA_BINARIES should be set for packing stage too.

9 years agoCamera tracking: corrected default values for some reconstruction-related properties.
Sergey Sharybin [Tue, 14 Feb 2012 17:03:06 +0000 (17:03 +0000)]
Camera tracking: corrected default values for some reconstruction-related properties.

9 years agoBuildbot: another attempt to make Windows builds support CUDA
Sergey Sharybin [Tue, 14 Feb 2012 15:59:10 +0000 (15:59 +0000)]
Buildbot: another attempt to make Windows builds support CUDA

Set BF_CYCLES_CUDA_NVCC to nvcc.exe, hopefully it's on search path at builder machine.

9 years agoSCons: command line options should be coma-separated when adding to options list
Sergey Sharybin [Tue, 14 Feb 2012 15:44:17 +0000 (15:44 +0000)]
SCons: command line options should be coma-separated when adding to options list

9 years agoBuildbot: enable building CUDA binaries on Windows slaves.
Sergey Sharybin [Tue, 14 Feb 2012 15:26:20 +0000 (15:26 +0000)]
Buildbot: enable building CUDA binaries on Windows slaves.
Should make CUDA available for rendering in buildbot builds.

9 years agoMerging r44070 through r44108 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 14 Feb 2012 15:19:49 +0000 (15:19 +0000)]
Merging r44070 through r44108 from trunk into soc-2011-tomato

9 years agoFix related to #30152, rainbow colours produced when loading hdr image to 3D viewport...
Antony Riakiotakis [Tue, 14 Feb 2012 13:25:23 +0000 (13:25 +0000)]
Fix related to #30152, rainbow colours produced when loading hdr image to 3D viewport/ the Nyan cat bug.

Issue is caused by scaling for power of 2 dimensions and mipmapping that happens through GLU. It looks like the library cannot handle float colour values above 1.0 correctly. Since we are close to release I will just clamp the srgb result for now even though it will result in a small performance loss for 16 bit textures only.

I tried a few things before that, glGenerateMipmaps + no scaling (supported for 2.0 GL hardware and up), or using our own scaling instead of glu among them which worked very nicely and gave a speedup too. However, since we are close to release and there may be issues with GPU mipmap generation, see:
(old discussion but better be sure than sorry)

I went for the most compatible solution. Maybe after release this can be tested if other devs agree.

9 years agoCarve fixes and optimizations:
Sergey Sharybin [Tue, 14 Feb 2012 13:24:04 +0000 (13:24 +0000)]
Carve fixes and optimizations:

- Fixed memory lead in Carve_getIntersectedOperandMeshes
- Union manifolds only if they intersects second operand, leave manifolds
  which doesn't intersect second operand as-is.

9 years agoffmpeg: don't use flags:loop for .h264, this allows to see the video in OSX quickview...
Jens Verwiebe [Tue, 14 Feb 2012 12:24:17 +0000 (12:24 +0000)]
ffmpeg: don't use flags:loop for .h264, this allows to see the video in OSX quickview and Quicktimeplayer( windows ? )

9 years agoCarve: improved handling of meshes with interesting manifolds
Sergey Sharybin [Tue, 14 Feb 2012 09:43:35 +0000 (09:43 +0000)]
Carve: improved handling of meshes with interesting manifolds

Unioning of intersecting manifold tried to perform as little union operations
as possible, but there were some not totally correct assumption which lead to
cases when unioning of manifolds of some mesh might be happened when one of
mesh sets already had got intersecting manifolds.

This commit corrects this incorrect behavior.

Discovered this when was looking into #30175: Boolean Difference causes 2.62 RC1 crash.

9 years agoFixing up some buggy cleanup code in BL_ShapeDeformer. This code was causing crashes...
Mitchell Stokes [Tue, 14 Feb 2012 07:54:12 +0000 (07:54 +0000)]
Fixing up some buggy cleanup code in BL_ShapeDeformer. This code was causing crashes and corrupting shape keys. This commit fixes the following bugs:

[#30059] Shape Keys is gone in Blender if you use Add Object Actuator in BGE
[#30024] Segmentation fault after addObject when using shape keys
[#28683] segfault in shapekey conversion code when running a game (YF, level home) twice

9 years agoOSX: to make transition for mediaimports to ffmpeg reliable, ffmpeg_0.10 is mandatory
Jens Verwiebe [Tue, 14 Feb 2012 07:47:29 +0000 (07:47 +0000)]
OSX: to make transition for mediaimports to ffmpeg reliable, ffmpeg_0.10 is mandatory

9 years agoFix for [#30171] "Audio Muted" Does Not Mute Audio
Joerg Mueller [Mon, 13 Feb 2012 21:27:11 +0000 (21:27 +0000)]
Fix for [#30171] "Audio Muted" Does Not Mute Audio

9 years agoFix #30170: with file saved in texture painting mode, when going to object mode
Brecht Van Lommel [Mon, 13 Feb 2012 21:12:14 +0000 (21:12 +0000)]
Fix #30170: with file saved in texture painting mode, when going to object mode
the image texture is missing. The flag to indicate that the mipmap levels were
already loaded into GPU memory was incorrectly set then.

9 years agoFix #30155: crash with popup menu open while new .blend file is loaded,
Brecht Van Lommel [Mon, 13 Feb 2012 21:05:04 +0000 (21:05 +0000)]
Fix #30155: crash with popup menu open while new .blend file is loaded,
CTX_wm_window is then set to NULL and checked in the event queue, but it
should be checked for removing handlers too.

9 years agouse tabs for indentation
Campbell Barton [Mon, 13 Feb 2012 20:54:36 +0000 (20:54 +0000)]
use tabs for indentation

9 years agoFix quicktime export being broken in various ways: callback was missing
Brecht Van Lommel [Mon, 13 Feb 2012 20:47:29 +0000 (20:47 +0000)]
Fix quicktime export being broken in various ways: callback was missing
parameter, codec RNA wrapping was wrong, and there was a python script error.

9 years agoOSX: let almost all animation imports handle by ffmpeg now, this is faster in many...
Jens Verwiebe [Mon, 13 Feb 2012 19:00:02 +0000 (19:00 +0000)]
OSX: let almost all animation imports handle by ffmpeg now, this is faster in many cases

9 years agoFix for [#27349] Sequencer: Meta Strips plays unavailable audio
Joerg Mueller [Mon, 13 Feb 2012 17:31:33 +0000 (17:31 +0000)]
Fix for [#27349] Sequencer: Meta Strips plays unavailable audio

Hopefully at least... Sequencer code is like <insert name of random ancient language that nobody knows anymore here>.

9 years agoFixed copy-paste of sound strips in sequencer.
Sergey Sharybin [Mon, 13 Feb 2012 17:29:10 +0000 (17:29 +0000)]
Fixed copy-paste of sound strips in sequencer.

Copy operator used to remove scene_sound from strips, but Paste operator didn't
restore which lead to total silence of newly added strips.

9 years agoFix #30159: Boolean modifier creating non-concave faces
Sergey Sharybin [Mon, 13 Feb 2012 13:23:23 +0000 (13:23 +0000)]
Fix #30159: Boolean modifier creating non-concave faces

Issue was caused by merging triangles into quads policy which used to think
triangulation of non-planar/non-concave quads happens by 1-3 diagonal which
isn't actually correct in some OpenGL implementations.

Added check for non-concave faces when merging triangles. It will work fine if
original faces are flat. In case if original faces aren't flat this check might
fail and triangulate face when it's not actually needed or merge triangles in
a way which leads to OpenGL artifacts.

9 years agofix for typo
Campbell Barton [Mon, 13 Feb 2012 12:57:46 +0000 (12:57 +0000)]
fix for typo

9 years agothemes to be distributed with release
Campbell Barton [Mon, 13 Feb 2012 11:29:34 +0000 (11:29 +0000)]
themes to be distributed with release

9 years agomore tweaks, outline is lighter then the color given so compensate a bit.
Campbell Barton [Mon, 13 Feb 2012 11:14:12 +0000 (11:14 +0000)]
more tweaks, outline is lighter then the color given so compensate a bit.

9 years agoremove unused var
Campbell Barton [Mon, 13 Feb 2012 04:12:40 +0000 (04:12 +0000)]
remove unused var

9 years agofix for bug introduced with weight paint vertex selection.
Campbell Barton [Mon, 13 Feb 2012 03:32:47 +0000 (03:32 +0000)]
fix for bug introduced with weight paint vertex selection.

heat weighting ignored selected faces.

9 years ago2.6 UI Modifier Icons:
Thomas Dinges [Sun, 12 Feb 2012 19:57:47 +0000 (19:57 +0000)]
2.6 UI Modifier Icons:

* New Ocean Icon, created by Leon Cheung. Thanks! Approved by Lukas and myself.
* New Warp Icon, created by "Zafio"

Blender artists Thread where the Icons come from:!

9 years agopy api docs - remove sphinx .doctree before zipping, saves some space 18mb --> 3...
Campbell Barton [Sun, 12 Feb 2012 19:55:25 +0000 (19:55 +0000)]
py api docs - remove sphinx .doctree before zipping, saves some space 18mb --> 3.1 mb

9 years agoMerging r44003 through r44069 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 12 Feb 2012 19:00:13 +0000 (19:00 +0000)]
Merging r44003 through r44069 from trunk into soc-2011-tomato

9 years agoFix for outliner notifiers for inserting keyframes on visibility/selectivity/renderab...
Sergey Sharybin [Sun, 12 Feb 2012 18:57:05 +0000 (18:57 +0000)]
Fix for outliner notifiers for inserting keyframes on visibility/selectivity/renderability
flags and toggling renderability from shortcut.

9 years agoBug fix: Explode modifier created invalid faces if "unborn", "alive" or "dead" settin...
Janne Karhu [Sun, 12 Feb 2012 16:47:03 +0000 (16:47 +0000)]
Bug fix: Explode modifier created invalid faces if "unborn", "alive" or "dead" setting was unchecked
* Exploded faces that were meant to be hidden were still created with invalid vertices (0,0,0,0).
* In normal cases this went unnoticed, but for example edge split modifier crashed when it encountered these faces.

9 years agocollada export: Don't write parentinverse if ob->parent is NULL
Juha Mäki-Kanto [Sun, 12 Feb 2012 15:30:07 +0000 (15:30 +0000)]
collada export: Don't write parentinverse if ob->parent is NULL

9 years agoFix #30110: Outliner view: restriction icons not updating when toggling from Groups...
Sergey Sharybin [Sun, 12 Feb 2012 12:07:02 +0000 (12:07 +0000)]
Fix #30110: Outliner view: restriction icons not updating when toggling from Groups view

Fixed by using proper button type.

9 years agoFix #30151: Allow Negative Frames does not affect arrow keys
Sergey Sharybin [Sun, 12 Feb 2012 11:42:17 +0000 (11:42 +0000)]
Fix #30151: Allow Negative Frames does not affect arrow keys

Patch by Tobias Johansson, thanks!

9 years agoFix: Avoid freeing frect, it always points to a buffer that will be freed later,...
Antony Riakiotakis [Sun, 12 Feb 2012 11:27:51 +0000 (11:27 +0000)]
Fix: Avoid freeing frect, it always points to a buffer that will be freed later, like srgb_frect or ftilerect on or must not be freed, like Imbuf array itself.

9 years agoFix #30152: Several drag and drop of image on mesh crashes
Sergey Sharybin [Sun, 12 Feb 2012 11:21:35 +0000 (11:21 +0000)]
Fix #30152: Several drag and drop of image on mesh crashes

Issue was caused by making and loading editMesh in drop_named_image_invoke,
which lead to freeing/changing pointers used by CustomData layers. Some of
this pointers might be used by DerivedMesh, so we need to update DerivedMesh
after loading EditMesh.

9 years agoFix #30132: "Add Game Property" works incorrect after "Add Text Game Property"
Sergey Sharybin [Sun, 12 Feb 2012 10:23:06 +0000 (10:23 +0000)]
Fix #30132: "Add Game Property" works incorrect after "Add Text Game Property"

Issues was caused by operator props "presets" which was reusing name of property
on every run of OBJECT_OT_game_property_new. This run into conflict with how text
property is determining -- it's stupid name comparsion which worked unexpectable
after adding and removing text property.

Solved by using empty (default) name for game_property_new when crating game property.

9 years agoRegression fix for "Show Seconds" in Sequencer.
Sergey Sharybin [Sun, 12 Feb 2012 09:04:12 +0000 (09:04 +0000)]
Regression fix for "Show Seconds" in Sequencer.
It was missed RNA property in Sequencer space which lead to issues after recent
refactoring of related areas.

9 years agoFix [#29737] Can't edit particle hair if particle count is 0.
Janne Karhu [Sun, 12 Feb 2012 00:43:57 +0000 (00:43 +0000)]
Fix [#29737] Can't edit particle hair if particle count is 0.
* Hair wasn't flagged as "done" if particle count was 0 before setting particles as hair, so particle edit mode didn't work.

9 years agoFix [#29530] Changing to particle mode could crash in some cases
Janne Karhu [Sun, 12 Feb 2012 00:32:31 +0000 (00:32 +0000)]
Fix [#29530] Changing to particle mode could crash in some cases
* If a baked particle didn't have any cached keys creating an edit path for it crashed.

9 years agoFix [#29265] Particle Instance: Create Along Paths + Children inconsistent with actua...
Janne Karhu [Sun, 12 Feb 2012 00:25:52 +0000 (00:25 +0000)]
Fix [#29265] Particle Instance: Create Along Paths + Children inconsistent with actual children hair particles
* Hair particle rotations weren't calculated properly for particle locations along a path and the "particle on path" calculations were not correct in many other ways too.
* Now the particle's location along a path is interpolated directly from the cached paths if it exist. These paths are always correctly calculated.
* Paths are now cached if a particle instance modifier using the particle system with the path option exists.

9 years agominor include cleanup, add GPL header (copied from BKE_animsys.h
Campbell Barton [Sat, 11 Feb 2012 19:43:06 +0000 (19:43 +0000)]
minor include cleanup, add GPL header (copied from BKE_animsys.h

9 years agoFix [#30136] Adding Sequence Plugin fails.
Bastien Montagne [Sat, 11 Feb 2012 16:08:45 +0000 (16:08 +0000)]
Fix [#30136] Adding Sequence Plugin fails.

Problem was in how file selector is called by the effect_strip_add operator invoke. WM_operator_filesel() is not suited, as it directly calls exec if filepath is already set, and sequencer_generic_invoke_xy__internal() will set that path unless otherwise told. So using rather the same way to do as the one used by the other "strip_add" operators...

9 years agotypo fix when a preset fails to run. (fail at failing)
Campbell Barton [Sat, 11 Feb 2012 15:49:25 +0000 (15:49 +0000)]
typo fix when a preset fails to run. (fail at failing)

9 years agoFix [#30122] "Tweak" mouse event values were not loaded from keymap files.
Bastien Montagne [Sat, 11 Feb 2012 14:50:26 +0000 (14:50 +0000)]
Fix [#30122] "Tweak" mouse event values were not loaded from keymap files.

The problem was, those values were not included in the event type agnostic event_value_items list, hence RNA keymap item creation just ignored them.

9 years agouse ValueError when vector/matrix multiplications sizes are not supported, was using...
Campbell Barton [Sat, 11 Feb 2012 14:27:36 +0000 (14:27 +0000)]
use ValueError when vector/matrix multiplications sizes are not supported, was using TypeError for mat*vec and ValueError for vec*mat.

9 years agofix for crash adding movie strips that were not a supported format.
Campbell Barton [Sat, 11 Feb 2012 13:19:25 +0000 (13:19 +0000)]
fix for crash adding movie strips that were not a supported format.

9 years agodont add the name field to theme presets for now.
Campbell Barton [Sat, 11 Feb 2012 12:23:23 +0000 (12:23 +0000)]
dont add the name field to theme presets for now.

9 years agoresetting the theme wasnt changign the panel header.
Campbell Barton [Sat, 11 Feb 2012 12:16:34 +0000 (12:16 +0000)]
resetting the theme wasnt changign the panel header.

9 years agoupdate gpl header in cmake files
Campbell Barton [Sat, 11 Feb 2012 04:05:00 +0000 (04:05 +0000)]
update gpl header in cmake files

9 years agoFix #30131: mac UI font corruption in release candidate, refined test for
Brecht Van Lommel [Fri, 10 Feb 2012 17:12:44 +0000 (17:12 +0000)]
Fix #30131: mac UI font corruption in release candidate, refined test for
ATI/Apple cards with broken non-power-of-two-textures missed some cards,
checked against list of GL_RENDERER values, hopefully complete now.

9 years agoDisable PDF doc since its giving errors with latex indentation.
Campbell Barton [Fri, 10 Feb 2012 15:00:55 +0000 (15:00 +0000)]
Disable PDF doc since its giving errors with latex indentation.

upload the zipped version of HTML docs instead.

9 years agobge font objects: fix for difference in size when object has a parent
Dalai Felinto [Fri, 10 Feb 2012 07:52:21 +0000 (07:52 +0000)]
bge font objects: fix for difference in size when object has a parent
for after 2.62 I would like to try if using doubles would help to increase the precision here.

Also now that the mipmap patch is reverted we may want to look at this problem from a different perspective.
RES could be calculated taking the object size in relation to the camera (i.e. size and distance, ignoring rotation).
That may solve both problems of wrong resolution and lack of smoothness.

For the time being users still need to use object.resolution to fine tune the rendered text.

9 years agoreverting commit [43876] Fix for aliased fonts in the game engine
Dalai Felinto [Fri, 10 Feb 2012 06:18:32 +0000 (06:18 +0000)]
reverting commit [43876] Fix for aliased fonts in the game engine

9 years agobugfix [#30127] alpha in FontObjects not working in blenderplayer
Dalai Felinto [Fri, 10 Feb 2012 05:10:52 +0000 (05:10 +0000)]
bugfix [#30127] alpha in FontObjects not working in blenderplayer

9 years agofix for presets reusing previous options (which broke preset add/remove)
Campbell Barton [Thu, 9 Feb 2012 13:02:22 +0000 (13:02 +0000)]
fix for presets reusing previous options (which broke preset add/remove)

9 years agoMerging r43995 through r44002 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 9 Feb 2012 12:35:50 +0000 (12:35 +0000)]
Merging r43995 through r44002 from trunk into soc-2011-tomato

9 years agoReset Use Active Clip for Follow Track constraints when linking empty to a track
Sergey Sharybin [Thu, 9 Feb 2012 10:24:44 +0000 (10:24 +0000)]
Reset Use Active Clip for Follow Track constraints when linking empty to a track

9 years agopatch from Jochen Schmitt to get blender building with gcc4.7
Campbell Barton [Thu, 9 Feb 2012 07:01:30 +0000 (07:01 +0000)]
patch from Jochen Schmitt to get blender building with gcc4.7

9 years agoStyle cleanup of gpu rst file.
Campbell Barton [Thu, 9 Feb 2012 06:38:54 +0000 (06:38 +0000)]
Style cleanup of gpu rst file.

9 years agoMerging r43952 through r43994 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 8 Feb 2012 20:40:44 +0000 (20:40 +0000)]
Merging r43952 through r43994 from trunk into soc-2011-tomato

9 years agoFix for hardcoded to scons rules python abi flags and wrong behavior
Sergey Sharybin [Wed, 8 Feb 2012 17:17:19 +0000 (17:17 +0000)]
Fix for hardcoded to scons rules python abi flags and wrong behavior
of python bundling on systems where python is installed to /usr/lib64

Now ABI flags are automatically detecting (by checking all available flags
and checking if there's include directory exists for flag).
Also, automatically set PYTHON_LIBPATH to /usr/lib64 if python
scripts are stored in this folder.
Bundling python on *nix platforms is now checks if python is installed
to lib64 directory and if it is, python will be bundled to lib64
folder instead of lib.

This will make building on openSUSE a bit less annoying

9 years agoFix #30004: cycles brightness/contrast node issues. The formula used did not work
Brecht Van Lommel [Wed, 8 Feb 2012 17:09:30 +0000 (17:09 +0000)]
Fix #30004: cycles brightness/contrast node issues. The formula used did not work
very well for colors that can be outside of the 0.0..1.0 range, giving +/- infinity

Now we just use a simple linear contrast factor as proposed by Paolo Sourvinos, and
clamp values to be >= 0, and also make the parameters work more in the 0..1 range
instead of the 0..100 range, to be more consistent with other nodes.

9 years agoFix #30071: crash with cycles glsl, textures functions (which are stubs still)
Brecht Van Lommel [Wed, 8 Feb 2012 16:48:26 +0000 (16:48 +0000)]
Fix #30071: crash with cycles glsl, textures functions (which are stubs still)
got out of sync with node changes.

9 years agocorrect 2 sphinx warnings.
Campbell Barton [Wed, 8 Feb 2012 16:36:04 +0000 (16:36 +0000)]
correct 2 sphinx warnings.

9 years agoUse the same fancy compile output for .cc files as for .cpp files
Sergey Sharybin [Wed, 8 Feb 2012 15:54:00 +0000 (15:54 +0000)]
Use the same fancy compile output for .cc files as for .cpp files

9 years agoadd bake action into animation menu - this nifty operator wasn't available anywhere...
Campbell Barton [Wed, 8 Feb 2012 14:01:47 +0000 (14:01 +0000)]
add bake action into animation menu - this nifty operator wasn't available anywhere in the UI.

9 years agoFix for duplicated vertices in UV sphere when it's creating with large radius.
Sergey Sharybin [Wed, 8 Feb 2012 11:04:56 +0000 (11:04 +0000)]
Fix for duplicated vertices in UV sphere when it's creating with large radius.

Issue was caused by not enough threshold limit used for removing doubles.
Switched to adoptive threshold value calculation based on smallest length
of segments in meridians and parallels.

9 years agoMovie Clip Editor: manual calibration will now respect GP layer's hidden flag
Sergey Sharybin [Wed, 8 Feb 2012 09:40:34 +0000 (09:40 +0000)]
Movie Clip Editor: manual calibration will now respect GP layer's hidden flag

9 years agoFix #30102: Vertex and edge incorrect selections
Sergey Sharybin [Wed, 8 Feb 2012 07:20:49 +0000 (07:20 +0000)]
Fix #30102: Vertex and edge incorrect selections

Select Linked operator was setting Limit by Seams property automatically
depending on current selection mode. But this property only used to be
set to truth if selection mode is set to Face, in other cases this property
is being reused from previous operator run. This leads to incorrect
behavior of selecting linked in vertex mode after this operator was
used in face selection mode.

9 years agofix [#30090] Cloth modifier related crash when loading old file
Campbell Barton [Wed, 8 Feb 2012 05:20:23 +0000 (05:20 +0000)]
fix [#30090] Cloth modifier related crash when loading old file

own fault when adding int64 support. `void` type was being used to workaround a different bug in the ClothSimSettings struct.

9 years agoCorrect mathutils documentation, also correct some python spelling errors and add...
Campbell Barton [Wed, 8 Feb 2012 04:37:37 +0000 (04:37 +0000)]
Correct mathutils documentation, also correct some python spelling errors and add makefile target `check_spelling`

9 years agoFix #30081: the fix for #30026 related to rendering indirect/environment light
Brecht Van Lommel [Tue, 7 Feb 2012 21:04:10 +0000 (21:04 +0000)]
Fix #30081: the fix for #30026 related to rendering indirect/environment light
with material ambient zero broke backwards compatibility too much. The behavior
to have ambient zero affect things even if it is not used as a factor does not
make much sense but keeps things compatible. Now instead fixed the use of
uninitialized memory.

9 years agoFix #30061: cycles single render layer through python operator parameter not
Brecht Van Lommel [Tue, 7 Feb 2012 20:51:33 +0000 (20:51 +0000)]
Fix #30061: cycles single render layer through python operator parameter not

9 years agoReturned back maximal value of bitrate. Higher values are actually makes sense with...
Sergey Sharybin [Tue, 7 Feb 2012 20:39:51 +0000 (20:39 +0000)]
Returned back maximal value of bitrate. Higher values are actually makes sense with DNxHD only.

9 years agoFix for wrong pixel format used for qtrle
Sergey Sharybin [Tue, 7 Feb 2012 20:39:40 +0000 (20:39 +0000)]
Fix for wrong pixel format used for qtrle

9 years agoFix #30089: crash with cycles viewport rendering while in text edit mode.
Brecht Van Lommel [Tue, 7 Feb 2012 18:08:15 +0000 (18:08 +0000)]
Fix #30089: crash with cycles viewport rendering while in text edit mode.
Cause was Object.to_mesh(), which could cause invalid memory access when
calling it on text objects in edit mode.

9 years agoFix #30049: cycles noise texture producing nan values with some
Brecht Van Lommel [Tue, 7 Feb 2012 17:32:01 +0000 (17:32 +0000)]
Fix #30049: cycles noise texture producing nan values with some
texture coordinates, due to int overflow.

Also minor tweak in shader code to avoid copying uninitialized
values, should have no effect though because they were not used.

9 years agoFix #30086: cycles background render printing same status text twice.
Brecht Van Lommel [Tue, 7 Feb 2012 17:22:47 +0000 (17:22 +0000)]
Fix #30086: cycles background render printing same status text twice.

9 years agoFFmpeg output fixes and small improvement
Sergey Sharybin [Tue, 7 Feb 2012 17:11:56 +0000 (17:11 +0000)]
FFmpeg output fixes and small improvement

Most part of this commit fixes issues with FFmpeg output with
currently supported codecs:

- avcodec_encode_video might return zero which doesn't mean error
  happened, but blender will handle this as error and will stop
  rendering to video file.
- Changing output video codec wouldn't update "expert" options
  set for video output which leads to some sideeffects like
  ignored Lossless option for x264 codec.

This fixes allowed to add QTRLE codec easily.

9 years agoFix #30076: RenderLayer area blocks mouse scrolling
Sergey Sharybin [Tue, 7 Feb 2012 16:53:14 +0000 (16:53 +0000)]
Fix #30076: RenderLayer area blocks mouse scrolling

In fact all list templates used to block mouse scroll. It's because mouse
scrolls list's scroll bar. But mouse scroll also used to be "eaten" even
if there's no scroll in list template.
This commit makes scroll even be ignored by list templates if there's
no scroll bar on list.