blender.git
7 years agoMerging r46725 through r46963 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 24 May 2012 09:47:29 +0000 (09:47 +0000)]
Merging r46725 through r46963 from trunk into soc-2011-tomato

7 years ago * removed clamp from color correction
Jeroen Bakker [Thu, 24 May 2012 06:16:05 +0000 (06:16 +0000)]
 * removed clamp from color correction

7 years agoCode Cleanup - DNA_space_types.h - Part 2 - Rearranging Stuff
Joshua Leung [Thu, 24 May 2012 04:46:01 +0000 (04:46 +0000)]
Code Cleanup - DNA_space_types.h - Part 2 - Rearranging Stuff

* Moved all enums to immediately follow the struct(s) that they are used for/by.
Less jumping around the file to find these

* Reshuffled the order of a few structs/editor groupings. For example, now all
animation editors are grouped together, and most general/property editors are
grouped together.

7 years agoCode Cleanup - DNA_space_types.h - Replaced all #define-lists with enums
Joshua Leung [Thu, 24 May 2012 04:21:57 +0000 (04:21 +0000)]
Code Cleanup  - DNA_space_types.h - Replaced all #define-lists with enums

* All lists of #defines now replaced with enums
* All flags are now defined using the "(1 << x)" style, which is easier to
read/maintain than the other variations

7 years agoRestoring Group Colours for Animation Channels - Part 1
Joshua Leung [Thu, 24 May 2012 01:25:31 +0000 (01:25 +0000)]
Restoring Group Colours for Animation Channels - Part 1

This commit restores the group colours support for F-Curves and F-Curve Groups
in the DopeSheet and Graph Editors. Currently the relevant settings for groups
are only exposed via RNA, but a followup commit will add support for
automatically setting these colours. By default, DopeSheet and Graph Editors are
set to display these colours if/when they are available.

This functionality used to be in 2.48, and is a useful mechanism for visually
distinguishing between channels for different controls when animating (if group
colours are used on the rigs too).

7 years agostyle cleanup: comma placement
Campbell Barton [Wed, 23 May 2012 22:45:39 +0000 (22:45 +0000)]
style cleanup: comma placement

7 years agocode cleanup: fix possible use of uninitialized value and remove dead initializations.
Campbell Barton [Wed, 23 May 2012 21:39:39 +0000 (21:39 +0000)]
code cleanup: fix possible use of uninitialized value and remove dead initializations.

7 years agoImage.gl_touch - routine to prevent the image to be cleared by blender cache garbage...
Dalai Felinto [Wed, 23 May 2012 20:19:40 +0000 (20:19 +0000)]
Image.gl_touch - routine to prevent the image to be cleared by blender cache garbage collection system
* if the image is not loaded (bindcode == 0) load the image

This needs to be called often. If the image is 'cleaned' by Blender, it will not help to load it after.
[ gl_load returns the errors: GL_STACK_OVERFLOW(1283) or GL_STACK_UNDERFLOW (1284) ]

Thanks Campbell for the suggestion on how to handle this (BKE_image_tag_time)

7 years agoFeature request implemented: [#31572] Mixdown selects blend filename, should initiali...
Joerg Mueller [Wed, 23 May 2012 19:55:00 +0000 (19:55 +0000)]
Feature request implemented: [#31572] Mixdown selects blend filename, should initialize name from filetype as images do.

7 years agoFix cycles render issue with a (useless) mix node that has the same shader
Brecht Van Lommel [Wed, 23 May 2012 17:55:34 +0000 (17:55 +0000)]
Fix cycles render issue with a (useless) mix node that has the same shader
plugged into both sockets.

7 years agostyle cleanup: also correct comment
Campbell Barton [Wed, 23 May 2012 17:26:49 +0000 (17:26 +0000)]
style cleanup: also correct comment

7 years agoincrease memory limit for sequencer cache to 32gig
Campbell Barton [Wed, 23 May 2012 17:16:53 +0000 (17:16 +0000)]
increase memory limit for sequencer cache to 32gig

7 years agoCamera tracking: imbuf (un)distoriton used to set RECT_INVALID flag for source image...
Sergey Sharybin [Wed, 23 May 2012 16:53:33 +0000 (16:53 +0000)]
Camera tracking: imbuf (un)distoriton used to set RECT_INVALID flag for source image instead of destination

This lead to wrong proxies generated for openexr float image sequences

7 years agoNode Editor UI:
Thomas Dinges [Wed, 23 May 2012 16:34:41 +0000 (16:34 +0000)]
Node Editor UI:
* Added back the single triangle icon for node color special menu, showed empty after recent changes in r46939.

7 years agoMovie clip: remove workaround for #27997
Sergey Sharybin [Wed, 23 May 2012 16:19:04 +0000 (16:19 +0000)]
Movie clip: remove workaround for #27997

it's not actually helps, but only confuses system when using openexr movie clips.

7 years agoFinish changes in up/down arrows for menus
Sergey Sharybin [Wed, 23 May 2012 14:24:40 +0000 (14:24 +0000)]
Finish changes in up/down arrows for menus

Restored single triangle for special menus, which still isn't perfect but
probably makes more sense.

Added drawflag bit flags to button, which is currently used to declare, that
button need to have up/down arrows. This is needed because it's tricky to
distinguish if button should have such arrows. For example, ID search buttons
is a simple block button which doesn't directly mean it'll have pop-up menu
and not all buttons which cases pop-up menu to display need to have such
arrows.

So currently only ID selector button is forcing up/down arrows to be displayed,
all the rest buttons now behaves in the same way as it used to be before.

7 years agocleanup relink code
Jeroen Bakker [Wed, 23 May 2012 12:45:07 +0000 (12:45 +0000)]
cleanup relink code

7 years agofix for crash selecting curve pointsx
Campbell Barton [Wed, 23 May 2012 12:15:12 +0000 (12:15 +0000)]
fix for crash selecting curve pointsx

7 years agoSet "a" version character to put the version at 2.63a, this is apparently needed
Brecht Van Lommel [Wed, 23 May 2012 11:38:00 +0000 (11:38 +0000)]
Set "a" version character to put the version at 2.63a, this is apparently needed
for package managers to stay ahead of the 2.63a bugfix release.

7 years ago * Stopped flickering of preview images
Jeroen Bakker [Wed, 23 May 2012 10:31:16 +0000 (10:31 +0000)]
 * Stopped flickering of preview images
 * Solved crash when first input socket of brightness node is not
connected

7 years agoedit to last commit, remove pointer to active slide vert, only need to store the...
Campbell Barton [Wed, 23 May 2012 09:55:48 +0000 (09:55 +0000)]
edit to last commit, remove pointer to active slide vert, only need to store the index.

7 years agoFix: cycles not supporting scene background sets.
Brecht Van Lommel [Wed, 23 May 2012 09:46:33 +0000 (09:46 +0000)]
Fix: cycles not supporting scene background sets.

7 years agonon-proportional edge slide patch by XercesBlue
Campbell Barton [Wed, 23 May 2012 09:46:32 +0000 (09:46 +0000)]
non-proportional edge slide patch by XercesBlue

remmoved edge-visibility check from the patch which gives nice functionality but calculates and BVH and throws it away every update.

7 years agosolidify modifier - replace define, no longer needed since switching to bmesh.
Campbell Barton [Wed, 23 May 2012 06:39:29 +0000 (06:39 +0000)]
solidify modifier - replace define, no longer needed since switching to bmesh.

7 years agosolidify modifier - replace VECADDFAC with inline function.
Campbell Barton [Wed, 23 May 2012 06:32:02 +0000 (06:32 +0000)]
solidify modifier - replace VECADDFAC with inline function.

7 years agofix solidify modifier flipping of rim polygons.
Campbell Barton [Wed, 23 May 2012 06:25:31 +0000 (06:25 +0000)]
fix solidify modifier flipping of rim polygons.

7 years agoScons - only go to the trouble of making these directories if they don't already
Joshua Leung [Wed, 23 May 2012 04:15:50 +0000 (04:15 +0000)]
Scons - only go to the trouble of making these directories if they don't already
exist!

7 years agoFix for [#31276] Action Actuator, Priorities higher than 1 break Playback:
Mitchell Stokes [Wed, 23 May 2012 04:01:05 +0000 (04:01 +0000)]
Fix for [#31276] Action Actuator, Priorities higher than 1 break Playback:

The code was looking to see if the priority was strictly greater than the current priority, but it seems that an equal priority should also override (at least the report seems to suggest that this is the behavior from 2.49).

7 years agoscons - Added option to not remove and unpack python modules bundle every
Joshua Leung [Wed, 23 May 2012 03:49:42 +0000 (03:49 +0000)]
scons - Added option to not remove and unpack python modules bundle every
compile

7 years agoMotion Paths Gui - Restoring a "Calculate" button to the Motion Paths panel
Joshua Leung [Wed, 23 May 2012 03:36:03 +0000 (03:36 +0000)]
Motion Paths Gui - Restoring a "Calculate" button to the Motion Paths panel

Iterating on previous design, a Calculate button is now present in this panel
again. Most people just wouldn't have a clue to try the toolbar...

7 years agostyle cleanup
Campbell Barton [Tue, 22 May 2012 22:03:41 +0000 (22:03 +0000)]
style cleanup

7 years agocode cleanup: double promotion warnings
Campbell Barton [Tue, 22 May 2012 21:16:59 +0000 (21:16 +0000)]
code cleanup: double promotion warnings

7 years agoNode UI:
Thomas Dinges [Tue, 22 May 2012 19:16:20 +0000 (19:16 +0000)]
Node UI:
* Made the new custom theme options a bit better and more compact.
* Added a few separators to better distinguish these settings from the actual node buttons.

7 years agoCode cleanup: better warning in case of modifier icons in outliner.
Nicholas Bishop [Tue, 22 May 2012 18:40:31 +0000 (18:40 +0000)]
Code cleanup: better warning in case of modifier icons in outliner.

Modified the switch statement to use the ModifierType enum and changed
the default case to use specific missing values. Compiler can then
issue warnings when new modifier types are added (at least gcc 4.6.3
does)

7 years agoSkin Modifier:
Thomas Dinges [Tue, 22 May 2012 18:20:07 +0000 (18:20 +0000)]
Skin Modifier:
* Show Modifier Icon in Outliner.

7 years agoexpanding bmesh example (py api)
Dalai Felinto [Tue, 22 May 2012 18:14:34 +0000 (18:14 +0000)]
expanding bmesh example (py api)

7 years agoCollada: Added a Preset selector
Gaia Clary [Tue, 22 May 2012 17:57:03 +0000 (17:57 +0000)]
Collada: Added a Preset selector

7 years agoFix memory leak when deleting all vertices from mesh with certain modifiers (bevel...
Antony Riakiotakis [Tue, 22 May 2012 17:33:58 +0000 (17:33 +0000)]
Fix memory leak when deleting all vertices from mesh with certain modifiers (bevel and array among them) and VBO are enabled.

7 years agostyle cleanup
Campbell Barton [Tue, 22 May 2012 16:24:09 +0000 (16:24 +0000)]
style cleanup

also fix example for mesh uv's

7 years agostyle cleanup: relating to skin modifier
Campbell Barton [Tue, 22 May 2012 16:09:31 +0000 (16:09 +0000)]
style cleanup: relating to skin modifier

7 years agostyle cleanu: skin modifier
Campbell Barton [Tue, 22 May 2012 15:57:42 +0000 (15:57 +0000)]
style cleanu: skin modifier

7 years agoFix for compiling with player after skin modifier commits.
Nicholas Bishop [Tue, 22 May 2012 15:55:02 +0000 (15:55 +0000)]
Fix for compiling with player after skin modifier commits.

Removed the bad_level_call_stubs for BLI_heap functions; player is
being linked with blenlib, so this gives multiple-definition linker
errors.

7 years agoLong old UI annoyance:
Ton Roosendaal [Tue, 22 May 2012 15:50:13 +0000 (15:50 +0000)]
Long old UI annoyance:

The up/down triangle icon for menus was not drawing when a menu had
an icon; even though space was reserved there. Note: this can only
work now with removing the ugly "down triangle" icon from buttons like
next to the Material list box (button pops up menu with tools).

Looks nicer this way anyway.

7 years agouse faces longest edge when orienting the manipulator to the active face
Campbell Barton [Tue, 22 May 2012 15:49:41 +0000 (15:49 +0000)]
use faces longest edge when orienting the manipulator to the active face
also small speedup for finding the longest edge

7 years agoAdd vertex skin radii scaling as a transform operator.
Nicholas Bishop [Tue, 22 May 2012 15:30:14 +0000 (15:30 +0000)]
Add vertex skin radii scaling as a transform operator.

Add a new transform operator, "Skin Resize", which scales the X and Y
axes of the radius field in MVertSkin. It's bound to CTRL+AKEY.

Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier

7 years agoClear skin root flag on new vertices created by extruding.
Nicholas Bishop [Tue, 22 May 2012 15:30:05 +0000 (15:30 +0000)]
Clear skin root flag on new vertices created by extruding.

Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier

7 years agoAdd operator to extract armature and vertex groups from skin.
Nicholas Bishop [Tue, 22 May 2012 15:29:57 +0000 (15:29 +0000)]
Add operator to extract armature and vertex groups from skin.

* The operator creates bones for each input edge (does not subdivide
  them like the skin operator does), adds a fake root bone for skin
  roots with multiple children.

* The operator adds vertex weight groups to the original mesh.

* Make copy_object_transform() public, used to match the armature
  object to the mesh object.

Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier

7 years agoAdd skin vertex operators.
Nicholas Bishop [Tue, 22 May 2012 15:29:44 +0000 (15:29 +0000)]
Add skin vertex operators.

* Add operator to mark selected vertices as skin roots.
* Add operator to mark/clear selected vertices as loose.
* Add operator to equalize skin radii.

Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier

7 years agoEnsure skin nodes get created when adding modifier.
Nicholas Bishop [Tue, 22 May 2012 15:29:37 +0000 (15:29 +0000)]
Ensure skin nodes get created when adding modifier.

Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier

7 years agoDraw skin vertex roots in edit mode.
Nicholas Bishop [Tue, 22 May 2012 15:29:27 +0000 (15:29 +0000)]
Draw skin vertex roots in edit mode.

Roots are drawn with a view-oriented dashed red circle around the
vertex location. The circle's radius is the average if the skin
vertex's X and Y radii.

Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier

7 years agoAdd new theme-able color, TH_SKIN_ROOT.
Nicholas Bishop [Tue, 22 May 2012 15:29:15 +0000 (15:29 +0000)]
Add new theme-able color, TH_SKIN_ROOT.

Bumped file version from 263.5 to 263.6 to ensure the default
TH_SKIN_ROOT color gets set.

Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier

7 years agoAdd skin modifier: DNA, RNA, UI, and MOD_skin.c implementation.
Nicholas Bishop [Tue, 22 May 2012 15:29:01 +0000 (15:29 +0000)]
Add skin modifier: DNA, RNA, UI, and MOD_skin.c implementation.

Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier

Implementation based in part off the paper "B-Mesh: A Fast Modeling
System for Base Meshes of 3D Articulated Shapes" (Zhongping Ji,
Ligang Liu, Yigang Wang)

Note that to avoid confusion with Blender's BMesh data structure,
this tool is renamed as the Skin modifier.

The B-Mesh paper is current available here:
http://www.math.zju.edu.cn/ligangliu/CAGD/Projects/BMesh/

The main missing features in this code compared to the paper are:

* No mesh evolution. The paper suggests iteratively subsurfing the
  skin output and adapting the output to better conform with the
  spheres of influence surrounding each vertex.

* No mesh fairing. The paper suggests re-aligning output edges to
  follow principal mesh curvatures.

* No auxiliary balls. These would serve to influence mesh
  evolution, which as noted above is not implemented.

The code also adds some features not present in the paper:

* Loops in the input edge graph.

* Concave surfaces around branch nodes. The paper does not discuss
  how to handle non-convex regions; this code adds a number of
  cleanup operations to handle many (though not all) of these
  cases.

7 years agoAdd Mesh equivalent to BM_edge_other_vert().
Nicholas Bishop [Tue, 22 May 2012 15:28:44 +0000 (15:28 +0000)]
Add Mesh equivalent to BM_edge_other_vert().

/* Return the index of the edge vert that is not equal to 'v'. If
 * neither edge vertex is equal to 'v', returns -1. */
int BKE_mesh_edge_other_vert(const struct MEdge *e, int v);

7 years agoAdd new BMesh length query functions.
Nicholas Bishop [Tue, 22 May 2012 15:19:33 +0000 (15:19 +0000)]
Add new BMesh length query functions.

BMEdge *BM_face_find_shortest_edge(BMFace *f);
BMEdge *BM_face_find_longest_edge(BMFace *f);

Reviewed by Campbell Barton.

7 years agofix for bmesh api example
Dalai Felinto [Tue, 22 May 2012 15:19:19 +0000 (15:19 +0000)]
fix for bmesh api example
worth noticing is that the example in bpy.types.Mesh is wrong too (Mesh type does not have an uv element)
but I would prefer someone more familiar with bmesh to take a look at those

7 years agoAdd skin modifier icon created by Julio Iglesias.
Nicholas Bishop [Tue, 22 May 2012 15:19:13 +0000 (15:19 +0000)]
Add skin modifier icon created by Julio Iglesias.

Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier

7 years agoAdd MVertSkin DNA/RNA and customdata (CD_MVERT_SKIN).
Nicholas Bishop [Tue, 22 May 2012 15:18:43 +0000 (15:18 +0000)]
Add MVertSkin DNA/RNA and customdata (CD_MVERT_SKIN).

The MVertSkin currently just stores local skin radii and skin
flags (MVertSkinFlag).

Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier

Reviewed by Campbell Barton.

7 years agoA number of new features for the node editor in general and the Frame node in particular.
Lukas Toenne [Tue, 22 May 2012 14:13:33 +0000 (14:13 +0000)]
A number of new features for the node editor in general and the Frame node in particular.
For an detailed user-level description of new features see the following blogpost:

http://code.blender.org/index.php/2012/05/node-editing-tweaks/

TL;DR:
* Frame node gets more usable bounding-box behavior
* Node resizing has helpful mouse cursor indicators and works on all borders
* Node selection/active colors are themeable independently
* Customizable background colors for nodes (useful for frames visual
distinction).

7 years agocode cleanup: key/interpolation
Campbell Barton [Tue, 22 May 2012 13:59:58 +0000 (13:59 +0000)]
code cleanup: key/interpolation

7 years agoexpose absolute shape keyblock interpolation in the ui
Campbell Barton [Tue, 22 May 2012 13:43:36 +0000 (13:43 +0000)]
expose absolute shape keyblock interpolation in the ui

7 years agostyle cleanup: mmap_win32
Campbell Barton [Tue, 22 May 2012 13:20:01 +0000 (13:20 +0000)]
style cleanup: mmap_win32

7 years agoDisable building of CUDA 1.3 kernels for cycles for win32 cmake and mingw32 scons...
Antony Riakiotakis [Tue, 22 May 2012 12:30:37 +0000 (12:30 +0000)]
Disable building of CUDA 1.3 kernels for cycles for win32 cmake and mingw32 scons. They were already disabled for scons MSVC 32bit.

7 years agoFix for customdata layer copying. Issue was caused by mixing up of destination and...
Andrew Hale [Tue, 22 May 2012 12:03:56 +0000 (12:03 +0000)]
Fix for customdata layer copying. Issue was caused by mixing up of destination and source in copy function. Also fixed an error in Py API, check to see if layers were different should be check to see if they're the same.

7 years agomove select operations into their own file
Campbell Barton [Tue, 22 May 2012 10:48:29 +0000 (10:48 +0000)]
move select operations into their own file

7 years agofix for error in last commit and minor speedup to looping over edges.
Campbell Barton [Tue, 22 May 2012 10:10:14 +0000 (10:10 +0000)]
fix for error in last commit and minor speedup to looping over edges.

7 years ago * Composite result is updated when editing (preview were already
Jeroen Bakker [Tue, 22 May 2012 09:54:08 +0000 (09:54 +0000)]
 * Composite result is updated when editing (preview were already
calculated, now the final result is also updated in the image space
 * default texture size when not connected to any resolution depended
operation defaults to render size

7 years agosolidify modifier - remove a loop on all edges.
Campbell Barton [Tue, 22 May 2012 09:53:33 +0000 (09:53 +0000)]
solidify modifier - remove a loop on all edges.

7 years agoFix imbuf users leak in MovieClip tiles node
Sergey Sharybin [Tue, 22 May 2012 09:15:05 +0000 (09:15 +0000)]
Fix imbuf users leak in MovieClip tiles node

Leak was caused by not calling IMB_freeImBuf for result of BKE_movieclip_get_ibuf

7 years agoFix for movie distoriton node in tiles
Sergey Sharybin [Tue, 22 May 2012 09:15:01 +0000 (09:15 +0000)]
Fix for movie distoriton node in tiles

Now it works in the same way as non-tiles node in cases when image's
resolution is not equal to resolution used for calibration.

Also add some additional checks for distortion cache, so now it should
be updating properly when camera intrinsics are changing.

Potentially added support of overscan, but currently all needed computation
is commented out.

7 years agofix for regression in curve modifier (own fault)
Campbell Barton [Tue, 22 May 2012 09:00:34 +0000 (09:00 +0000)]
fix for regression in curve modifier (own fault)

7 years agoI18n fixes, mainly for (cycles) nodes (i.e. node template in Buttons window).
Bastien Montagne [Tue, 22 May 2012 08:36:06 +0000 (08:36 +0000)]
I18n fixes, mainly for (cycles) nodes (i.e. node template in Buttons window).

Note: the problem of sockets translation remains (for all node types), currently they are unavailable from RNA, hence not detected by i18n tools, so only solution is to add N_() in all node sockets templates… yuck! Really have to fix this.

7 years agofix [#31530] Project paint with Clipping border gives opaque background
Campbell Barton [Tue, 22 May 2012 08:24:52 +0000 (08:24 +0000)]
fix [#31530] Project paint with Clipping border gives opaque background

draw clipping box alpha 0 so reprojection and rendering show the background as alpha 0.

7 years agoFix #31522: wrong ID user count on custom bone shape object after duplicate
Sergey Sharybin [Tue, 22 May 2012 07:46:14 +0000 (07:46 +0000)]
Fix #31522: wrong ID user count on custom bone shape object after duplicate

7 years agofix [#31489] EdgeSplit modifier prevents All Edge to be work correctly since 2.63
Campbell Barton [Tue, 22 May 2012 07:26:45 +0000 (07:26 +0000)]
fix [#31489] EdgeSplit modifier prevents All Edge to be work correctly since 2.63

bmesh regression where the edge-draw flag was cleared when bmesh modifiers were used.

7 years agoremove unused enums (these are defined and used elsewhere)
Campbell Barton [Tue, 22 May 2012 07:07:25 +0000 (07:07 +0000)]
remove unused enums (these are defined and used elsewhere)

7 years agoFix #31500: Displacement Baking from Multires doesn't work
Sergey Sharybin [Tue, 22 May 2012 07:06:48 +0000 (07:06 +0000)]
Fix #31500: Displacement Baking from Multires doesn't work

Issue was caused by wrong calculation of grid coordinates when switching
from low resolution mesh to high resolution mesh. Somehow was affected only
for face U or V equals to 1.0f.

Checked fix using all test files used during initial implementation of
multires baker and tested sample file from bug/ Seems everything is OK.

7 years agostyle cleanup: brace placement.
Campbell Barton [Tue, 22 May 2012 06:29:46 +0000 (06:29 +0000)]
style cleanup: brace placement.

7 years agoAdd input sample averaging to PaintStroke.
Nicholas Bishop [Mon, 21 May 2012 23:32:46 +0000 (23:32 +0000)]
Add input sample averaging to PaintStroke.

Averages input samples to make the brush stroke smoother. Only mouse
location is averaged right now, not pressure/tilt/etc.

The DNA is in struct Paint.num_input_samples, RNA is
Paint.input_samples. In combination with PaintStroke usage this change
applies to sculpt, vpaint, and wpaint.

The range of useful values varies quite a bit depending on input
device; mouse needs higher values to match tablet pen, so set max
samples pretty high (64).

Release note section:
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Sculpting#Input_Stroke_Averaging

7 years agofix for
Monique Dewanchand [Mon, 21 May 2012 20:36:02 +0000 (20:36 +0000)]
fix for
[#31502] Defocus max radius help tekst

7 years agoMissing RNA_def_property_update functions for RenderSettings bake properties
Dan Eicher [Mon, 21 May 2012 20:28:54 +0000 (20:28 +0000)]
Missing RNA_def_property_update functions for RenderSettings bake properties

7 years agoFix for [#31413] Code review testing: Regarding chunksize, could the
Jeroen Bakker [Mon, 21 May 2012 20:21:32 +0000 (20:21 +0000)]
Fix for [#31413] Code review testing: Regarding chunksize, could the
tooltip be made more clear

7 years agoUI mafia fix thanks to venomgfx for reporting
Jeroen Bakker [Mon, 21 May 2012 20:10:21 +0000 (20:10 +0000)]
UI mafia fix thanks to venomgfx for reporting
 * Color correction node

7 years agoFix for
Monique Dewanchand [Mon, 21 May 2012 19:58:23 +0000 (19:58 +0000)]
Fix for
[#31408] Code review testing: Button labels are invisible in many nodes

7 years agoFix for [#31418] Code review: OpenCL initialization
Jeroen Bakker [Mon, 21 May 2012 19:31:29 +0000 (19:31 +0000)]
Fix for [#31418] Code review: OpenCL initialization
 * Moved OpenCL initialization to first use
 * cleaned up build files
 * display some debug lines only when debugging is enabled.

7 years ago[#31410] Code review testing: The color correction node in particular is
Jeroen Bakker [Mon, 21 May 2012 18:47:55 +0000 (18:47 +0000)]
[#31410] Code review testing: The color correction node in particular is
quite problematic in button layout
 * Added first column with labels
 * increased max size of node
 * moved the start/end midtones to the bottom of the node

7 years agoFix for [#31367] render.drawLine not 2D filter aware:
Mitchell Stokes [Mon, 21 May 2012 18:35:31 +0000 (18:35 +0000)]
Fix for [#31367] render.drawLine not 2D filter aware:

The lines from render.drawLine() are now drawn before motion blur and 2D Filters.

7 years agoA few minor UI message fixes...
Bastien Montagne [Mon, 21 May 2012 18:06:20 +0000 (18:06 +0000)]
A few minor UI message fixes...

7 years agochange name length from 32 to 64, perhaps we should have some constant here bpy.const...
Campbell Barton [Mon, 21 May 2012 16:52:04 +0000 (16:52 +0000)]
change name length from 32 to 64, perhaps we should have some constant here bpy.constants.NAME_MAX ? - but this hardly ever changes.

also hide allow overlap option for adding sequence strips, this was only intended for api use

7 years agofix for [#31543] Nodes use array past bounds
Jeroen Bakker [Mon, 21 May 2012 16:05:45 +0000 (16:05 +0000)]
fix for [#31543] Nodes use array past bounds

7 years ago * Bokeh Image angle now has rnge from -720 to +720 degrees
Jeroen Bakker [Mon, 21 May 2012 14:05:47 +0000 (14:05 +0000)]
 * Bokeh Image angle now has rnge from -720 to +720 degrees

7 years agoclip/mask parenting from previous commit
Campbell Barton [Mon, 21 May 2012 13:42:58 +0000 (13:42 +0000)]
clip/mask parenting from previous commit
- clear parent wasnt working
- selecting tracks now works when mask editing

7 years agoCycles: add Object Info node, with outputs object location, object/material
Brecht Van Lommel [Mon, 21 May 2012 12:52:28 +0000 (12:52 +0000)]
Cycles: add Object Info node, with outputs object location, object/material
pass index, and a random number unique to the instance of the object.

This can be useful to give some variation to a single material assigned to
multiple instances, either manually controlled through the object index, based
on the object location, or randomized for each instance.

http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Object_Info

7 years agodebugging check for bmesh (commented since its very slow), but useful for debugging...
Campbell Barton [Mon, 21 May 2012 12:30:06 +0000 (12:30 +0000)]
debugging check for bmesh (commented since its very slow), but useful for debugging some scripts.

7 years agomask parenting operator, and clear parenting. (Ctrl+P, Alt+P)
Campbell Barton [Mon, 21 May 2012 11:09:53 +0000 (11:09 +0000)]
mask parenting operator, and clear parenting. (Ctrl+P, Alt+P)

- also use offset now with parenting.
- draw line from point to parent.

7 years agoAdded switch in dilate/erode between old (Step) and new (Distance)
Jeroen Bakker [Mon, 21 May 2012 10:20:30 +0000 (10:20 +0000)]
Added switch in dilate/erode between old (Step) and new (Distance)
algorithm

Connected the Glare Fog Flow to use Fast Gaussian in stead of Bokeh blur

7 years agofix for fix - possible on second loop to use freed memory still.
Campbell Barton [Mon, 21 May 2012 10:13:43 +0000 (10:13 +0000)]
fix for fix - possible on second loop to use freed memory still.

7 years agofix for unlikely but possible use of uninitialized pointers.
Campbell Barton [Mon, 21 May 2012 10:11:51 +0000 (10:11 +0000)]
fix for unlikely but possible use of uninitialized pointers.

7 years agoMove search area form track to marker structure
Sergey Sharybin [Mon, 21 May 2012 09:19:08 +0000 (09:19 +0000)]
Move search area form track to marker structure

This allows different markers has different size of search area which
makes it possible to scale search area when doing planar tracking.

Made changes to all related areas such as transformation, tracking,
finally ported marker clamping function, added python bindings for
changed search area and added python API for pattern corners.

TODO: It's still possible to make marker's center go outside of pattern
      corners when translating pattern area or rotating it around median
      point.

7 years agocode cleanup: remove some old comments
Campbell Barton [Mon, 21 May 2012 09:00:35 +0000 (09:00 +0000)]
code cleanup: remove some old comments

7 years agofix for minor annoyance when an operator is called by another - dont add blend file...
Campbell Barton [Mon, 21 May 2012 08:24:03 +0000 (08:24 +0000)]
fix for minor annoyance when an operator is called by another - dont add blend file to recent history.

this way demo-mode addon doesnt clobber the recent history with demo files its operator loads.