blender.git
7 years agosvn merge ^/trunk/blender -r49250:49252
Campbell Barton [Thu, 26 Jul 2012 13:42:33 +0000 (13:42 +0000)]
svn merge ^/trunk/blender -r49250:49252

7 years agofix for crash when checking for locked action.
Campbell Barton [Thu, 26 Jul 2012 13:40:48 +0000 (13:40 +0000)]
fix for crash when checking for locked action.

7 years agosvn merge ^/trunk/blender -r49244:49250
Campbell Barton [Thu, 26 Jul 2012 13:30:37 +0000 (13:30 +0000)]
svn merge ^/trunk/blender -r49244:49250

7 years agooption to use manual size input for scene
Campbell Barton [Thu, 26 Jul 2012 13:29:38 +0000 (13:29 +0000)]
option to use manual size input for scene

7 years agoFix #31897: Ctrl+Click in 'Hue Correct' Node Adds in Wrong Location
Sergey Sharybin [Thu, 26 Jul 2012 12:04:11 +0000 (12:04 +0000)]
Fix #31897: Ctrl+Click in 'Hue Correct' Node Adds in Wrong Location

Misusage of X/Y coords, ancient one!

7 years agoadd ED_space_image_get_size_fl, ED_space_clip_get_size_fl
Campbell Barton [Thu, 26 Jul 2012 11:47:47 +0000 (11:47 +0000)]
add ED_space_image_get_size_fl, ED_space_clip_get_size_fl

7 years agoAdded a particle index output to the Particle Info Cycles node. This is required...
Lukas Toenne [Thu, 26 Jul 2012 11:40:58 +0000 (11:40 +0000)]
Added a particle index output to the Particle Info Cycles node. This is required to get consistent ID numbers for particles. The Object ID is not usable since it's a user defined value of the instanced object, which does not vary per instance. Also the random value from the object info node is not consistent over time, since it only depends on the index in the dupli list (so each emitted or dying particle shifts the value).

The particle index is always the same for a specific particle. Randomized values can be generated from this with the use of a noise texture.

7 years agoOSX/scons: fix compiling on the new OSX 10.8 (Mountain Lion) with delivered Xcode 4.4
Jens Verwiebe [Thu, 26 Jul 2012 11:08:56 +0000 (11:08 +0000)]
OSX/scons: fix compiling on the new OSX 10.8 (Mountain Lion) with delivered Xcode 4.4

7 years agosvn merge ^/trunk/blender -r49241:49244
Campbell Barton [Thu, 26 Jul 2012 10:55:07 +0000 (10:55 +0000)]
svn merge ^/trunk/blender -r49241:49244

7 years agoFix #31550: Active Armature bone hardly distinguishable from other selected bones
Sergey Sharybin [Thu, 26 Jul 2012 10:53:59 +0000 (10:53 +0000)]
Fix #31550: Active Armature bone hardly distinguishable from other selected bones

Made active bone color a bit brighter and made it a userpref option.

7 years agomask/image: rotate about 2d cursor now works.
Campbell Barton [Thu, 26 Jul 2012 10:52:59 +0000 (10:52 +0000)]
mask/image: rotate about 2d cursor now works.

7 years agoMerging r49239 through r49241 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 26 Jul 2012 10:06:56 +0000 (10:06 +0000)]
Merging r49239 through r49241 from trunk into soc-2011-tomato

7 years agoFix typo and change shortcuts to Q and E. Works better when emulate numpad is used.
Sergey Sharybin [Thu, 26 Jul 2012 10:06:08 +0000 (10:06 +0000)]
Fix typo and change shortcuts to Q and E. Works better when emulate numpad is used.

7 years agomask/image editor now works for border select and lasso
Campbell Barton [Thu, 26 Jul 2012 09:54:52 +0000 (09:54 +0000)]
mask/image editor now works for border select and lasso

7 years agoMerging r49226 through r49238 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 26 Jul 2012 09:51:28 +0000 (09:51 +0000)]
Merging r49226 through r49238 from trunk into soc-2011-tomato

7 years agoShortcuts to set solver frames: alt-1 for Keyframe A, alt-2 for keyframe B.
Sergey Sharybin [Thu, 26 Jul 2012 09:50:27 +0000 (09:50 +0000)]
Shortcuts to set solver frames: alt-1 for Keyframe A, alt-2 for keyframe B.

7 years agoFix for [#32185] "Incorrect physics for LibLoaded dupligroups" reported by Daniel...
Mitchell Stokes [Thu, 26 Jul 2012 09:35:52 +0000 (09:35 +0000)]
Fix for [#32185] "Incorrect physics for LibLoaded dupligroups" reported by Daniel Stokes (Kupoman). I'm not sure if this is the "correct" fix, but it at least allows all physics objects to be evaluated at least once by the new environment. This allows the new environment to sync up physics shapes for static objects.

7 years agoFix #32123: Blender crashes when zoomed in and rotating around 3d cursor
Sergey Sharybin [Thu, 26 Jul 2012 09:29:37 +0000 (09:29 +0000)]
Fix #32123: Blender crashes when zoomed in and rotating around 3d cursor

Fix deadlock in drawArc caused by precision error. Helper widget could
look wrong, that's because of not enough precision of floats used by
Blender.

This is known issue of Blender and wouldn't consider a bug.

7 years agoimage histogram/sample line couldn't show HDR colors. now allow zooming the view...
Campbell Barton [Thu, 26 Jul 2012 09:06:23 +0000 (09:06 +0000)]
image histogram/sample line couldn't show HDR colors. now allow zooming the view to see colors up to 10.0

7 years agoFix #32138: material trancpareny setting
Sergey Sharybin [Thu, 26 Jul 2012 08:57:41 +0000 (08:57 +0000)]
Fix #32138: material trancpareny setting

7 years agoFix #32139: Making vertex parent hides faces
Sergey Sharybin [Thu, 26 Jul 2012 08:41:55 +0000 (08:41 +0000)]
Fix #32139: Making vertex parent hides faces

Call normals update and re-tesselate the BMesh before generating
derived mesh for vertex parent. this is needed for proper display
of mesh in edit mode.

Tried to use EDBM_update_generic, but it gave artifacts due to it
doesn't update normals. usually it's not a problem, because it's used
at the end of operator and all needed data is handles by depsgraph.
It doesn't work for vertex parent because derived mesh is being
created here outside of generic object update, so one extra manual
step seems to be needed here.

7 years agoFix [#31609] save .EXR defaults to uncompressed, causes segfault.
Sv. Lockal [Wed, 25 Jul 2012 23:28:17 +0000 (23:28 +0000)]
Fix [#31609] save .EXR defaults to uncompressed, causes segfault.

IMB_filterN now generates 32-bit int representation of float images for mipmap generation if such representation does not exist.

7 years agocode cleanup: use BKE_pain_ prefix for paint funcs. also minor style edits
Campbell Barton [Wed, 25 Jul 2012 22:37:52 +0000 (22:37 +0000)]
code cleanup: use BKE_pain_ prefix for paint funcs. also minor style edits

7 years agomask/image viewer now works with non 1:1 image aspect, editing masks in the image...
Campbell Barton [Wed, 25 Jul 2012 20:39:49 +0000 (20:39 +0000)]
mask/image viewer now works with non 1:1 image aspect, editing masks in the image viewer should be generally usable now though still some TODO's left.

7 years agoMerging r49223 through r49225 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 25 Jul 2012 20:28:06 +0000 (20:28 +0000)]
Merging r49223 through r49225 from trunk into soc-2011-tomato

7 years agoMake Cycles compatible with older boost versions.
Sergey Sharybin [Wed, 25 Jul 2012 20:25:47 +0000 (20:25 +0000)]
Make Cycles compatible with older boost versions.

Patch by IRIE Shinsuke, thanks!

7 years agoSelect Linked no works from Datablocks outliner view as well
Sergey Sharybin [Wed, 25 Jul 2012 20:17:38 +0000 (20:17 +0000)]
Select Linked no works from Datablocks outliner view as well

7 years agoMerging r49212 through r49222 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 25 Jul 2012 19:46:23 +0000 (19:46 +0000)]
Merging r49212 through r49222 from trunk into soc-2011-tomato

7 years agoImplement operator to select linked data from outliner
Sergey Sharybin [Wed, 25 Jul 2012 19:45:34 +0000 (19:45 +0000)]
Implement operator to select linked data from outliner

Supports selecting using object data, material and library.

Would be nice to hide this menu item from menus appearing for
datablocks which does not support such a selection, but that
could be done separately.

7 years agoSeparate Select Linked operator into smaller function which could be reused.
Sergey Sharybin [Wed, 25 Jul 2012 19:45:31 +0000 (19:45 +0000)]
Separate Select Linked operator into smaller function which could be reused.
Should be no functional changes.

7 years agomask transform now works in the image space
Campbell Barton [Wed, 25 Jul 2012 19:36:59 +0000 (19:36 +0000)]
mask transform now works in the image space

7 years agoupdating blenderplayer stubs after spaceimage set mask function
Dalai Felinto [Wed, 25 Jul 2012 18:42:52 +0000 (18:42 +0000)]
updating blenderplayer stubs after spaceimage set mask function

7 years agoFix #32004: Up/down arrow keys can move index out of actual range of template_list
Sergey Sharybin [Wed, 25 Jul 2012 16:53:56 +0000 (16:53 +0000)]
Fix #32004: Up/down arrow keys can move index out of actual range of template_list

Fixed by clamping current index value to 0..list_size-1 range in list event
handling function. This shouldn't give any regressions since this clamping\
happens only after template was already displayed so items counter should be
correct here.

It is still possible to set index to meaningless value by directly changing
the index value via python, but that's not in the scope of interface engine
and not currently considered a bug.

7 years agodon't pass the same value to axis_angle_to_quat() for axis & quat.
Campbell Barton [Wed, 25 Jul 2012 16:46:46 +0000 (16:46 +0000)]
don't pass the same value to axis_angle_to_quat() for axis & quat.
-/-This line, and those below, will be ignored--

M    mathutils_Quaternion.c

7 years agoFix regression introduced in svn rev49122
Sergey Sharybin [Wed, 25 Jul 2012 16:37:24 +0000 (16:37 +0000)]
Fix regression introduced in svn rev49122

Would rather have mathematical functions consistent from using
the same vector for input and output values point of view then
introducing questionable optimizations.

7 years agomatch function names for clip/image spaces
Campbell Barton [Wed, 25 Jul 2012 16:30:53 +0000 (16:30 +0000)]
match function names for clip/image spaces

7 years agofix some crashes with mask/image transfor, a few more areas working now.
Campbell Barton [Wed, 25 Jul 2012 16:03:08 +0000 (16:03 +0000)]
fix some crashes with mask/image transfor, a few more areas working now.

7 years agoMerging r49191 through r49211 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 25 Jul 2012 15:07:47 +0000 (15:07 +0000)]
Merging r49191 through r49211 from trunk into soc-2011-tomato

7 years agoProxies building progress bar used to be displayed wrong in cases
Sergey Sharybin [Wed, 25 Jul 2012 15:05:50 +0000 (15:05 +0000)]
Proxies building progress bar used to be displayed wrong in cases
when start scene frame is not 1.

7 years agoadd mask keymap to image window.
Campbell Barton [Wed, 25 Jul 2012 14:46:38 +0000 (14:46 +0000)]
add mask keymap to image window.

debug prints for events when --debug-events is used to help track down why a key is/isnt used.

7 years agoTomato Cycles: resolve slowdown introduced by interactive samples view commit
Sergey Sharybin [Wed, 25 Jul 2012 14:29:14 +0000 (14:29 +0000)]
Tomato Cycles: resolve slowdown introduced by interactive samples view commit

Update samples displayign in the interface once in a whiel only
(currently once in 1 sec). This still keeps rendering interactive
enough for artists and it eliminates slowdown caused by constant
uploading sampels from GPU to host.

This also allowed to get rid of hack with storing render result
in render buffers, due to it's not so big overhead ow to create
render result when sample needs to be updated.

Tests made with different files shows that now render speed is
really close to oroginal speed from before we started hackign
into this stuff.

There still some issues with interactive update when rendering
several render layers, but that seems to be irrelivant to all
this sampels commtis, so woudl look into this as a separate
patch.

7 years agoedit fix for [#32177] - drawing text isnt really needed for selections.
Campbell Barton [Wed, 25 Jul 2012 13:55:16 +0000 (13:55 +0000)]
edit fix for [#32177] - drawing text isnt really needed for selections.

7 years agomask now draws in the image view, misc minor edits.
Campbell Barton [Wed, 25 Jul 2012 13:44:59 +0000 (13:44 +0000)]
mask now draws in the image view, misc minor edits.

7 years agoadd mask buttons into the image space
Campbell Barton [Wed, 25 Jul 2012 13:44:07 +0000 (13:44 +0000)]
add mask buttons into the image space

7 years agosplit out mask UI into their own classes.
Campbell Barton [Wed, 25 Jul 2012 13:09:12 +0000 (13:09 +0000)]
split out mask UI into their own classes.

7 years agoFix [#32177] 'Display Pivot' segfaults blender (Rigid Body Constraint + 3dview)
Bastien Montagne [Wed, 25 Jul 2012 12:55:55 +0000 (12:55 +0000)]
Fix [#32177] 'Display Pivot' segfaults blender (Rigid Body Constraint + 3dview)

draw_rigid_body_pivot() didn't check it could actualy use the given ob_wire_col...

Also silenced a compiler warning, and removed (replaced) a potential dengerous pointer cast (char *[4] -> int* is not safe on 64bit machines!).

7 years agomask UI for space image
Campbell Barton [Wed, 25 Jul 2012 12:15:22 +0000 (12:15 +0000)]
mask UI for space image

7 years agoFix #31419, Changing Boid-Properties impossible with pinned Particle Menu.
Lukas Toenne [Wed, 25 Jul 2012 12:07:19 +0000 (12:07 +0000)]
Fix #31419, Changing Boid-Properties impossible with pinned Particle Menu.

Boid operators now retrieve the particle settings from the context directly, instead of always using the particle system (which is only needed to get to the settings anyway). When particle settings are pinned there is no particle system in the context, causing the operators to fail.

7 years agoFix #31339, Modifying mesh destroys particle system.
Lukas Toenne [Wed, 25 Jul 2012 11:26:10 +0000 (11:26 +0000)]
Fix #31339, Modifying mesh destroys particle system.

The particle system modifier has to ensure tesselation before testing for topology changes. It compares the number of vertices, edges and tesselation faces to the previously stored values.

Note that this test only detects a subset of actual topology changes (where the number of elements differs), but this is a known limitation we have to live with for now.

7 years agoimage space now has a mode for view/paint/mask editing.
Campbell Barton [Wed, 25 Jul 2012 11:25:10 +0000 (11:25 +0000)]
image space now has a mode for view/paint/mask editing.

7 years agocode cleanup: comment deprecated defines
Campbell Barton [Wed, 25 Jul 2012 10:55:45 +0000 (10:55 +0000)]
code cleanup: comment deprecated defines

7 years agoDefocus node.
Jeroen Bakker [Wed, 25 Jul 2012 10:46:19 +0000 (10:46 +0000)]
Defocus node.

added some maxblur optimizations. Per tile the max blur is calcualted,
will save some unneeded CPU/GPU loops
GPU: 1:09 => 0:21
CPU: 1:50 => 0:35

7 years agowip mask/image commit, mostly internal function & added some TODO's
Campbell Barton [Wed, 25 Jul 2012 10:39:54 +0000 (10:39 +0000)]
wip mask/image commit, mostly internal function & added some TODO's

7 years agoAdded a missing forward declaration, causing compiler error in r49192.
Lukas Toenne [Wed, 25 Jul 2012 10:37:31 +0000 (10:37 +0000)]
Added a missing forward declaration, causing compiler error in r49192.

7 years agoFix #32178, Adding "File Output" node crashes when a video output type is selected.
Lukas Toenne [Wed, 25 Jul 2012 10:25:53 +0000 (10:25 +0000)]
Fix #32178, Adding "File Output" node crashes when a video output type is selected.

The image format for the node and sockets were not properly initialized. The file output node only supports image types (not movies), so it needs to check for proper format type after copying from the render settings.

7 years agomove ED_image functions into their own file.
Campbell Barton [Wed, 25 Jul 2012 10:15:24 +0000 (10:15 +0000)]
move ED_image functions into their own file.

7 years agosvn merge ^/trunk/blender -r49186:49190
Campbell Barton [Wed, 25 Jul 2012 09:06:44 +0000 (09:06 +0000)]
svn merge ^/trunk/blender -r49186:49190

7 years agofix annoying bug where image open from ID template didn't open in the existing images...
Campbell Barton [Wed, 25 Jul 2012 09:04:59 +0000 (09:04 +0000)]
fix annoying bug where image open from ID template didn't open in the existing images path.

7 years agoBGE: A better fix for using the Action Actuator with the Actuator Sensor. This one...
Mitchell Stokes [Wed, 25 Jul 2012 04:29:48 +0000 (04:29 +0000)]
BGE: A better fix for using the Action Actuator with the Actuator Sensor. This one still allows frame properties to be updated after receiving a negative pulse. This also fixes bug [#32179] "Action Actuator in Loop End stops updating the Frame Property after no longer receives positive signal" reported by Dalai.

7 years agosvn merge ^/trunk/blender -r49177:49186
Campbell Barton [Tue, 24 Jul 2012 21:11:22 +0000 (21:11 +0000)]
svn merge ^/trunk/blender -r49177:49186

7 years agochange behavior of ediutmesh separate not to cleanup geometry - its not really needed...
Campbell Barton [Tue, 24 Jul 2012 21:07:29 +0000 (21:07 +0000)]
change behavior of ediutmesh separate not to cleanup geometry - its not really needed and caused a bug with some of my recent edits.

If its important it could be added back but dont think its worthwhile.

7 years agoTomato Cycles: speedup realtime samples update
Sergey Sharybin [Tue, 24 Jul 2012 20:54:06 +0000 (20:54 +0000)]
Tomato Cycles: speedup realtime samples update

Copy pixels for combined pass only when updating tile after each sample
skipping all other passes. Behaves noticeable faster on scenes with
lots passes used.

Would check further tomorrow from studio whether stuff could be speed
up further.

7 years agomove mask and draw settings into its own struct to be shared between spaces.
Campbell Barton [Tue, 24 Jul 2012 20:33:55 +0000 (20:33 +0000)]
move mask and draw settings into its own struct to be shared between spaces.

7 years agoTomato Cycles: fix for memory overflow issue
Sergey Sharybin [Tue, 24 Jul 2012 20:05:00 +0000 (20:05 +0000)]
Tomato Cycles: fix for memory overflow issue

This fixes memory overflow caused by creating render result every time
RenderResult is creating when updating sample and not being freed until
tile is fully rendered.

Solved in probably not best way -- RenderResult is being stored in
RenderBuffers, so it's creating only once.

This solves memory issues, but while was looking into this issue
discovered dramatic slowdown caused by samples update in some files
from mango svn.

Solving this slowdown is becoming first priority from now on.

7 years agoinitial commit for supporting masks in the image view, currently active seq strip...
Campbell Barton [Tue, 24 Jul 2012 19:29:24 +0000 (19:29 +0000)]
initial commit  for supporting masks in the image view, currently active seq strip is used as the mask source.

also unify mask drawing code for clip/sequencer/image

7 years agoFix #32165: context_set_value didn't make an undo push when changing scene settings
Sergey Sharybin [Tue, 24 Jul 2012 15:51:26 +0000 (15:51 +0000)]
Fix #32165: context_set_value didn't make an undo push when changing scene settings

This lead to such issues as changing mesh selection mode wasn't doing undo push
when it need to.

7 years agoDebug option for guarded allocation: store name of original datablock
Sergey Sharybin [Tue, 24 Jul 2012 15:17:03 +0000 (15:17 +0000)]
Debug option for guarded allocation: store name of original datablock
when using MEM_dupallocN. This helps figuring out issues with non-freed
dup_alloc blocks,

Simply enable DEBUG_MEMDUPLINAME in mallocn.c file.

7 years agosvn merge ^/trunk/blender -r49175:49177
Campbell Barton [Tue, 24 Jul 2012 13:02:54 +0000 (13:02 +0000)]
svn merge ^/trunk/blender -r49175:49177

7 years agoadd prints for texture loading (we're running into texture limit a lot so its handy...
Campbell Barton [Tue, 24 Jul 2012 13:01:55 +0000 (13:01 +0000)]
add prints for texture loading (we're running into texture limit a lot so its handy to see whats actually loading from the blend files)

7 years agosvn merge ^/trunk/blender -r49167:49175
Campbell Barton [Tue, 24 Jul 2012 12:38:37 +0000 (12:38 +0000)]
svn merge ^/trunk/blender -r49167:49175

7 years agofix/workaround for glitch with node editing active texture bug - where a node texture...
Campbell Barton [Tue, 24 Jul 2012 12:35:41 +0000 (12:35 +0000)]
fix/workaround for glitch with node editing active texture bug - where a node texture in a group could get `stuck` and the buttons UI wouldnt update to other active nodes.

Files saved with this error will still give problems, toggling group edit will fix.

7 years agoCorrection to previous commit -- make sure float buffer is not being changed
Sergey Sharybin [Tue, 24 Jul 2012 12:18:40 +0000 (12:18 +0000)]
Correction to previous commit -- make sure float buffer is not being changed
while color management transformations are running.

7 years agoFix for RNA struct registration: the bpy_class_validate function would only check...
Lukas Toenne [Tue, 24 Jul 2012 12:00:02 +0000 (12:00 +0000)]
Fix for RNA struct registration: the bpy_class_validate function would only check the immediate functions/properties of the pointer struct type, but not potential base structs. Now it first validates the base struct recursively before the actual properties of the registered class.

Does not have any effect for current registerable types (Operator, Menu, Panel, etc.), since none of those actually have a base struct, but will be required for future types with an actual hierarchy (custom nodes).

7 years agoColor management: fix memory corruption when using border rendering
Sergey Sharybin [Tue, 24 Jul 2012 11:49:21 +0000 (11:49 +0000)]
Color management: fix memory corruption when using border rendering

Image's get render result function used to modify ImBuf directly,
without making needed invalidates to color management cache when
it's needed.

7 years agowarn when getting a context member fails because of type mismatch
Campbell Barton [Tue, 24 Jul 2012 10:28:29 +0000 (10:28 +0000)]
warn when getting a context member fails because of type mismatch

7 years agogeneralize mask poll functions and sequencer mask code.
Campbell Barton [Tue, 24 Jul 2012 09:53:29 +0000 (09:53 +0000)]
generalize mask poll functions and sequencer mask code.

7 years agoHopefully Blender compiles again with MSVC
Sergey Sharybin [Tue, 24 Jul 2012 09:08:27 +0000 (09:08 +0000)]
Hopefully Blender compiles again with MSVC

Seems to be a conflict between different areas defining
round() function.

7 years agoMerging r49149 through r49167 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 24 Jul 2012 09:03:40 +0000 (09:03 +0000)]
Merging r49149 through r49167 from trunk into soc-2011-tomato

7 years agoFix corrupted frames producing by fog glare node
Sergey Sharybin [Tue, 24 Jul 2012 09:00:58 +0000 (09:00 +0000)]
Fix corrupted frames producing by fog glare node

Seems to be simple non-initialized buffer used in math, but additional
check would be welcome here.

At least now result doesn't seems to be corrupted and seems to behaving
the same way as non-tile compositor.

7 years agono need for renaming actions that are not linked anywhere
Dalai Felinto [Tue, 24 Jul 2012 07:08:33 +0000 (07:08 +0000)]
no need for renaming actions that are not linked anywhere
talked with Joshua Leung (aligorith) and he agreed on that

7 years agouse 2d vectors for mask point access.
Campbell Barton [Mon, 23 Jul 2012 22:39:26 +0000 (22:39 +0000)]
use 2d vectors for mask point access.

7 years agoTomato Cycles: code reshuffle to make data flow more obvious
Sergey Sharybin [Mon, 23 Jul 2012 22:06:43 +0000 (22:06 +0000)]
Tomato Cycles: code reshuffle to make data flow more obvious

Should be no functional changes

7 years agomask layer rna api: add exception when removing incorrect masklayer from mask, add...
Campbell Barton [Mon, 23 Jul 2012 21:47:11 +0000 (21:47 +0000)]
mask layer rna api: add exception when removing incorrect masklayer from mask, add mask.layers.clear()

7 years agoTomato Cycles: deadlock with save buffers enabled should be resolved now
Sergey Sharybin [Mon, 23 Jul 2012 20:46:27 +0000 (20:46 +0000)]
Tomato Cycles: deadlock with save buffers enabled should be resolved now

7 years agoBGE: Bringing over the dynamic lamp properties fixes from Cucumber (thanks to Daniel...
Mitchell Stokes [Mon, 23 Jul 2012 20:24:35 +0000 (20:24 +0000)]
BGE: Bringing over the dynamic lamp properties fixes from Cucumber (thanks to Daniel Stokes). This means the following KX_LightObject properties now have support when using GLSL materials (in addition to those already supported):
  * distance
  * lin_attenuation
  * quad_attenuation
  * spotsize
  * spotblend

7 years agoGrrr... Minkowski... :p
Bastien Montagne [Mon, 23 Jul 2012 19:08:02 +0000 (19:08 +0000)]
Grrr... Minkowski... :p

7 years agoTomato Cycles: update buffers after sample wasfinished for CUDA devices
Sergey Sharybin [Mon, 23 Jul 2012 19:06:04 +0000 (19:06 +0000)]
Tomato Cycles: update buffers after sample wasfinished for CUDA devices

7 years agoTomato Cycles: update buffers on every sample finished
Sergey Sharybin [Mon, 23 Jul 2012 18:45:29 +0000 (18:45 +0000)]
Tomato Cycles: update buffers on every sample finished

Was requested by Mango team to improve feedback during rendering.

Known issues:
- Updating of samples are accumulative, meaning that visually samples
  would be dark in the beginning becoming brighter during progress.
- Could give some % of slowdown, so probably should be disabled in
  background mode.

Still to come: update of samples when using CUDA and OpenCL.

7 years agoMerging r49146 through r49148 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 23 Jul 2012 18:28:00 +0000 (18:28 +0000)]
Merging r49146 through r49148 from trunk into soc-2011-tomato

7 years agoKeying: apply garbage / core mattes after clamping
Sergey Sharybin [Mon, 23 Jul 2012 18:27:06 +0000 (18:27 +0000)]
Keying: apply garbage / core mattes after clamping

Applying this mattes before clamping produced ugly outline around
matte boundaries.

7 years agosvn merge ^/trunk/blender -r49143:49145
Campbell Barton [Mon, 23 Jul 2012 16:43:48 +0000 (16:43 +0000)]
svn merge ^/trunk/blender -r49143:49145

7 years agoview3d - enable background images and footage with `Only Render`, useful for previewi...
Campbell Barton [Mon, 23 Jul 2012 16:41:04 +0000 (16:41 +0000)]
view3d - enable background images and footage with `Only Render`, useful for previewing models with footage.

7 years agosvn merge ^/trunk/blender -r49118:49143
Campbell Barton [Mon, 23 Jul 2012 15:03:54 +0000 (15:03 +0000)]
svn merge ^/trunk/blender -r49118:49143

7 years agofix for cycles bug in localview: see r48269, bits used for localview gave collisions...
Campbell Barton [Mon, 23 Jul 2012 14:48:19 +0000 (14:48 +0000)]
fix for cycles bug in localview: see r48269, bits used for localview gave collisions with PathRayFlag's

7 years agoTomato Cycles: ability to cancel rendering before tile was fully rendered
Sergey Sharybin [Mon, 23 Jul 2012 13:51:29 +0000 (13:51 +0000)]
Tomato Cycles: ability to cancel rendering before tile was fully rendered

Seems this requred cuda context synchronization after every finished sample,
which could give few percent of slowdown. In test made here it was only minor
slowdown, so think it's pretty much acceptable for now.

7 years agoBugfix [#31994] Blend from Shape "Add" mode incorrectly added the full mesh
Joshua Leung [Mon, 23 Jul 2012 13:33:09 +0000 (13:33 +0000)]
Bugfix [#31994] Blend from Shape "Add" mode incorrectly added the full mesh
shape instead of just the difference/deltas applied by the source shape

Apparently this was a regression from that crept in during the BMesh merge. I've
just restored the pre-BMesh method, adapted for the BMesh style.

Also, removed a somewhat superfluous (?) copy at the end of each step (from co
back to sco). It didn't seem to be serving any purpose (i.e. we're not trying to
modify the source shape at all).

7 years agoTomato Cycles: rendering can be cencelled before tile is fully rendered
Sergey Sharybin [Mon, 23 Jul 2012 13:01:30 +0000 (13:01 +0000)]
Tomato Cycles: rendering can be cencelled before tile is fully rendered

Probably there;s a proper way to check whether rendering was requested
to cancel, but couldn't see any clearer ways to do that.

7 years agoFix [#32163] vertex groups get wiped.
Bastien Montagne [Mon, 23 Jul 2012 12:27:26 +0000 (12:27 +0000)]
Fix [#32163] vertex groups get wiped.

Usual "persistent" operator option... I guess there are still a few others that keep hiding in the dust! :)

7 years agoMinor style cleanup - remove invalid/unneeded comments
Joshua Leung [Mon, 23 Jul 2012 12:22:09 +0000 (12:22 +0000)]
Minor style cleanup - remove invalid/unneeded comments

7 years agoPortuguese is now over 60% (also finisehd old portuguse_brazilian->portuguese move).
Bastien Montagne [Mon, 23 Jul 2012 12:10:21 +0000 (12:10 +0000)]
Portuguese is now over 60% (also finisehd old portuguse_brazilian->portuguese move).