blender.git
8 years agoHopefully scons+llvm works again.
Sergey Sharybin [Tue, 28 May 2013 14:05:12 +0000 (14:05 +0000)]
Hopefully scons+llvm works again.

8 years agorename references to faces in docs.
Campbell Barton [Tue, 28 May 2013 13:58:56 +0000 (13:58 +0000)]
rename references to faces in docs.

8 years agoreorder includes for win
Campbell Barton [Tue, 28 May 2013 13:37:47 +0000 (13:37 +0000)]
reorder includes for win

8 years agoAdded missing recalculate of normals after mesh import
Gaia Clary [Tue, 28 May 2013 13:32:29 +0000 (13:32 +0000)]
Added missing recalculate of normals after mesh import

8 years agocode cleanup: remove old/unused bmesh bevel transform mode, remove commented characte...
Campbell Barton [Tue, 28 May 2013 13:01:31 +0000 (13:01 +0000)]
code cleanup: remove old/unused bmesh bevel transform mode, remove commented character list UI widget and the members these used in 'G' global.

8 years agofix for missing normalize with recent optimizations.
Campbell Barton [Tue, 28 May 2013 12:00:36 +0000 (12:00 +0000)]
fix for missing normalize with recent optimizations.

8 years agoFix #35473: Using Redo panel in View3D after Grease Pencil action moves GP layer...
Sergey Sharybin [Tue, 28 May 2013 11:44:35 +0000 (11:44 +0000)]
Fix #35473: Using Redo panel in View3D after Grease Pencil action moves GP layer to that area

Remove REGISTER flag from GP draw operator, so redo wouldn't screw up regions.

8 years agoFix for node menu: Show the group input/output nodes in the Input/Output categories...
Lukas Toenne [Tue, 28 May 2013 09:45:34 +0000 (09:45 +0000)]
Fix for node menu: Show the group input/output nodes in the Input/Output categories respectively, so they can be added with the usual UI in case the user deletes them. These nodes are polled out for
non-group trees (node trees not in the bpy.data.node_groups collection) to avoid confusion. For that purpose a new optional poll function argument has been added to NodeItem, which allows selectively
polling individual items in an otherwise static list.

8 years agoFix #35547: incomplete tooltips in node editor
Sergey Sharybin [Tue, 28 May 2013 08:58:27 +0000 (08:58 +0000)]
Fix #35547: incomplete tooltips in node editor

Descriptions were missing since PyNodes integration.

Thanks to lukas for patch review!

8 years agoFix #35513: Multires modifier normal corruption on apply base
Sergey Sharybin [Tue, 28 May 2013 08:40:47 +0000 (08:40 +0000)]
Fix #35513: Multires modifier normal corruption on apply base

Seems it was simply missing mesh normals update in multiresModifier_base_apply.

8 years agoFix: smoke initial velocity didn't work with the new custom size particles.
Miika Hamalainen [Tue, 28 May 2013 08:10:01 +0000 (08:10 +0000)]
Fix: smoke initial velocity didn't work with the new custom size particles.

8 years agocode cleanup: comment/remove unused defines
Campbell Barton [Tue, 28 May 2013 01:15:59 +0000 (01:15 +0000)]
code cleanup: comment/remove unused defines

8 years agoFix for crash in Freestyle with sketchy chaining and Bezier Curve geometry modifier.
Tamito Kajiyama [Tue, 28 May 2013 00:35:29 +0000 (00:35 +0000)]
Fix for crash in Freestyle with sketchy chaining and Bezier Curve geometry modifier.

When the sketchy chaining is used, stroke geometry may contain a 180-degree U-turn.
If the 'error' parameter of the Bezier Curve geometry modifier is small (e.g., 10),
Bezier curve fitting will recursively split the original stroke into two pieces.
This splitting may take place at a U-turn point, causing a numerical singularity issue
that leads to a crash.

Problem report by edna in the BA Freestyle thread, with an example .blend to reproduce
the problem.  Thanks a lot!

8 years agofix [#35543] Bezier curve width and twist fail to apply when more than 1 point is...
Campbell Barton [Mon, 27 May 2013 23:51:01 +0000 (23:51 +0000)]
fix [#35543] Bezier curve width and twist fail to apply when more than 1 point is edited

8 years agofix [#35544] Boids Segfault of frame advance using cursor keys
Campbell Barton [Mon, 27 May 2013 22:25:54 +0000 (22:25 +0000)]
fix [#35544] Boids Segfault of frame advance using cursor keys
caused by partial revert of r56073.

8 years agofix [#35503] Bug with BMesh and Mirror Modifier (Blender 2.67)
Campbell Barton [Mon, 27 May 2013 20:56:33 +0000 (20:56 +0000)]
fix [#35503] Bug with BMesh and Mirror Modifier (Blender 2.67)
regression with bmesh - extruding was creating faces where it shouldn't.

8 years agooptimize mirror merging, remove array reallocation, replace with fixed size arrays.
Campbell Barton [Mon, 27 May 2013 20:11:12 +0000 (20:11 +0000)]
optimize mirror merging, remove array reallocation, replace with fixed size arrays.

8 years agofix error in own recent commit, also other minor changes.
Campbell Barton [Mon, 27 May 2013 18:51:31 +0000 (18:51 +0000)]
fix error in own recent commit, also other minor changes.

8 years agoview3d buttons, internal change: make act_vert_def vertex argument optional.
Campbell Barton [Mon, 27 May 2013 18:10:36 +0000 (18:10 +0000)]
view3d buttons, internal change: make act_vert_def vertex argument optional.

8 years agoPicky UI message fix...
Bastien Montagne [Mon, 27 May 2013 18:08:14 +0000 (18:08 +0000)]
Picky UI message fix...

8 years agoFix #35505: cycles object space normal mapping did not match blender internal.
Brecht Van Lommel [Mon, 27 May 2013 17:48:02 +0000 (17:48 +0000)]
Fix #35505: cycles object space normal mapping did not match blender internal.
Now it uses the same (strange) YZ flipping convention.

8 years agoFix #35506: enter local view, enable render draw mode, exit local view. In this
Brecht Van Lommel [Mon, 27 May 2013 17:21:20 +0000 (17:21 +0000)]
Fix #35506: enter local view, enable render draw mode, exit local view. In this
case the render engine would keep working invisible in the background.

8 years agoCycles / OpenCL:
Thomas Dinges [Mon, 27 May 2013 17:13:36 +0000 (17:13 +0000)]
Cycles / OpenCL:
* Use advanced shading for nvidia as well, works fine on my Geforce 540M with sm_21.
I tested the files from regression suite.

8 years agoParticles: patch #35205 by Jakub Zolcik
Brecht Van Lommel [Mon, 27 May 2013 17:11:05 +0000 (17:11 +0000)]
Particles: patch #35205 by Jakub Zolcik

The Emission panel now has a Use Modifier Stack option to emit particles from
the mesh with modifiers applied. Previously particles would only be emitted from
faces that exist in the original mesh. There are some caveats however:
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.68/Tools#Particles

8 years agoCycles OpenCL: patch #35514 by Doug Gale
Brecht Van Lommel [Mon, 27 May 2013 16:21:07 +0000 (16:21 +0000)]
Cycles OpenCL: patch #35514 by Doug Gale

* Support using devices from all OpenCL platforms, so that you can use e.g. both
  Intel and NVidia OpenCL implementations if you have them installed.
* Fix compile error due to missing fmodf after recent math node change.
* Enable advanced shading for Intel OpenCL.
* CYCLES_OPENCL_DEBUG environment variable for generating debug symbols so you
  can debug with gdb. This crashes the compiler with Intel OpenCL on Linux though.
  To make this work the preprocessed kernel source code is written out, as gdb
  needs this.
* Show OpenCL compiler warnings even if the build succeeded.
* Some small fixes to initialize cdDevice to NULL, add missing NULL check when
  creating buffer and add missing space at end of build options for Apple OpenCL.
* Fix crash with multi device + opencl, now e.g. CPU + GPU render should work.

I did a few tweaks to the code and also:

* Fix viewport render failing sometimes with Apple CPU OpenCL, was not taking
  workgroup size limits into account properly.
* Add compile error when advanced shading in the Blender binary and OpenCL kernel
  are not in sync.

8 years agonow an addons preference are available when it start,
Campbell Barton [Mon, 27 May 2013 16:12:06 +0000 (16:12 +0000)]
now an addons preference are available when it start,
this change is made so addons may initialize their own settings.

8 years agoFix #35480: object without material crash blender when starting game engine
Sergey Sharybin [Mon, 27 May 2013 15:13:14 +0000 (15:13 +0000)]
Fix #35480: object without material crash blender when starting game engine

Was a missing NULL-pointer check. No idea why it took so long to figure
issue out -- apparently there was no crash in linux for me and msvc
didn't show any backtrace :S

Also corrected weirdo way of bit flag check which was:
  !ma->mode & MA_FACETEXTURE
better do !(ma->mode & MA_FACETEXTURE) since ! is a logic NOT.

8 years agoAnd add Aarch (tested with amd64). Everything should be functionnal now...
Bastien Montagne [Mon, 27 May 2013 13:22:55 +0000 (13:22 +0000)]
And add Aarch (tested with amd64). Everything should be functionnal now...

8 years agoFix for #35495, Material preview do not update. This was caused by a line inserted...
Lukas Toenne [Mon, 27 May 2013 13:13:21 +0000 (13:13 +0000)]
Fix for #35495, Material preview do not update. This was caused by a line inserted by pynodes merge that would cancel all running preview jobs on each node area refresh. Not sure what the rationale for
this behavior was, but it certainly doesn't work correctly.

8 years agomodification to r57023, use active color but only draw face-stipple when selected...
Campbell Barton [Mon, 27 May 2013 13:03:33 +0000 (13:03 +0000)]
modification to r57023, use active color but only draw face-stipple when selected. (active-unselected isn't in common usage for mesh editmode).

8 years agobmesh optimization: use offsets for deform-vert lookups to avoid customdata layer...
Campbell Barton [Mon, 27 May 2013 12:42:48 +0000 (12:42 +0000)]
bmesh optimization: use offsets for deform-vert lookups to avoid customdata layer lookups within loops.

8 years agoCycles / Passes:
Thomas Dinges [Mon, 27 May 2013 11:33:17 +0000 (11:33 +0000)]
Cycles / Passes:
* Some closures (Toon, Diffuse Ramp) were not assigned to a CLOSURE_IS_* define, which made them invisible on render passes.
* Westin closures had wrong type, Sheen is Diffuse, Backscatter is Glossy.

8 years agoFix #35504: Blender crashes on separating curves with different Evaluation Time ...
Sergey Sharybin [Mon, 27 May 2013 10:08:56 +0000 (10:08 +0000)]
Fix #35504: Blender crashes on separating curves with different Evaluation Time / keyframes

Used slightly different approach from what was discussed with Campbell,
and the reason of this is slightly better support of curve point animation
re-mapping.

There're actually some limitations which better be discussed bewfore 'b':
- If there're no point animation, spline separation goes just fine.
- If there're animated points in the curve, blender will preserve
  animation for currently editing curve. But, since new curve created
  by Separate operator shares the same AnimData, it'll be animatied
  in a weird way.

So not sure whether it's better to preserve animation for current spline
but require switching animationdata for new spline or resetting animation
for current curve's animation data.

8 years agostyle cleanup: nodes
Campbell Barton [Mon, 27 May 2013 08:04:07 +0000 (08:04 +0000)]
style cleanup: nodes

8 years agostyle cleanup: nodes
Campbell Barton [Mon, 27 May 2013 07:57:17 +0000 (07:57 +0000)]
style cleanup: nodes

8 years agofix [#35518] UV Mapping crashes the Blender with specific image file
Campbell Barton [Mon, 27 May 2013 06:06:35 +0000 (06:06 +0000)]
fix [#35518] UV Mapping crashes the Blender with specific image file

2 bugs here
- missing NULL check in IMB_colormanagement_display_settings_from_ctx()
- deadlock in draw_image_paint_helpers()

Simple solution is to not draw paint helpers for render/viewer images.

8 years agoCycles / Fresnel:
Thomas Dinges [Sun, 26 May 2013 22:34:45 +0000 (22:34 +0000)]
Cycles / Fresnel:
* Avoid redundant assignment and use correct Normal for Ray Differentials.

8 years agoCycles / Hair:
Thomas Dinges [Sun, 26 May 2013 22:13:59 +0000 (22:13 +0000)]
Cycles / Hair:
* Fix a condition in the hair BVH code.

8 years agoBLI_math rename functions:
Campbell Barton [Sun, 26 May 2013 18:36:25 +0000 (18:36 +0000)]
BLI_math rename functions:
- mult_m4_m4m4 -> mul_m4_m4m4
- mult_m3_m3m4 -> mul_m3_m3m4

these temporary names were used to avoid problems when argument order was switched.

8 years agothe viewport align-active option was flipping the viewport direction,
Campbell Barton [Sun, 26 May 2013 18:24:13 +0000 (18:24 +0000)]
the viewport align-active option was flipping the viewport direction,
now you can add an object, enable align to view, then align the view back to the object without flipping.

8 years agoFixed own error: used wrong iteration count for cleaning weight groups
Gaia Clary [Sun, 26 May 2013 17:34:03 +0000 (17:34 +0000)]
Fixed own error: used wrong iteration count for cleaning weight groups

8 years agoCycles / OSL:
Thomas Dinges [Sun, 26 May 2013 17:10:22 +0000 (17:10 +0000)]
Cycles / OSL:
* Rename fresnel_dielectric() to fresnel_dielectric_cos() to match SVM, easier when searching code.
* Also remove an old code comment in bsdf_reflection.h from Cycles branch days.

8 years agoVarious fixes. Tested with OpenSuse 12.3 (amd64).
Bastien Montagne [Sun, 26 May 2013 15:00:42 +0000 (15:00 +0000)]
Various fixes. Tested with OpenSuse 12.3 (amd64).

8 years agocode cleanup: typos
Campbell Barton [Sun, 26 May 2013 12:02:29 +0000 (12:02 +0000)]
code cleanup: typos

8 years agobmesh: replace BLI_array reallocs with alloca, also don't check all faces for connect...
Campbell Barton [Sat, 25 May 2013 23:34:25 +0000 (23:34 +0000)]
bmesh: replace BLI_array reallocs with alloca, also don't check all faces for connecting verts.

8 years agocode cleanup: quiet pedantic warning in array macro.
Campbell Barton [Sat, 25 May 2013 22:26:41 +0000 (22:26 +0000)]
code cleanup: quiet pedantic warning in array macro.

8 years agofix for incorrect type casting when checking macros exec() functions.
Campbell Barton [Sat, 25 May 2013 22:07:21 +0000 (22:07 +0000)]
fix for incorrect type casting when checking macros exec() functions.
infact this worked by accident, but didn't crash.

8 years agoLive resize on Windows. Based on Ton's patch for mac.
Alexander Kuznetsov [Sat, 25 May 2013 21:59:34 +0000 (21:59 +0000)]
Live resize on Windows. Based on Ton's patch for mac.
Removing old resize stuff.
Windows has resize lag, which creates black gap with openGL. Still looking to fix it.

8 years agobmesh: replace array reallocation with a single face array and use STACK macros.
Campbell Barton [Sat, 25 May 2013 21:24:09 +0000 (21:24 +0000)]
bmesh: replace array reallocation with a single face array and use STACK macros.

8 years agobmesh: copy function - replace use of array reallocations with alloca in a static...
Campbell Barton [Sat, 25 May 2013 20:47:06 +0000 (20:47 +0000)]
bmesh: copy function - replace use of array reallocations with alloca in a static function.

8 years agoSimple usability fix:
Ton Roosendaal [Sat, 25 May 2013 17:42:20 +0000 (17:42 +0000)]
Simple usability fix:

Mesh editmode, active face was always drawing same stipple pattern color,
whether face is selected or not.
Now it uses selection color + stipple. Looks much more consistent.

8 years agoSome cleanup/reorganisation, and:
Bastien Montagne [Sat, 25 May 2013 14:49:29 +0000 (14:49 +0000)]
Some cleanup/reorganisation, and:
* Script should now remove relevant dirs in $INST when a package becomes suitable
* Script systematically runs relevant ldconfig commands when building boost/oiio

8 years agoSolving ancient Blender window sizing issue;
Ton Roosendaal [Sat, 25 May 2013 14:08:56 +0000 (14:08 +0000)]
Solving ancient Blender window sizing issue;

- Removed grid-snapping for area coordinates on scaling windows.
  That caused the areas to shrink or expand, and eventually corrupt screen layouts.

- Added simple but efficient life resize for OSX. I need to know why this is so much
  code for Windows... I suggest Windows to just copy same method; dispatch the queue,
  and just let the event system draw.

8 years agoCycles / Wireframe node:
Thomas Dinges [Sat, 25 May 2013 13:34:21 +0000 (13:34 +0000)]
Cycles / Wireframe node:
* Make sure we have valid geometry data, fixes a crash with Lamp objects.

Reported by lichtwerk in IRC, thanks!

8 years agoBug fix, irc submitted:
Ton Roosendaal [Sat, 25 May 2013 11:52:52 +0000 (11:52 +0000)]
Bug fix, irc submitted:

3D Viewport render (internal) didn't render bump maps (it was black even).

8 years agobmesh: optimize iterator size using a union for iterator specific data.
Campbell Barton [Sat, 25 May 2013 09:46:28 +0000 (09:46 +0000)]
bmesh: optimize iterator size using a union for iterator specific data.
on 64bit system reduces the struct to 64bytes, was 120, also avoids initializing unused values.

8 years agouse math functions rather then macros for bicubic interpolation.
Campbell Barton [Sat, 25 May 2013 09:33:08 +0000 (09:33 +0000)]
use math functions rather then macros for bicubic interpolation.

8 years agofix misalignement of timeliner marker with timeline
Gaia Clary [Sat, 25 May 2013 09:33:05 +0000 (09:33 +0000)]
fix misalignement of timeliner marker with timeline

8 years agoEnabled new openexr for RPM-based distro. Checked with FC18/amd64 for now, will check...
Bastien Montagne [Sat, 25 May 2013 09:31:45 +0000 (09:31 +0000)]
Enabled new openexr for RPM-based distro. Checked with FC18/amd64 for now, will check with Suse later.

8 years agocode cleanup: typo and stop manpage turning '$' into italic.
Campbell Barton [Sat, 25 May 2013 02:21:50 +0000 (02:21 +0000)]
code cleanup: typo and stop manpage turning '$' into italic.

8 years agofix [#35500] Material Copy Crash on specific scenes
Campbell Barton [Sat, 25 May 2013 00:23:23 +0000 (00:23 +0000)]
fix [#35500] Material Copy Crash on specific scenes
check material textures exist before using in a pasted material.

8 years agofix for out of bounds memory access in solidify (harmless with guardedalloc padding...
Campbell Barton [Sat, 25 May 2013 00:22:04 +0000 (00:22 +0000)]
fix for out of bounds memory access in solidify (harmless with guardedalloc padding but bad practice)

8 years agoA bunch of fixes to install_deps.sh (most notably, a bug in oiio's embeded version...
Bastien Montagne [Fri, 24 May 2013 14:31:57 +0000 (14:31 +0000)]
A bunch of fixes to install_deps.sh (most notably, a bug in oiio's embeded version of tbb, buggy oiio archive handling, moved ilmbase files into openexr dir (as expected by Blender), ...).

Tested with debian testing/i386 this time.

8 years agoweight tools: added more selection types to limit total operator
Gaia Clary [Fri, 24 May 2013 13:50:26 +0000 (13:50 +0000)]
weight tools: added more selection types to limit total operator

8 years agoFix bug #35450, bevel make large spikes sometimes.
Howard Trickey [Fri, 24 May 2013 13:13:05 +0000 (13:13 +0000)]
Fix bug #35450, bevel make large spikes sometimes.
Needed special case for when beveled edge is
antiparallel to an adjacent edge.

8 years agoFix for [#35490] Initial cube is green, turn off matcap and it is correct color
Thomas Dinges [Fri, 24 May 2013 12:25:18 +0000 (12:25 +0000)]
Fix for [#35490] Initial cube is green, turn off matcap and it is correct color
* Own error from r56980, "smooth" is an Interpolation qualifier in GLSL, so use another variable name to avoid the error.

8 years agoChanges for masks API
Sergey Sharybin [Fri, 24 May 2013 11:19:57 +0000 (11:19 +0000)]
Changes for masks API

Made it more consistent with blender convensions
and now it's very familiar to curve's python api.

- Made it spline.points.add(count) wich is more
  efficient in cases lots of points are adding.
  (points.new was removed tho).

- Removed mask_layer.splines.add(), now it's only
  mask_layer.splines.new(), which is how splines
  are adding for curves.

8 years agostyle cleanup
Campbell Barton [Fri, 24 May 2013 10:59:57 +0000 (10:59 +0000)]
style cleanup

8 years agofixed memory leak in weight tool: levels
Gaia Clary [Fri, 24 May 2013 10:54:26 +0000 (10:54 +0000)]
fixed memory leak in weight tool: levels

8 years agoweight tools: added more selection types to levels operator
Gaia Clary [Fri, 24 May 2013 10:46:37 +0000 (10:46 +0000)]
weight tools: added more selection types to levels operator

8 years agoFirst attempt to handle openexr/ilmbase 2.0 in install_deps.sh (linux builds).
Bastien Montagne [Fri, 24 May 2013 10:16:07 +0000 (10:16 +0000)]
First attempt to handle openexr/ilmbase 2.0 in install_deps.sh (linux builds).

Only activated for Deb-like distro for now, only tested with testing/amd64. Notes :
* Had to add a hell of patches to ilmbase/openexr/oiio cmake files (some are real, stupid bugs fixing [like files missing in lists or wrong linking order], others are "enhancements" [like being able to compile both static and dyn libs for openexr]).
* Unfortunately, I could not manage to keep oiio static (can't compile osl later, as it does not link all deps of oiio, tiff, jpeg, png, etc.). I’ll try to fix this later, but for now, you'll have to do as with boost (ldconfig).

I won't say here what I think about not having any (reliable) way to really link a static lib into another one... :/

Will test and enable other distro in following day(s), I do not *expect* much difficulties here.

8 years agofix for building on osx with recent freestyle bugfix.
Campbell Barton [Fri, 24 May 2013 10:15:20 +0000 (10:15 +0000)]
fix for building on osx with recent freestyle bugfix.

8 years agoBring back "Local" as second orientation choice after "Global", as in previuos "manua...
Bastien Montagne [Fri, 24 May 2013 10:05:25 +0000 (10:05 +0000)]
Bring back "Local" as second orientation choice after "Global", as in previuos "manual" menu. Pointed out by sebastian_k on IRC, thanks.

8 years agoweight tools: added more selection types to invert operator
Gaia Clary [Fri, 24 May 2013 09:30:13 +0000 (09:30 +0000)]
weight tools: added more selection types to invert operator

8 years agoFix #35493: Blender crash when rendering in terminal mode
Sergey Sharybin [Fri, 24 May 2013 07:56:32 +0000 (07:56 +0000)]
Fix #35493: Blender crash when rendering in terminal mode

Use the same window manager for freestyle bmain as
real bmain uses. This is needed because freestyle's
bmain could be used to tag scenes for update, which
implies call of ED_render_scene_update in some cases
and that function requires proper windoew manager
to present.

Alternative would be to make render scene update does
nothing if there's no window manager, but we wanted
freestyle to be applied in rendered viewport once and
think current change is what we'll need to support
freestyle in viewport.

But a bit further, perhaps that'd make sense to not
register ED_render_scene_update as a scene update
callback when in background mode?

8 years agofix own error in r56649, caused normal calculation to fail, reported as [#35448]...
Campbell Barton [Fri, 24 May 2013 06:50:15 +0000 (06:50 +0000)]
fix own error in r56649, caused normal calculation to fail, reported as [#35448], also quiet float/double warning.

8 years agodisable auto indent when pasting text into the python console.
Campbell Barton [Fri, 24 May 2013 01:04:37 +0000 (01:04 +0000)]
disable auto indent when pasting text into the python console.

8 years agofix [#35478] Spatial Noise crashes Blender on Render
Campbell Barton [Fri, 24 May 2013 00:30:22 +0000 (00:30 +0000)]
fix [#35478] Spatial Noise crashes Blender on Render

8 years agofix own regression with ortho-camera adding points reported as [#35462]
Campbell Barton [Fri, 24 May 2013 00:01:20 +0000 (00:01 +0000)]
fix own regression with ortho-camera adding points reported as [#35462]

8 years agoFollow up to previous commit. Non tiled mask wouldn't work on airbrushes
Antony Riakiotakis [Thu, 23 May 2013 21:37:18 +0000 (21:37 +0000)]
Follow up to previous commit. Non tiled mask wouldn't work on airbrushes

8 years agofix [#35488] Toggle "Show All Layers"
Campbell Barton [Thu, 23 May 2013 21:24:56 +0000 (21:24 +0000)]
fix [#35488] Toggle "Show All Layers"

8 years agoremove v3d.modeselect, reduce size of other vars in v3d.
Campbell Barton [Thu, 23 May 2013 21:14:17 +0000 (21:14 +0000)]
remove v3d.modeselect, reduce size of other vars in v3d.

8 years agoFix #35426, masking works wrong in projection painting. When we don't
Antony Riakiotakis [Thu, 23 May 2013 21:02:51 +0000 (21:02 +0000)]
Fix #35426, masking works wrong in projection painting. When we don't
use tiling, we need to sample the mask texture when determining the
pixel masking.

8 years agostyle cleanup: also remove unused var
Campbell Barton [Thu, 23 May 2013 20:20:24 +0000 (20:20 +0000)]
style cleanup: also remove unused var

8 years agoCleaned up draw_selected_name() to avoid redundant BLI_snprintf() calls
Gaia Clary [Thu, 23 May 2013 20:02:53 +0000 (20:02 +0000)]
Cleaned up draw_selected_name() to avoid redundant BLI_snprintf() calls

8 years agoFix stack corruptions in special cases
Sergey Sharybin [Thu, 23 May 2013 18:19:50 +0000 (18:19 +0000)]
Fix stack corruptions in special cases

Issue was caused by wrong array length used
for result of name_uiprefix_id, which shall
actually be 1 byte bugger than MAX_ID_NAME.

Reported by Sebastian Koenig in IRC.

8 years agoMade display of object : bone : shapes unique for weight painting and armature posing
Gaia Clary [Thu, 23 May 2013 18:01:43 +0000 (18:01 +0000)]
Made display of object : bone : shapes unique for weight painting and armature posing

8 years agoCycles / Toon BSDF:
Thomas Dinges [Thu, 23 May 2013 17:45:20 +0000 (17:45 +0000)]
Cycles / Toon BSDF:
* Added a toon bsdf node to Cycles. This was already available as OSL only closure, but is now available inside the SVM backed as well, for CPU and GPU rendering.
* There are 2 variations available, diffuse and glossy toon, selectable via a menu inside the node.

Documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Toon

Example render & blend file:
http://www.pasteall.org/pic/show.php?id=51970
http://www.pasteall.org/blend/21579

8 years agoImproved display of active bone (in 3DView) when weight painting a mesh Object
Gaia Clary [Thu, 23 May 2013 16:45:12 +0000 (16:45 +0000)]
Improved display of active bone (in 3DView) when weight painting a mesh Object

8 years agoAdded display of active bone (in 3DView) when weight painting a mesh Object
Gaia Clary [Thu, 23 May 2013 16:24:36 +0000 (16:24 +0000)]
Added display of active bone (in 3DView) when weight painting a mesh Object

8 years agoBug fix, IRC report.
Ton Roosendaal [Thu, 23 May 2013 16:01:25 +0000 (16:01 +0000)]
Bug fix, IRC report.

Mesh with very strange topology makes loop-select (ALT+select) crash.
Missing NULL check for do-while loop that can return NULL.

For Campbell: here's the file to check: http://www.pasteall.org/blend/21576

8 years agoBug fix #35481
Ton Roosendaal [Thu, 23 May 2013 15:10:36 +0000 (15:10 +0000)]
Bug fix #35481

Browsing screens via menu disabled screen editing (area divider drag) and made
popup menu hanging (select same editor for example).

Caused by bug fix #35434, commit gets rewinded, and report reopened.

8 years agoMasks api improvements
Sergey Sharybin [Thu, 23 May 2013 10:50:55 +0000 (10:50 +0000)]
Masks api improvements

- Added MaskLayer.splines.new (which creates single spline
  and returns pointer to it).
- Added MaskLayer.splines.remove() to remove given spline.
- Added MaskSpline.points.new() which creates new point
  in the origin and returns pointer to it.
- Added MaskSpline.points.remove() to remove given point.

8 years agoSupport for bridge tool subdivisions, smoothing and shape along the profile.
Campbell Barton [Thu, 23 May 2013 06:19:04 +0000 (06:19 +0000)]
Support for bridge tool subdivisions, smoothing and shape along the profile.
also added the underlying subdivision as a standalone operator in the edge menu, named: subdivide edge-ring.
http://www.graphicall.org/ftp/ideasman42/bridge_subd.png

8 years agofix/workaround for problem with osx permissions.
Campbell Barton [Thu, 23 May 2013 03:35:57 +0000 (03:35 +0000)]
fix/workaround for problem with osx permissions.

8 years agoFix #35449: image sequences to drive e.g. particle length or used in modifiers
Brecht Van Lommel [Wed, 22 May 2013 22:17:07 +0000 (22:17 +0000)]
Fix #35449: image sequences to drive e.g. particle length or used in modifiers
were no properly updating when rendering animations.

The render engine was only updating the image user current frame on images used
by material textures. Now moved the function that updates all from the editors
to blenkernel level and do it on all frame changes.

8 years agoWeight tools: Clean added additional selection options in operator Panel
Gaia Clary [Wed, 22 May 2013 22:03:14 +0000 (22:03 +0000)]
Weight tools: Clean added additional selection options in operator Panel

8 years agowrong list member size for memory setting(was too short)
Gaia Clary [Wed, 22 May 2013 20:46:48 +0000 (20:46 +0000)]
wrong list member size for memory setting(was too short)

8 years agoFix #35459: global texture coordinates not working with GLSL shaders. Got broken
Brecht Van Lommel [Wed, 22 May 2013 20:18:17 +0000 (20:18 +0000)]
Fix #35459: global texture coordinates not working with GLSL shaders. Got broken
in shader uniform binding optimizations in revision 55527.

8 years agoFix #35469: image editor smear and soften paint tools not working correct for
Brecht Van Lommel [Wed, 22 May 2013 20:06:50 +0000 (20:06 +0000)]
Fix #35469: image editor smear and soften paint tools not working correct for
float images, was not taking premul/straight convention into account properly.