9 years agoOSX: make the progressbar in dock a gradient, to give it a more matching 3D appearance
Jens Verwiebe [Thu, 12 Jul 2012 11:35:51 +0000 (11:35 +0000)]
OSX: make the progressbar in dock a gradient, to give it a more matching 3D appearance

9 years agoFix for metaballs used as dupli-object for particle
Sergey Sharybin [Thu, 12 Jul 2012 11:22:46 +0000 (11:22 +0000)]
Fix for metaballs used as dupli-object for particle

It used to be a dependency cycle which lead to incorrect or
missed tesselation on some circumstances.

Seems to be introduced in rev41627.

This commit seems to behaving properly on simple cases,
probably could fail in some other cases, so need to be
checked further.

Discovered when was looking into:
    #32034: Metaball used as render object(group) for particle will display wire only.

9 years agoFix #32041: Empty display size is not taken into account for centering view
Sergey Sharybin [Thu, 12 Jul 2012 10:27:22 +0000 (10:27 +0000)]
Fix #32041: Empty display size is not taken into account for centering view

9 years agoFix #32050: UV map and game engine property cause crash
Sergey Sharybin [Thu, 12 Jul 2012 09:56:18 +0000 (09:56 +0000)]
Fix #32050: UV map and game engine property cause crash

9 years agoadd bli rect min/max functions.
Campbell Barton [Thu, 12 Jul 2012 09:24:17 +0000 (09:24 +0000)]
add bli rect min/max functions.

9 years agofeather points now align with mask outline when called with same resolution.
Campbell Barton [Thu, 12 Jul 2012 09:03:45 +0000 (09:03 +0000)]
feather points now align with mask outline when called with same resolution.

9 years ago- add a temp var for edge scanfill (fits in 4 bytes alignment - won't increase mem...
Campbell Barton [Thu, 12 Jul 2012 08:34:59 +0000 (08:34 +0000)]
- add a temp var for edge scanfill (fits in 4 bytes alignment - won't increase mem usage)
- make keyindex an unsigned int, since its used to store vertex indices
- use BLI_in_rcti_v for IN_2D_VERT_SCROLL and IN_2D_HORIZ_SCROLL

9 years agoadd bli rect funcs BLI_rctf_init_minmax, BLI_rcti_init_minmax
Campbell Barton [Thu, 12 Jul 2012 08:31:23 +0000 (08:31 +0000)]
add bli rect funcs BLI_rctf_init_minmax, BLI_rcti_init_minmax

9 years agoFix #32082: face textures lost when linking scene from another file
Sergey Sharybin [Thu, 12 Jul 2012 07:30:50 +0000 (07:30 +0000)]
Fix #32082: face textures lost when linking scene from another file

Issue was caused by missing expand for MTexPoly-s tpages.

9 years agoFix crash on creating tooltip for sequencer's gl preview mode
Sergey Sharybin [Thu, 12 Jul 2012 07:15:32 +0000 (07:15 +0000)]
Fix crash on creating tooltip for sequencer's gl preview mode

Issue was caused by missed value for this enum, fixed by adding check
in tooltip generation.

Default value for this enum should also be fixed, but that would be
in separated commit.

9 years agoFix normals around root nodes of skin modifier output.
Nicholas Bishop [Thu, 12 Jul 2012 05:55:07 +0000 (05:55 +0000)]
Fix normals around root nodes of skin modifier output.

The direction for these are flipped from other end caps, so add a root
flag to indicate whether the cap polygon's vertex output order should be

Fixes bug [#32079] Skin-modifier calculates root's normals wrong

9 years agoReadme and Release Log Links:
Thomas Dinges [Wed, 11 Jul 2012 21:57:11 +0000 (21:57 +0000)]
Readme and Release Log Links:
* Update to 2.64

9 years agoFix for [#32078] Rendering output to Frame Server is broken.
Thomas Dinges [Wed, 11 Jul 2012 21:42:06 +0000 (21:42 +0000)]
Fix for [#32078] Rendering output to Frame Server is broken.
* BKE_frameserver_append() always returned 0, which caused the frameserver to crash after the first frame was requested. Patch by "alas2718"

9 years agoCompositor:
Jeroen Bakker [Wed, 11 Jul 2012 20:51:00 +0000 (20:51 +0000)]
re-optimized the Defocus node.
 * localized MemoryBuffers
 * removed read(x,y) calls
 * shuffled some lines in the execute pixel
 * added a readNoCheck function to the memorybuffer (only use this when
you are certain you are reading a pixel inside the memorybuffer.

9 years agoability to calculate mask curve and feather with predefined resolution (*_ex functions)
Campbell Barton [Wed, 11 Jul 2012 20:18:46 +0000 (20:18 +0000)]
ability to calculate mask curve and feather with predefined resolution (*_ex functions)

9 years agoCompositor:
Jeroen Bakker [Wed, 11 Jul 2012 19:32:32 +0000 (19:32 +0000)]

Added OpenCL kernel for the directional blur.

This operation always uses the full input image. In the current
implementation this input image is not cached on the device.

Future enhancement could be to cache it on the available opencl devices

9 years agoFix mistmatched new[] and dlete used in node highlightion
Sergey Sharybin [Wed, 11 Jul 2012 18:46:27 +0000 (18:46 +0000)]
Fix mistmatched new[] and dlete used in node highlightion

9 years agovector versions of BLI_in_rctf / BLI_in_rcti, (BLI_in_rctf_v, BLI_in_rcti_v)
Campbell Barton [Wed, 11 Jul 2012 18:17:48 +0000 (18:17 +0000)]
vector versions of BLI_in_rctf / BLI_in_rcti, (BLI_in_rctf_v, BLI_in_rcti_v)
use where possible.

9 years agoFix #32058, Crash when using ParticleInstance with an hidden particle system.
Lukas Toenne [Wed, 11 Jul 2012 16:08:04 +0000 (16:08 +0000)]
Fix #32058, Crash when using ParticleInstance with an hidden particle system.

The instance modifier needs to access the derived mesh data of the particle parent object to create stuff on the hairs, however the dm does not exist when the particle modifier is hidden. This is a general design problem: Objects accessing another object's derived mesh data is unsafe. For now it just checks valid dm pointer and uses identity transform if NULL.

9 years agoPatch #32074: Fix compilation with boost 1.50
Sergey Sharybin [Wed, 11 Jul 2012 14:48:47 +0000 (14:48 +0000)]
Patch #32074: Fix compilation with boost 1.50

This patch switches from boost's filesystem v2 to v3.

This should be completely smooth due to filesystem v3 is pretty
old already.

Patch by Sven-Hendrik Haase (aka svenstaro), thanks!

9 years agocode cleanup: use const for passing vectors
Campbell Barton [Wed, 11 Jul 2012 12:42:02 +0000 (12:42 +0000)]
code cleanup: use const for passing vectors

9 years agomissed this change from patch [#30274]
Campbell Barton [Wed, 11 Jul 2012 12:35:50 +0000 (12:35 +0000)]
missed this change from patch [#30274]

9 years agoStyle cleanup
Sergey Sharybin [Wed, 11 Jul 2012 11:31:14 +0000 (11:31 +0000)]
Style cleanup

9 years agoCompositor read buffers work directly on the memory buffer.
Jeroen Bakker [Wed, 11 Jul 2012 10:45:56 +0000 (10:45 +0000)]
Compositor read buffers work directly on the memory buffer.
This way we can remove the memoryBuffers parameter in the executePixels,
and (de)initializeTileData methods

9 years agoMinor interface change: space between vertex group specials menu and up/down buttons
Sergey Sharybin [Wed, 11 Jul 2012 10:41:26 +0000 (10:41 +0000)]
Minor interface change: space between vertex group specials menu and up/down buttons

9 years agoOperator to move mask layers up and down in the list
Sergey Sharybin [Wed, 11 Jul 2012 10:37:38 +0000 (10:37 +0000)]
Operator to move mask layers up and down in the list

9 years agopatch [#30274] XIM improvement (non-latin support + connection recovery)
Campbell Barton [Wed, 11 Jul 2012 08:31:54 +0000 (08:31 +0000)]
patch [#30274] XIM improvement (non-latin support + connection recovery)
from Shinsuke Irie (irie)

(from the tracker submission)

- allow us to input non-latin languages such as Japanese/Chinese
- recover XIM connection and its input contexts when XIM server restarted

Currently it supports only "root window" style input, while most people (and I) want "over the spot" or "on the spot" style one. Probably the implementation of "over the spot" or "on the spot" style becomes much complicated, because XIM server requires the coordinates of current cursor location relative to the screen in order to show the candidate window in appropriate position.

9 years agoFixes for keying screen:
Sergey Sharybin [Wed, 11 Jul 2012 07:46:36 +0000 (07:46 +0000)]
Fixes for keying screen:

- Fixed issue with black areas appearing when too many sites
  are defined.

  Currently tweak epsilon value for this, but probably actual
  issue is somewhere else, can't see it yet.

- Fixed issue with bright pixels appearing in the sites, was
  caused by accumulating color for pixels, which isn't needed.

  Once color for pixel was set stop iterating via triangles.
  Could give some speedup too.

- Ignore markers which are outside of frame bounds, they were
  giving bad triangulation and they can't affect on gradient
  due to color fir such sites is not known.

- Sites used to be created at position without track offset
  taken into account.

9 years agoFix for issue [#31981] for tiles opencl:
Monique Dewanchand [Tue, 10 Jul 2012 20:46:42 +0000 (20:46 +0000)]
Fix for issue [#31981] for tiles opencl:
initialize radius with correct value

9 years agoimproved node frame text alignment and use default label font (not monospaced)
Campbell Barton [Tue, 10 Jul 2012 20:44:25 +0000 (20:44 +0000)]
improved node frame text alignment and use default label font (not monospaced)

9 years agofix for Tiles bug - opencl:
Monique Dewanchand [Tue, 10 Jul 2012 20:33:24 +0000 (20:33 +0000)]
fix for Tiles bug - opencl:
[#31981] Bokeh Blur Node - Size input socket does not accept input from Value Input node, Values smaller than 0.1 will produce black output

9 years agoFix for tiles bug:
Monique Dewanchand [Tue, 10 Jul 2012 20:21:13 +0000 (20:21 +0000)]
Fix for tiles bug:
[#31981] Bokeh Blur Node - Size input socket does not accept input from Value Input node, Values smaller than 0.1 will produce black output

9 years agoScaling non-power-of-two (NPOT) textures to powers of two is really time consuming...
Mitchell Stokes [Tue, 10 Jul 2012 19:23:57 +0000 (19:23 +0000)]
Scaling non-power-of-two (NPOT) textures to powers of two is really time consuming and not necessary on graphics cards that can support NPOT textures. So, if the graphics card has NPOT texture support, don't bother scaling. If this patch causes issues, it can always be reverted and applied to Swiss instead.

9 years agoBump Blender version, so despill balance would stay untouched in
Sergey Sharybin [Tue, 10 Jul 2012 15:35:25 +0000 (15:35 +0000)]
Bump Blender version, so despill balance would stay untouched in
rare cases when it was intentionally set to 0.

9 years agoMake grumpy gcc in "overwarning" mode happy again...
Bastien Montagne [Tue, 10 Jul 2012 15:28:32 +0000 (15:28 +0000)]
Make grumpy gcc in "overwarning" mode happy again...

9 years agoKeying screen: small fixes and improvements from tomato
Sergey Sharybin [Tue, 10 Jul 2012 14:53:36 +0000 (14:53 +0000)]
Keying screen: small fixes and improvements from tomato

- Fixed issues with calculating matte with balance != 0.5
  It used to be used concave combination of minimal and maximal
  channel values which could be inpredictable.
  Use concave combination of two non-major channels sorted
  by their index, so such combination would always use the same
  coefficients for particular non-major channels.

- Added despill balance slider which defines balance between
  non-major channels used for calculating average of two
  colors. Difference between average value and pixel value of
  major screen channel defines amount of despill. Balance of
  0.5 gives the same behavior as it was before this slider
  was added.

svn merge -r48678:48679 -r48789:48790 ^/branches/soc-2011-tomato

9 years agoImproved cache management for movie clips from tomato branch
Sergey Sharybin [Tue, 10 Jul 2012 14:43:50 +0000 (14:43 +0000)]
Improved cache management for movie clips from tomato branch

Replace pseudo-LRU approach of determining which buffer
to remove when running out of space allowed for cache
with approach which would remove the frame which is most
far away from newly added frame.

This is still a bit tricky because it's impossible to
distinguish which frame to delete in situation of:


it's either user wants to extend left segment of cached
frames and buffers from right segment should be removed
or he wants to join this two segments and in that case
buffers from right segment should be removed.

Would need a bit more investigation which situation
is more common in general usecase.

Additional changes:

- Cleanup some memutil files (which are familiar to cache limiter)

- Add option to make moviecache verbose. If DEBUG_MESSAGES is
  defined in moviecache.c detailed logs would be printed to the

- Movie caches are now named which helps reading debug messages.

9 years agoMovie Clip Node: skip putting frame to cache when rendering animation
Sergey Sharybin [Tue, 10 Jul 2012 14:42:37 +0000 (14:42 +0000)]
Movie Clip Node: skip putting  frame to cache when rendering animation

This helps keeping memory usage low and have cached segments untouched
when mixing stuff like tracking and rendering -- now you wouldn't be
need to re-cache segment you're working on after rendering.

svn merge -r48550:48552 ^/branches/soc-2011-tomato

9 years agoFix for center calculation in node transforms. This now uses the actual barycenter...
Lukas Toenne [Tue, 10 Jul 2012 13:50:51 +0000 (13:50 +0000)]
Fix for center calculation in node transforms. This now uses the actual barycenter of node rect centers.

9 years agoSynchronize style cleanup changes made in tomato branch
Sergey Sharybin [Tue, 10 Jul 2012 13:41:21 +0000 (13:41 +0000)]
Synchronize style cleanup changes made in tomato branch

9 years agoFix compilation error when using MSVC
Sergey Sharybin [Tue, 10 Jul 2012 12:57:09 +0000 (12:57 +0000)]
Fix compilation error when using MSVC

9 years agoTag ununsed variable and make function real explicit prototype.
Sergey Sharybin [Tue, 10 Jul 2012 12:42:03 +0000 (12:42 +0000)]
Tag ununsed variable and make function real explicit prototype.

9 years agorefactor node highlight code. New implementation will not write to
Jeroen Bakker [Tue, 10 Jul 2012 12:23:49 +0000 (12:23 +0000)]
refactor node highlight code. New implementation will not write to
uninitialized memory. it happened when you delete a node that was being
executed. in the compostor

9 years agoMango request: added an input node to use track's position in compositor
Sergey Sharybin [Tue, 10 Jul 2012 11:01:25 +0000 (11:01 +0000)]
Mango request: added an input node to use track's position in compositor

svn merge -r48088:48089 -r48091:48092 ^/branches/soc-2011-tomato

9 years agoMango request: option to clamp result of Mix RGB and Color Math nodes
Sergey Sharybin [Tue, 10 Jul 2012 10:36:18 +0000 (10:36 +0000)]
Mango request: option to clamp result of Mix RGB and Color Math nodes

Merging r48792 from soc-2011-tomato into trunk

9 years agoMango request: disable compositing on file load.
Sergey Sharybin [Tue, 10 Jul 2012 10:31:05 +0000 (10:31 +0000)]
Mango request: disable compositing on file load.
This does not make much sense and just annoys in most of cases.

Merging r48793 from soc-2011-tomato into trunk

9 years agoFix #32052, Conflicts in unique node names.
Lukas Toenne [Tue, 10 Jul 2012 09:31:08 +0000 (09:31 +0000)]
Fix #32052, Conflicts in unique node names.

All node group operators which move nodes directly between bNodeTree->nodes lists now make sure the node names are indeed unique in their new environment (the node group tree or the parent tree).

9 years agoTomato mango request: do not start compositing on file load
Sergey Sharybin [Tue, 10 Jul 2012 09:12:39 +0000 (09:12 +0000)]
Tomato mango request: do not start compositing on file load

9 years agoTomato: added option to clamp result of Mix RGB and Color Math nodes
Sergey Sharybin [Tue, 10 Jul 2012 09:12:33 +0000 (09:12 +0000)]
Tomato: added option to clamp result of Mix RGB and Color Math nodes

9 years agoTomato: fix typos in mask maps used for raster cache
Sergey Sharybin [Tue, 10 Jul 2012 09:12:21 +0000 (09:12 +0000)]
Tomato: fix typos in mask maps used for raster cache

9 years agoTomato: fix wrong default value for despill balance
Sergey Sharybin [Tue, 10 Jul 2012 09:12:17 +0000 (09:12 +0000)]
Tomato: fix wrong default value for despill balance

9 years agorename raskter kdtree files to be less generic
Campbell Barton [Tue, 10 Jul 2012 06:47:21 +0000 (06:47 +0000)]
rename raskter kdtree files to be less generic

9 years agoInline the read Memory Buffer functions for speed optimizations.
Jeroen Bakker [Tue, 10 Jul 2012 06:31:16 +0000 (06:31 +0000)]
Inline the read Memory Buffer functions for speed optimizations.

9 years agofix: inline to __inline in raskter.c for msvc
Peter Larabell [Tue, 10 Jul 2012 05:16:43 +0000 (05:16 +0000)]
fix: inline to __inline in raskter.c for msvc

9 years agosome code refactors in raskter.c to sync it with build where mask tiling is being...
Peter Larabell [Tue, 10 Jul 2012 04:51:08 +0000 (04:51 +0000)]
some code refactors in raskter.c to sync it with build where mask tiling is being developed. Also adds a bit more mask tiling code.

9 years agoFix for a crash caused by ReplaceMesh changing an objects physics shape. CcdShapeCons...
Mitchell Stokes [Tue, 10 Jul 2012 02:05:06 +0000 (02:05 +0000)]
Fix for a crash caused by ReplaceMesh changing an objects physics shape. CcdShapeConstructionInfo::UpdateMesh() would change the CcdShapeConstructionInfo's m_meshObject, but didn't change m_meshShapeMap, which means the CcdShapeConstructionInfo object's destructor would not find it's m_meshObject in the m_meshShapeMap. This leaves some nasty dangling pointers laying around which caused issues if the scene was re-run, or the scene was changed to one that also had the mesh.

Note: This fix could cause other issues with shared physics meshes. In general, we may want to re-evaluate how we handle updating potentially shared physics meshes.

9 years agocenter node group text button vertically
Campbell Barton [Mon, 9 Jul 2012 23:23:47 +0000 (23:23 +0000)]
center node group text button vertically

9 years agofix warnings/errors in recent raster commit.
Campbell Barton [Mon, 9 Jul 2012 23:16:39 +0000 (23:16 +0000)]
fix warnings/errors in recent raster commit.

9 years agostyle cleanup: line length, also comment some unused code
Campbell Barton [Mon, 9 Jul 2012 23:07:15 +0000 (23:07 +0000)]
style cleanup: line length, also comment some unused code

9 years agoupdating raskter to support tiles compositor. this commit puts in some groundwork...
Peter Larabell [Mon, 9 Jul 2012 22:57:23 +0000 (22:57 +0000)]
updating raskter to support tiles compositor. this commit puts in some groundwork code to support tiles's pixel processor

9 years agoFixed an exception during image export when a source image does not exist in the...
Gaia Clary [Mon, 9 Jul 2012 22:41:44 +0000 (22:41 +0000)]
Fixed an exception during image export when a source image does not exist in the file system

9 years agofix for blender naming all new node groups "Missing Datablock"
Campbell Barton [Mon, 9 Jul 2012 22:39:35 +0000 (22:39 +0000)]
fix for blender naming all new node groups "Missing Datablock"

9 years agorename BLI_getQuotedStr --> BLI_str_quoted_substrN to make it more clear its doing...
Campbell Barton [Mon, 9 Jul 2012 22:16:50 +0000 (22:16 +0000)]
rename BLI_getQuotedStr --> BLI_str_quoted_substrN to make it more clear its doing an allocation.

9 years agoRemoved unneeded variable from Image Exporter
Gaia Clary [Mon, 9 Jul 2012 21:57:04 +0000 (21:57 +0000)]
Removed unneeded variable from Image Exporter

9 years agostyle cleanup: missed previous commit
Campbell Barton [Mon, 9 Jul 2012 20:37:09 +0000 (20:37 +0000)]
style cleanup: missed previous commit

9 years agoAnd arabic is over 60% done too, now! :)
Bastien Montagne [Mon, 9 Jul 2012 20:02:30 +0000 (20:02 +0000)]
And arabic is over 60% done too, now! :)

9 years agostyle cleanup: node drawing
Campbell Barton [Mon, 9 Jul 2012 19:58:36 +0000 (19:58 +0000)]
style cleanup: node drawing

9 years agoimprove node text alignment with different zoom levels
Campbell Barton [Mon, 9 Jul 2012 19:50:43 +0000 (19:50 +0000)]
improve node text alignment with different zoom levels

9 years agoSmall cleanup...
Bastien Montagne [Mon, 9 Jul 2012 19:33:25 +0000 (19:33 +0000)]
Small cleanup...

9 years agoBGE: Fixing up the error message received when trying to add an object from an active...
Mitchell Stokes [Mon, 9 Jul 2012 18:55:50 +0000 (18:55 +0000)]
BGE: Fixing up the error message received when trying to add an object from an active layer.

9 years agocode cleanup: remove pointless casts (int -> short -> int)
Campbell Barton [Mon, 9 Jul 2012 17:05:47 +0000 (17:05 +0000)]
code cleanup: remove pointless casts (int -> short -> int)

9 years agofix node drawing glitch where text alignment for output sockets would move the text...
Campbell Barton [Mon, 9 Jul 2012 16:51:08 +0000 (16:51 +0000)]
fix node drawing glitch where text alignment for output sockets would move the text X axis twice as much as it should have.

9 years agocorrection to last commit. aspect doesn't need to be calculated every time.
Campbell Barton [Mon, 9 Jul 2012 16:26:01 +0000 (16:26 +0000)]
correction to last commit. aspect doesn't need to be calculated every time.

9 years agoFix for #31962, changes image ignores correct aspect ratio. Made
Antony Riakiotakis [Mon, 9 Jul 2012 16:12:57 +0000 (16:12 +0000)]
Fix for #31962, changes image ignores correct aspect ratio. Made
unwrapper flush the correct aspect flag to mtpoly after unwrap. Faces
that have been unwrapped with correct aspect option will fix their
aspect each time a different image is assigned to them. I hope fix works
100%, I can't say that I really understood the bizarre aspect ratio

9 years agofix for ugly pixelated drawing of node frame text.
Campbell Barton [Mon, 9 Jul 2012 16:06:44 +0000 (16:06 +0000)]
fix for ugly pixelated drawing of node frame text.

9 years agoremoved depth aware defocus
Jeroen Bakker [Mon, 9 Jul 2012 15:21:43 +0000 (15:21 +0000)]
removed depth aware defocus
add blur to radius buffer

9 years agoUI translation from inside Blender UI: first part.
Bastien Montagne [Mon, 9 Jul 2012 14:25:35 +0000 (14:25 +0000)]
UI translation from inside Blender UI: first part.

This commit reshapes a bit runtime button info getter, by adding a new uiButGetStrInfo() which accepts a variable number of uiStringInfo parameters, and tries to fill them with the requested strings, for the given button (label, tip, context, RNA identifier, keymap, etc.). Currently used mostly by existing ui_tooltip_create(), and new UI_OT_edittranslation_init operator.

It also adds a few getters (to get RNA i18n context, and current language iso code).

Finally, it adds to C operators needed for the py ui_translation addon:
*UI_OT_edittranslation_init, which gathers requested data and launch the py operator.
*UI_OT_reloadtranslation, which forces a full reload of the whole UI translation (including rechecking the directory containing mo files).

For the first operator to work, it also adds a new user preferences path: i18n_branches_directory, to point to the /branch part of a bf-translation checkout.

9 years agosvn merge ^/trunk/blender -r48749:48754
Campbell Barton [Mon, 9 Jul 2012 12:57:04 +0000 (12:57 +0000)]
svn merge ^/trunk/blender -r48749:48754

9 years agofix/workaround for cycles crash packing bvh
Campbell Barton [Mon, 9 Jul 2012 12:55:16 +0000 (12:55 +0000)]
fix/workaround for cycles crash packing bvh

brecht - when you get time please look into this to see if the fix is ok.

9 years agoTomato: fix for mask cache
Sergey Sharybin [Mon, 9 Jul 2012 11:45:07 +0000 (11:45 +0000)]
Tomato: fix for mask cache

That used to be a threading issue when two different operations
were allowed to access the same mask's cache. Now use lock in
BKE_mask_rasterize_layers so that should work fine now.

9 years agoFixed issue with missed cache update when disabling movie clip channels
Sergey Sharybin [Mon, 9 Jul 2012 11:13:40 +0000 (11:13 +0000)]
Fixed issue with missed cache update when disabling movie clip channels

9 years agocode cleanup: move sequencer timecode into its own func.
Campbell Barton [Mon, 9 Jul 2012 10:55:41 +0000 (10:55 +0000)]
code cleanup: move sequencer timecode into its own func.

9 years agoMerging r48740 through r48749 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 9 Jul 2012 10:33:09 +0000 (10:33 +0000)]
Merging r48740 through r48749 from trunk into soc-2011-tomato

9 years agoFixed issues updating texture buffer used for clip editor frame display
Sergey Sharybin [Mon, 9 Jul 2012 10:26:01 +0000 (10:26 +0000)]
Fixed issues updating texture buffer used for clip editor frame display
when specific circumstances are met.

Mainly issue was caused by checking ImBuf pointers, which used to fail
when some post-processing flags are changed. This was caused by the
fact that freeing old ImBuf and allocating new one could lead to new
ImBuf have the same pointer as previous one, which confuses cache.

9 years agoAs a response to issue [#28483] "Enable/Disable Rigid Body actuator do nothing" repor...
Mitchell Stokes [Mon, 9 Jul 2012 04:57:21 +0000 (04:57 +0000)]
As a response to issue [#28483] "Enable/Disable Rigid Body actuator do nothing" reported by Jean-Francois Gallant (pyroevil), I'm adding preliminary support to enable and disable rigid body physics on dynamic objects. This is can be done via the Edit Object Actuator or through KX_GameObject.enableRigidBody() and KX_GameObject.disableRigidBody(). Thanks to Sergej Reich for his help with the patch.

9 years agoFixing a memory leak when using Bullet's btGImpactMeshShape for triangle meshes ...
Mitchell Stokes [Sun, 8 Jul 2012 23:15:26 +0000 (23:15 +0000)]
Fixing a memory leak when using Bullet's btGImpactMeshShape for triangle meshes (e.g., rigid bodies). The physic controller's free was only handling the case where regular triangle meshes were used.

9 years agocode cleanup
Campbell Barton [Sun, 8 Jul 2012 21:37:59 +0000 (21:37 +0000)]
code cleanup

9 years agolocalview operator now reports when 8 views are reached (since 2.5x update was printi...
Campbell Barton [Sun, 8 Jul 2012 20:53:44 +0000 (20:53 +0000)]
localview operator now reports when 8 views are reached (since 2.5x update was printing in console only).

9 years agostyle cleanup
Campbell Barton [Sun, 8 Jul 2012 20:36:00 +0000 (20:36 +0000)]
style cleanup

9 years agoFixing a memory leak introduced by the Character Physics type patch: a new btGhostPai...
Mitchell Stokes [Sun, 8 Jul 2012 20:05:40 +0000 (20:05 +0000)]
Fixing a memory leak introduced by the Character Physics type patch: a new btGhostPairCallback was being created, but never freed.

9 years agosvn merge ^/trunk/blender -r48729:48739
Campbell Barton [Sun, 8 Jul 2012 18:21:51 +0000 (18:21 +0000)]
svn merge ^/trunk/blender -r48729:48739

9 years agoplay animation now works switching between scrubbing and pingpong
Campbell Barton [Sun, 8 Jul 2012 18:20:29 +0000 (18:20 +0000)]
play animation now works switching between scrubbing and pingpong

9 years agocorrect another case of nonnull (all should be correct now), and comment about color...
Campbell Barton [Sun, 8 Jul 2012 17:51:28 +0000 (17:51 +0000)]
correct another case of nonnull (all should be correct now), and comment about color conversion.

9 years agoGrmbl, dummy argparse...
Bastien Montagne [Sun, 8 Jul 2012 17:18:01 +0000 (17:18 +0000)]
Grmbl, dummy argparse...

9 years agoSome cleanup, and update to make those files usable both as self-executables and...
Bastien Montagne [Sun, 8 Jul 2012 17:10:10 +0000 (17:10 +0000)]
Some cleanup, and update to make those files usable both as self-executables and module stuff...

Also updated update_mo to allwo specifying a custom po/mo file.

9 years agocorrect use of nonull attribute
Campbell Barton [Sun, 8 Jul 2012 17:08:27 +0000 (17:08 +0000)]
correct use of nonull attribute

9 years agosvn merge ^/trunk/blender -r48691:48729
Campbell Barton [Sun, 8 Jul 2012 15:55:58 +0000 (15:55 +0000)]
svn merge ^/trunk/blender -r48691:48729

9 years agoFix for error from grumpy gcc in "over-warning" mode. Must explicitely cast uintptr_t...
Bastien Montagne [Sun, 8 Jul 2012 15:48:47 +0000 (15:48 +0000)]
Fix for error from grumpy gcc in "over-warning" mode. Must explicitely cast uintptr_t to unsigned int (othe solution would be to use PRIuPTR macro from inttypes.h, but that would probably causes some problems with windows...).

9 years agocorrect use of __attribute__((nonnull))
Campbell Barton [Sun, 8 Jul 2012 15:11:13 +0000 (15:11 +0000)]
correct use of __attribute__((nonnull))

9 years agoMulti device OpenCL did not work.
Jeroen Bakker [Sun, 8 Jul 2012 13:03:09 +0000 (13:03 +0000)]
Multi device OpenCL did not work.
case was that cached kernels were used by both devices in separate

removed the cached kernels.