9 years agofix [#30062] Weight, Texture,Vertex Paint - Face Selection Mask Icon: Out of Sync
Campbell Barton [Sun, 5 Feb 2012 21:48:41 +0000 (21:48 +0000)]
fix [#30062] Weight, Texture,Vertex Paint - Face Selection Mask Icon: Out of Sync

missing notifier for header redraw.

9 years agoPatch #30050 by Juha Mäki-Kanto (kanttori)
Domino Marama [Sun, 5 Feb 2012 16:19:28 +0000 (16:19 +0000)]
Patch #30050 by Juha Mäki-Kanto (kanttori)

Fixes for Collada exporter.
Adds Second Life compatibility for armatures
Adds objects parentinverse to exported transform if it's non-identity
Fix mismatch between add_inv_bind_mats and add_joints_source accessor counts
Fix bone exports in world space should be local space

9 years agoRelease schedule:
Thomas Dinges [Sun, 5 Feb 2012 16:05:36 +0000 (16:05 +0000)]
Release schedule:
* BCon4, important bug fixes only.
* Update readme.html and links to release logs, which now point to

9 years agoFix for [#30044] on windows
Alexander Kuznetsov [Sun, 5 Feb 2012 16:05:20 +0000 (16:05 +0000)]
Fix for [#30044] on windows

We don't know how ALT key modifies the key, so utf=0;
That way Text Object can handle it.

* Should be removed when we able to support different keyboards on Windows

9 years agoMovie Clip Editor: cleanup of display panels
Sergey Sharybin [Sun, 5 Feb 2012 13:43:58 +0000 (13:43 +0000)]
Movie Clip Editor: cleanup of display panels

- Split display options into two panels:
  * Display, which contains all general display options related on editor itself
  * Marker Display, which contains options which makes sense for markers themselves
   and not used so often.
- Remove Show GPencil option which doesn't actually make sense because strokes might
  be disabled from GPencil panel
- Removed Show Pyramid option and show pyramid for KLT tracker as default.
- Added hotkey to toggle Show Disabled (Alt-D)
- Added hotkey to toggle Show Pattern (Alt-S)

Changes in interface and hotkeys are done by Sebastian Koenig.
 Thanks for the patch!

Own changes in interface were related on Aspect Ratio. It doesn't make
much sense for tracking (camera pixel aspect is what you'll want to use,
but for masking it would make much more sense because when you just
want to create a mask for footage you don't actually have camera).
Just removing from interface seems not so nice for now.

Merged from soc-2011-tomato rev43872

9 years agoBGE bug #18883: Softbodies being hit by ghost objects. Added a one liner fix in...
Benoit Bolsee [Sun, 5 Feb 2012 13:04:13 +0000 (13:04 +0000)]
BGE bug #18883: Softbodies being hit by ghost objects.  Added a one liner fix in Bullet. I will also report the fix to Erwin so that it can be added to next Bullet version.

9 years agoFix #30073: metaball + edit mode + proportinal edit hotkey
Sergey Sharybin [Sun, 5 Feb 2012 11:42:20 +0000 (11:42 +0000)]
Fix #30073: metaball + edit mode + proportinal edit hotkey

Was missed registration of PET toggling operators.

9 years agoBGE bug #21947: Softbodies not using object size. Fixed by scaling the shape before...
Benoit Bolsee [Sun, 5 Feb 2012 09:32:35 +0000 (09:32 +0000)]
BGE bug #21947: Softbodies not using object size. Fixed by scaling the shape before creating the soft body.

9 years agowin32 quicktime: missing include. How comes nobody else got this problem?
Benoit Bolsee [Sun, 5 Feb 2012 09:29:53 +0000 (09:29 +0000)]
win32 quicktime: missing include. How comes nobody else got this problem?

9 years agoCode Cleanup: minor changes & sync with bmesh.
Campbell Barton [Sun, 5 Feb 2012 07:40:15 +0000 (07:40 +0000)]
Code Cleanup: minor changes & sync with bmesh.

9 years agoCode Cleanup: line length and use Py_ssize_t for PyC_AsArray utility function.
Campbell Barton [Sun, 5 Feb 2012 02:04:26 +0000 (02:04 +0000)]
Code Cleanup: line length and use Py_ssize_t for PyC_AsArray utility function.

9 years agoFix for Luxrender boost::thread conflict, workaround now is to just not use it
Brecht Van Lommel [Sat, 4 Feb 2012 19:58:09 +0000 (19:58 +0000)]
Fix for Luxrender boost::thread conflict, workaround now is to just not use it
in cycles and use pthreads instead.

9 years agoFix: non-power-of-two-textures were always disabled on ATI/Apple due to poor
Brecht Van Lommel [Sat, 4 Feb 2012 19:57:09 +0000 (19:57 +0000)]
Fix: non-power-of-two-textures were always disabled on ATI/Apple due to poor
support in some older cards, now it does a more precise check for problematic
cards so that it can be enabled on new cards that do support it properly.

9 years agoBGE bug #29133: Render to Texture not working. Fixed by using same viewport to render...
Benoit Bolsee [Sat, 4 Feb 2012 17:20:38 +0000 (17:20 +0000)]
BGE bug #29133: Render to Texture not working. Fixed by using same viewport to render and capture.

9 years agofix [#29947] Blender crashes when duplicate bones
Campbell Barton [Sat, 4 Feb 2012 11:59:09 +0000 (11:59 +0000)]
fix [#29947] Blender crashes when duplicate bones

missing NULL check.

9 years agofix [#30068] Link Empty to Track python error
Campbell Barton [Sat, 4 Feb 2012 11:12:18 +0000 (11:12 +0000)]
fix [#30068] Link Empty to Track python error

incorrect attribute used (likely code added since last release).

9 years agoCode Cleanup: pep8 edits
Campbell Barton [Sat, 4 Feb 2012 11:10:41 +0000 (11:10 +0000)]
Code Cleanup: pep8 edits

9 years agoFix MinGW compilation due to recent font rendering changes.
Antony Riakiotakis [Sat, 4 Feb 2012 10:02:59 +0000 (10:02 +0000)]
Fix MinGW compilation due to recent font rendering changes.

GLEW_STATIC needs to be defined for static linking of GLEW or the dynamic entry points are looked up during linking

9 years agoCode Cleanup: avoid double promotion.
Campbell Barton [Sat, 4 Feb 2012 06:55:29 +0000 (06:55 +0000)]
Code Cleanup: avoid double promotion.

9 years agoFix for aliased fonts in the game engine.
Alex Fraser [Sat, 4 Feb 2012 01:51:59 +0000 (01:51 +0000)]
Fix for aliased fonts in the game engine.
 - Mipmaps are generated in BLF when drawing text in-game. In that case, padding around each glyph is increased to prevent bleeding.
 - Texture filtering is turned on for in-game text.
 - All glyphs are now "twisted": the leading edge is brought a small distance forward, to prevent z-fighting in overlapping (kerned) glyphs. This happens both in the game engine and the rest of the UI, but should have no effect in the UI due to Z-compression in the clipping matrix.
Reviewed and approved by bdiego; see patch [#29882] in the tracker. Tested by dfelinto.

9 years agofix [#30060] printed twice
Campbell Barton [Sat, 4 Feb 2012 00:36:55 +0000 (00:36 +0000)]
fix [#30060] printed twice

9 years agoFix #30064: Image editor: paint on image, rename image, undo -> crash
Sergey Sharybin [Fri, 3 Feb 2012 20:12:21 +0000 (20:12 +0000)]
Fix #30064: Image editor: paint on image, rename image, undo -> crash

9 years agoFix #30028: VSE Paste Strip Crash
Sergey Sharybin [Fri, 3 Feb 2012 13:08:44 +0000 (13:08 +0000)]
Fix #30028: VSE Paste Strip Crash

Crash was caused by invalidation of ID pointers stored in sequencer clipboard
when using undo (undo leads to changes in IDs addresses in memory).

Restore pointers stored in clipboard in the same way as IDs are restoring
for user interface.

9 years agofix [#27953] VSE: weird drawing and placement issues strips during 'E'
Campbell Barton [Fri, 3 Feb 2012 01:06:32 +0000 (01:06 +0000)]
fix [#27953] VSE: weird drawing and placement issues strips during 'E'

was calculating meta / effect in wrong order causing delay, now calculate selected meta's, then all effects after tramsforming.

9 years agoMinor Speedup: avoid for() loop over all faces in fluidsim by passing an example...
Campbell Barton [Thu, 2 Feb 2012 23:58:46 +0000 (23:58 +0000)]
Minor Speedup: avoid for() loop over all faces in fluidsim by passing an example face to the mesh read function (also avoid a lot of int -> short/char conversions).

9 years agoFix #30043: typing ctrl+Z in text field adds a square. For ascii these control
Brecht Van Lommel [Thu, 2 Feb 2012 21:46:29 +0000 (21:46 +0000)]
Fix #30043: typing ctrl+Z in text field adds a square. For ascii these control
characters were already filtered out, do the same now for utf-8.

9 years agoFix #29921: render rasterization error in a corner case, only happened on 32bit
Brecht Van Lommel [Thu, 2 Feb 2012 21:46:11 +0000 (21:46 +0000)]
Fix #29921: render rasterization error in a corner case, only happened on 32bit
builds because of extended float precision, slightly tweaked code to avoid that,
so that it works the same as on 64bit.

9 years agoCode Cleanup: check is / is not when comparing singletons.
Campbell Barton [Thu, 2 Feb 2012 21:07:56 +0000 (21:07 +0000)]
Code Cleanup: check is / is not when comparing singletons.

9 years agoCamera tracking: fix for Clean Tracks operator which used to always use
Sergey Sharybin [Thu, 2 Feb 2012 19:37:50 +0000 (19:37 +0000)]
Camera tracking: fix for Clean Tracks operator which used to always use
properties values from previous operator run instead of using values
from tool settings.

9 years agoDisallow fill caps for curves without bevel object.
Sergey Sharybin [Thu, 2 Feb 2012 19:20:51 +0000 (19:20 +0000)]
Disallow fill caps for curves without bevel object.
It's getting complicated to detect which part of curve is actually a
cap in cases like extruded 2d curve with non-zero depth.

9 years agoFix for recent bevel cap option
Sergey Sharybin [Thu, 2 Feb 2012 18:50:44 +0000 (18:50 +0000)]
Fix for recent bevel cap option

"Holes" used to be ignored (i.e. when using "Text" as bevel object "e" wouldn't have a "hole").
Resolved by collecting all polys needed for top and bottom cap and filling them at once

9 years agoAdded option to fill caps of bevelled curves.
Sergey Sharybin [Thu, 2 Feb 2012 15:15:52 +0000 (15:15 +0000)]
Added option to fill caps of bevelled curves.

It can be found in Shape panel below Fill label. If this option is enabled,
caps of curve will be filled.

9 years agoFix #27213: editing color ramp "Pos:" number value did not update the ramp
Brecht Van Lommel [Thu, 2 Feb 2012 14:07:24 +0000 (14:07 +0000)]
Fix #27213: editing color ramp "Pos:" number value did not update the ramp
properly, when moving the current point before another.

9 years agoFix #29056: keymapping NDOF motion events not working correct. Motion even type
Brecht Van Lommel [Thu, 2 Feb 2012 13:35:19 +0000 (13:35 +0000)]
Fix #29056: keymapping NDOF motion events not working correct. Motion even type
was missing in python.

9 years agoFix related to #30053: crash rendering scene strips without a scene (due to missing...
Brecht Van Lommel [Thu, 2 Feb 2012 13:21:38 +0000 (13:21 +0000)]
Fix related to #30053: crash rendering scene strips without a scene (due to missing library).

9 years agoown attempted simplification to previous patch was incorrect.
Campbell Barton [Thu, 2 Feb 2012 11:12:41 +0000 (11:12 +0000)]
own attempted simplification to previous patch was incorrect.

9 years agopatch from Peter Stern to fix CMake building on OSX (without manual editing of config...
Campbell Barton [Thu, 2 Feb 2012 11:08:48 +0000 (11:08 +0000)]
patch from Peter Stern to fix CMake building on OSX (without manual editing of configuration)

9 years agoPatch #29705: Collada export didn't export mesh name.
Domino Marama [Thu, 2 Feb 2012 10:34:44 +0000 (10:34 +0000)]
Patch #29705: Collada export didn't export mesh name.
Added name= parameter to geometry nodes in Collada export

9 years agoFix #29381: Navmeshs frees not guarded allocated memory and leaked
Sergey Sharybin [Thu, 2 Feb 2012 08:48:43 +0000 (08:48 +0000)]
Fix #29381: Navmeshs frees not guarded allocated memory and leaked

There were two issues discovered:
- Triangles mapping didn't free in buildNavMeshData if there's no recast data for an object
- KX_NavMeshObject used not-guarded allocation for polygons storage, but used guarded
  freeing stuff to free used memory, producing error messages in the console and leading to
  memory leak.

Wasn't actually harmful for users -- there was no memory corruptions and error happens only
when object was set up in a way when navmesh can't work in theory.

9 years agoCode Cleanup: de-duplicate bone space calculation ~(35 sloc)
Campbell Barton [Thu, 2 Feb 2012 08:47:46 +0000 (08:47 +0000)]
Code Cleanup: de-duplicate bone space calculation ~(35 sloc)

9 years agofix [#30051] Copy Scale constraint overrides Inherit Scale from parent
Campbell Barton [Thu, 2 Feb 2012 08:04:06 +0000 (08:04 +0000)]
fix [#30051] Copy Scale constraint overrides Inherit Scale from parent

space conversion in constraint code ignored inherit scale option.

9 years agoCleanup Only: replace numbers with defines.
Campbell Barton [Thu, 2 Feb 2012 07:37:44 +0000 (07:37 +0000)]
Cleanup Only: replace numbers with defines.

9 years agofix [#28296] File selector crash when with filepath property
Campbell Barton [Thu, 2 Feb 2012 05:55:01 +0000 (05:55 +0000)]
fix [#28296] File selector crash when with filepath property

disable browsing a file property within the file selector to avoid a crash.

9 years ago* fix for error in shape transfer (wrong var name).
Campbell Barton [Thu, 2 Feb 2012 05:11:42 +0000 (05:11 +0000)]
* fix for error in shape transfer (wrong var name).
* fix for error alligning object to the view when no space was set.

also added blenderplayer start to CTest operator blacklist.

9 years agointernal cleanup, check.
Campbell Barton [Thu, 2 Feb 2012 04:59:30 +0000 (04:59 +0000)]
internal cleanup, check.

* remove duplicate operator, wasnt used.
* added check for duplicate types for CTest.

9 years agofix [#29666] Duplicate entries in bpy.types
Campbell Barton [Thu, 2 Feb 2012 04:43:35 +0000 (04:43 +0000)]
fix [#29666] Duplicate entries in bpy.types

Python operator subclasses and operator types each get their own SRNA, causing double ups for bpy.types.__dir__()

From the operator type - these share names.
* ot->ext.srna
* ot->srna

Note that this conflict is still there, this only disables 'ot->ext.srna' from being included in dir(bpy.types).

9 years agoFix for possible memory leak on creation of a vector using Vector.Range.
Andrew Hale [Thu, 2 Feb 2012 01:07:04 +0000 (01:07 +0000)]
Fix for possible memory leak on creation of a vector using Vector.Range.
It was possible to allocate an array of size<2 which would then raise an error on vector creation without freeing.

Fix to ensure the behaviour of Vector.Range was the same as for builtin range() function. When specifying 3 arguments, the step argument wasn't being used to correctly calculate the vector size.

Minor formatting edits for error messages.

9 years agoFixed typo in tracking context creation. Wasn't harmful because because of definition...
Sergey Sharybin [Wed, 1 Feb 2012 19:36:39 +0000 (19:36 +0000)]
Fixed typo in tracking context creation. Wasn't harmful because because of definition value,
but better avoid such confusing assignment.

9 years agoCamera tracking: regression fixed after recent frame postprocessing refactor
Sergey Sharybin [Wed, 1 Feb 2012 19:06:21 +0000 (19:06 +0000)]
Camera tracking: regression fixed after recent frame postprocessing refactor

No-proxied frames using for 2D tracking used to be putting to cache which lead
to extra memory usage which shouldn't happen.

9 years agoFix #30045: not returning correct layer when a layer with
Brecht Van Lommel [Wed, 1 Feb 2012 18:25:13 +0000 (18:25 +0000)]
Fix #30045: not returning correct layer when a layer with
the requested name already exists.

9 years agoFix #29104: keyframing motion blur samples did not work, made these non-animateable
Brecht Van Lommel [Wed, 1 Feb 2012 18:25:01 +0000 (18:25 +0000)]
Fix #29104: keyframing motion blur samples did not work, made these non-animateable
now like some other render settings.

9 years agoMovie Clip Editor: proxy sizes for original and undistortted footages are now control...
Sergey Sharybin [Wed, 1 Feb 2012 18:08:37 +0000 (18:08 +0000)]
Movie Clip Editor: proxy sizes for original and undistortted footages are now controlling separately

9 years agoFix: Bicubic bump mapping does not work for UVs outside the 0,1 range.
Antony Riakiotakis [Wed, 1 Feb 2012 17:47:13 +0000 (17:47 +0000)]
Fix: Bicubic bump mapping does not work for UVs outside the 0,1 range.

This issue is caused by texelFetch which does not take wrapping options into account as it uses unnormalized uv coordinates to access a texel. A hack was made to do manual wrapping in the shader. This is acceptable because texture wrap mode is always treated as "repeat" elsewhere in 3D view in blender.

Thanks to Morten Mikkelsen for pointing out the cause of the issue and providing the fix.

9 years agoFix #30047: Bake from multires crashes if run while sculpt mode is active
Sergey Sharybin [Wed, 1 Feb 2012 16:56:48 +0000 (16:56 +0000)]
Fix #30047: Bake from multires crashes if run while sculpt mode is active

Issue was caused by incorrect level used for lowres DM.

9 years agoOptional offset for fluid cache frame reading.
Lukas Toenne [Wed, 1 Feb 2012 15:58:26 +0000 (15:58 +0000)]
Optional offset for fluid cache frame reading.

This was a request by Daniel Salazar. It adds a new frame offset variable to fluid sim settings, which can be used to display baked fluid sims at different times. Eventually this could be replaced by real NLA strips for cached data, but until then this is a simple way to have more flexible cache result usage.

Not strictly a BCon3 patch, but after IRC discussion with Genscher, ZanQdo and kaito decided to commit it anyway, since it's a small feature and makes fluid sim a bit more usable. Similar patch for point cache (particles, smoke, cloth) is being worked on as well.

9 years agoCycles: material pass index button was missing from material properties still.
Brecht Van Lommel [Wed, 1 Feb 2012 13:38:23 +0000 (13:38 +0000)]
Cycles: material pass index button was missing from material properties still.

9 years agoFix #30028: VSE Paste Strip Crash
Sergey Sharybin [Wed, 1 Feb 2012 08:35:16 +0000 (08:35 +0000)]
Fix #30028: VSE Paste Strip Crash

Crash was caused by attempting to create strip text from a missed sound datablock.
Actual error happened when this sound datablock was missed, but crash isn't nice
anyway and there were no way to repair scene.

9 years agoEnable image and alpha outputs for image nodes by default. These were made unavailabl...
Lukas Toenne [Wed, 1 Feb 2012 07:44:19 +0000 (07:44 +0000)]
Enable image and alpha outputs for image nodes by default. These were made unavailable for render layer nodes with the Combined pass disabled, but the same function also disabled them for image nodes. Fix for bug #30040.

9 years agofix [#29433] Incorrect drawing of Circle/Axes/Cross on Particles when Display set...
Campbell Barton [Wed, 1 Feb 2012 06:26:48 +0000 (06:26 +0000)]
fix [#29433] Incorrect drawing of Circle/Axes/Cross on Particles when Display set to that AND Size/Vel/Num/Health also selected

9 years agoPrevious fix for [#29484] wasn't working right (did work in report file though).
Campbell Barton [Wed, 1 Feb 2012 05:59:50 +0000 (05:59 +0000)]
Previous fix for [#29484] wasn't working right (did work in report file though).

this now shares code with RNA's 'pchan.matrix = matrix'

tested with parent scale/rot/translation

9 years agofix [#29484] Visual keying bone with local location disabled
Campbell Barton [Wed, 1 Feb 2012 05:04:51 +0000 (05:04 +0000)]
fix [#29484] Visual keying bone with local location disabled

9 years agofix for error found while looking into bug [#29998].
Campbell Barton [Wed, 1 Feb 2012 04:11:19 +0000 (04:11 +0000)]
fix for error found while looking into bug [#29998].

rotation limits can exceed 90deg.

9 years agoFixes to Python matrices str function.
Andrew Hale [Wed, 1 Feb 2012 01:42:36 +0000 (01:42 +0000)]
Fixes to Python matrices str function.
1) The width of columns was incorrectly determined on windows, fixed by increasing the size of the dummy buf.
2) Added additional brackets to string for consistent formatting

9 years agoadded note in docs about not beaing able to create new data by calling the class...
Campbell Barton [Tue, 31 Jan 2012 22:37:36 +0000 (22:37 +0000)]
added note in docs about not beaing able to create new data by calling the class direct.

9 years agoFix bicubic map sampling to convert the sampled color to monochrome before using...
Antony Riakiotakis [Tue, 31 Jan 2012 22:12:33 +0000 (22:12 +0000)]
Fix bicubic map sampling to convert the sampled color to monochrome before using it to calculate the derivative.

9 years agoremove old code and use macro for latt_bp() function
Campbell Barton [Tue, 31 Jan 2012 21:56:22 +0000 (21:56 +0000)]
remove old code and use macro for latt_bp() function

9 years agocalc_curve_deform was using axis range of 1-6, but other parts of the code use 0...
Campbell Barton [Tue, 31 Jan 2012 21:32:06 +0000 (21:32 +0000)]
calc_curve_deform was using axis range of 1-6, but other parts of the code use 0-5. (confusion here casued an error in the code).

make calc_curve_deform use 0-5 too, only minor changes needed.

9 years agofix incorrect neg axis check for the curve deform modifier's boundbox.
Campbell Barton [Tue, 31 Jan 2012 21:20:30 +0000 (21:20 +0000)]
fix incorrect neg axis check for the curve deform modifier's boundbox.

9 years agofix [#30037] Curve Modifier doesn't work within -X -Y -Z translation in such cases?
Campbell Barton [Tue, 31 Jan 2012 21:06:52 +0000 (21:06 +0000)]
fix [#30037] Curve Modifier doesn't work within -X -Y -Z translation in such cases?

the curve modifier was applying the offet between the mesh and the curve object twice.
for positive axis it was (offset+offser), for neg axis (offset-offset) --- giving no offset,
in both cases not very useful.

9 years agofix inconsistancy with curve deform bounds being set differently when vertex groups...
Campbell Barton [Tue, 31 Jan 2012 20:48:48 +0000 (20:48 +0000)]
fix inconsistancy with curve deform bounds being set differently when vertex groups were used.

9 years agominor cleanup made while looking into bug report (having vector size in comments...
Campbell Barton [Tue, 31 Jan 2012 20:38:03 +0000 (20:38 +0000)]
minor cleanup made while looking into bug report (having vector size in comments is silly, may as well have in declaration)

9 years agoImplemented general functions to store view context like viewport width/height
Sergey Sharybin [Tue, 31 Jan 2012 18:33:31 +0000 (18:33 +0000)]
Implemented general functions to store view context like viewport width/height
and projection matrix, so operators which depends on such things can easily save
settings in operator properties in invoke and then reuse them in exec callback.

This will fix: #24767: Knife tool last operations panel doesn't cause changes even though F6 pop-up does.
               #27129: Problem with knife cuts/midpoint type in quad view

Usage is pretty simple:
- From operator template declaration function call ED_view3d_operator_properties_viewmat()
  to register all needed properties in operator.
- From invoke callback call ED_view3d_operator_properties_viewmat_set to
  store all needed settings in operator properties().
- To access this settings from exec callback, use function

Additional change:
added function apply_project_float() which does the same as
project_float() but accepts actual values for viewport width/height and
projection matrix.

9 years agofix own error [#29634] 'Find Missing Files' breaks good links
Campbell Barton [Tue, 31 Jan 2012 18:00:41 +0000 (18:00 +0000)]
fix own error [#29634] 'Find Missing Files' breaks good links

9 years agoHide internal property of knife_cut operator
Sergey Sharybin [Tue, 31 Jan 2012 16:24:02 +0000 (16:24 +0000)]
Hide internal property of knife_cut operator

9 years agoFix #28011: Dropdown lists to add Brick elements in Game Logic view miss letters...
Sergey Sharybin [Tue, 31 Jan 2012 15:59:52 +0000 (15:59 +0000)]
Fix #28011: Dropdown lists to add Brick elements in Game Logic view miss letters if zoomed small

Now fonts in popup lists will also be scaled together with panel from which they're displaying.

9 years agoFix #30011 & #30027: cycles division by zero evaluating BSDF with zero weights,
Brecht Van Lommel [Tue, 31 Jan 2012 15:59:30 +0000 (15:59 +0000)]
Fix #30011 & #30027: cycles division by zero evaluating BSDF with zero weights,
showed up as NaN on GPU render.

9 years agoFix #30034: bug in multiple importance sampling + transparency, would
Brecht Van Lommel [Tue, 31 Jan 2012 14:57:46 +0000 (14:57 +0000)]
Fix #30034: bug in multiple importance sampling + transparency, would
give slightly wrong lighting behind transparent objects.

9 years agoCache limiter will now work properly with limits >= 4Gb
Sergey Sharybin [Tue, 31 Jan 2012 11:11:56 +0000 (11:11 +0000)]
Cache limiter will now work properly with limits >= 4Gb

9 years agoapply back changes made since moving this file.
Campbell Barton [Tue, 31 Jan 2012 05:02:24 +0000 (05:02 +0000)]
apply back changes made since moving this file.

9 years agosvn cp \
Campbell Barton [Tue, 31 Jan 2012 04:59:57 +0000 (04:59 +0000)]
svn cp \ \

9 years agoprevious move lost history on this file, restoring next commit.
Campbell Barton [Tue, 31 Jan 2012 04:58:06 +0000 (04:58 +0000)]
previous move lost history on this file, restoring next commit.

9 years agoAction constraint transform channel was listing X Scale as Z Scale,
Nathan Vegdahl [Tue, 31 Jan 2012 04:23:49 +0000 (04:23 +0000)]
Action constraint transform channel was listing X Scale as Z Scale,
resulting in two Z Scale listings in the menu.  Fixed.

9 years agofix [#30025] Blender crash when using python to load a blend file and import an obj...
Campbell Barton [Tue, 31 Jan 2012 03:54:51 +0000 (03:54 +0000)]
fix [#30025] Blender crash when using python to load a blend file and import an obj file

9 years agoFix #30031: Build modifier crashes when applied to bezier object
Sergey Sharybin [Mon, 30 Jan 2012 20:44:08 +0000 (20:44 +0000)]
Fix #30031: Build modifier crashes when applied to bezier object

Just missed check for modifier type.

9 years agoFixing a typo in Clip ui...
Bastien Montagne [Mon, 30 Jan 2012 20:41:36 +0000 (20:41 +0000)]
Fixing a typo in Clip ui...

9 years agoFix #30030: Tapered and beveled text won't update in realtime
Sergey Sharybin [Mon, 30 Jan 2012 19:55:30 +0000 (19:55 +0000)]
Fix #30030: Tapered and beveled text won't update in realtime

Was missed dependency in depsgraph.

9 years agoFix #30026: errors rendering material with ambient 0 and AO/env/indirect light.
Brecht Van Lommel [Mon, 30 Jan 2012 19:47:30 +0000 (19:47 +0000)]
Fix #30026: errors rendering material with ambient 0 and AO/env/indirect light.
It would skip rendering the latter if ambient was 0, however this is not actually
used in adding the contribution from these.

9 years agoFix #30019: Copy rotation from a vertex group
Sergey Sharybin [Mon, 30 Jan 2012 19:46:15 +0000 (19:46 +0000)]
Fix #30019: Copy rotation from a vertex group

It was incorrect behavior of contarget_get_mesh_mat in cases when
object's Y axis is co-linear to average vertex group normal.
Use object's X axis for plane definition in such cases.

9 years agoFix #30009: cycles translucent BSDF + environment importance sampling not
Brecht Van Lommel [Mon, 30 Jan 2012 18:34:01 +0000 (18:34 +0000)]
Fix #30009: cycles translucent BSDF + environment importance sampling not
working correct.

9 years agoFix #30016: cycles crash with compute device set to GPU but not GPU device
Brecht Van Lommel [Mon, 30 Jan 2012 15:33:28 +0000 (15:33 +0000)]
Fix #30016: cycles crash with compute device set to GPU but not GPU device

9 years agoFix #28733, #29885: fix missing scene in context in python. The window manager
Brecht Van Lommel [Mon, 30 Jan 2012 15:12:51 +0000 (15:12 +0000)]
Fix #28733, #29885: fix missing scene in context in python. The window manager
would indirectly clear it when clearing the window from the context. This makes
some sense when we support multiple scenes properly, but currently there's still
many places assuming there is a single active scene, so keep it available to
avoid crashes.

9 years agoFix wrong uv editor Border Select Pinned name in menu.
Brecht Van Lommel [Mon, 30 Jan 2012 14:28:45 +0000 (14:28 +0000)]
Fix wrong uv editor Border Select Pinned name in menu.

9 years agofile selector - entering and empty path on *nix would ask to create a new dir.
Campbell Barton [Mon, 30 Jan 2012 10:04:27 +0000 (10:04 +0000)]
file selector - entering and empty path on *nix would ask to create a new dir.

9 years agodisplay keyblock mute in the shape key list.
Campbell Barton [Mon, 30 Jan 2012 09:49:30 +0000 (09:49 +0000)]
display keyblock mute in the shape key list.

Realize this is bcon3 but this is was very bad IMHO.
- button adjusting key block was in between 2 object settings - which is misleading/confusing.
- you needed to click through all shapes to check which was muted, currently you's assume 1.0 means the shape is enabled.

9 years agoFix #29976: Carve Boolenas crasher with Solidify
Sergey Sharybin [Mon, 30 Jan 2012 09:19:38 +0000 (09:19 +0000)]
Fix #29976: Carve Boolenas crasher with Solidify

Issue was caused by union policy needed to deal with cases when operand intersects
two or more intersecting meshes of another operand.

Changed this policy to run union operation only if there's actual intersection
between two meshes of the same object. Should work in general but it's still
possible to make it behave incorrect -- for example object consist of two groups
if concentric cubes which intersects each other.

9 years agoFix #30021: Crash happens when rotating markers
Sergey Sharybin [Mon, 30 Jan 2012 09:10:58 +0000 (09:10 +0000)]
Fix #30021: Crash happens when rotating markers

9 years agoFix #30020: Movie Clip Editor Crashed with panel size changed
Sergey Sharybin [Mon, 30 Jan 2012 09:05:26 +0000 (09:05 +0000)]
Fix #30020: Movie Clip Editor Crashed with panel size changed

9 years agoRemoved check for active node in edited node group to allow node group editing toggle...
Lukas Toenne [Mon, 30 Jan 2012 09:00:54 +0000 (09:00 +0000)]
Removed check for active node in edited node group to allow node group editing toggle. This enables closing an empty node group again (after removing all nodes or when empty group is added via menu). Fix for bug #30018.

9 years agoMake Image and Alpha outputs in render layer node 'unavailable' when the Combined...
Lukas Toenne [Mon, 30 Jan 2012 08:48:11 +0000 (08:48 +0000)]
Make Image and Alpha outputs in render layer node 'unavailable' when the Combined pass is not active in the render layer. Fix for bug #29999.

The internal code for render layers node is unchanged, since the buffer is created anyway. Also noticed that, while unavailable sockets and links to/from them are not displayed, they are still used in execution, which could lead to unexpected results. But that's a more general problem with the way (pseudo-)dynamic sockets are simply flagged with SOCK_UNAVAIL.

9 years agoFix #29993: Boolean modifier crashes Blender
Sergey Sharybin [Mon, 30 Jan 2012 08:45:12 +0000 (08:45 +0000)]
Fix #29993: Boolean modifier crashes Blender

Crash was caused by error in Carve triangulator. Fixed by upgrading Carve library.