blender.git
7 years agosvn merge ^/trunk/blender -r43420:43436
Campbell Barton [Tue, 17 Jan 2012 02:20:23 +0000 (02:20 +0000)]
svn merge ^/trunk/blender -r43420:43436

7 years agocomment unused var
Campbell Barton [Tue, 17 Jan 2012 02:07:38 +0000 (02:07 +0000)]
comment unused var

7 years agoremove unused function
Campbell Barton [Tue, 17 Jan 2012 00:45:51 +0000 (00:45 +0000)]
remove unused function

7 years agoOSX/Cmake: make bpy module work finally by linking against python3.2 framework
Jens Verwiebe [Mon, 16 Jan 2012 20:10:38 +0000 (20:10 +0000)]
OSX/Cmake: make bpy module work finally by linking against python3.2 framework

7 years agoCorrected fix for linking issues with blenderplayer enabled
Sergey Sharybin [Mon, 16 Jan 2012 18:49:10 +0000 (18:49 +0000)]
Corrected fix for linking issues with blenderplayer enabled

7 years agoFix for compilation error using cmake+msvc
Sergey Sharybin [Mon, 16 Jan 2012 18:24:30 +0000 (18:24 +0000)]
Fix for compilation error using cmake+msvc

7 years agoDynamic Paint:
Miika Hamalainen [Mon, 16 Jan 2012 17:18:07 +0000 (17:18 +0000)]
Dynamic Paint:
* Added per surface options "influence scale" and "radius scale" for tweaking brush settings individually for each surface.
* Added option to completely disable drying. This should be nice for indefinitely spreading paint etc.
* Improved paint mixing algorithm.
* "Paint effects" now work in relative mesh space instead of global. This means that effect speed remains same for identical shapes regardless of their size.
* Complete rewrite of "spread effect" algorithm. It now works much better in all test cases done. Old algo sometimes produced artifacts and stopped spreading too early.
* Adjustments / rewrite on some parts of dripping algorithm to make it work better with transparent paint.
* Added a new "color dry" setting. It can be used to define wetness level when paint colors start to shift to surface "background". Lower values can be useful to prevent spreading paint from becoming transparent as it dries, while higher (default) values give better results in general.
* Fix: If multiple displace/wave surfaces were used simultaneously, displace was applied using wrong normal.

Please note that due to these changes in "paint effects" system older save files may require some tweaking to match results from previous versions.

7 years agoCarve booleans library integration
Sergey Sharybin [Mon, 16 Jan 2012 16:46:00 +0000 (16:46 +0000)]
Carve booleans library integration
==================================

Merging Carve library integration project into the trunk.

This commit switches Boolean modifier to another library which handles
mesh boolean operations in much stable and faster way, resolving old
well-known limitations of intern boolop library.

Carve is integrating as alternative interface for boolop library and
which makes it totally transparent for blender sources to switch between
old-fashioned boolop and new Carve backends.

Detailed changes in this commit:

- Integrated needed subset of Carve library sources into extern/
  Added script for re-bundling it (currently works only if repo
  was cloned by git-svn).
- Added BOP_CarveInterface for boolop library which can be used by
  Boolean modifier.
- Carve backend is enabled by default, can be disabled by WITH_BF_CARVE
  SCons option and WITH_CARVE CMake option.
- If Boost library is found in build environment it'll be used for
  unordered collections. If Boost isn't found, it'll fallback to TR1
  implementation for GCC compilers. Boost is obligatory if MSVC is used.

Tested on Linux 64bit and Windows 7 64bit.

NOTE: behavior of flat objects was changed. E.g. Plane-Sphere now gives
      plane with circle hole, not plane with semisphere. Don't think
      it's really issue because it's not actually defined behavior in
      such situations and both of ways might be useful. Since it's
      only known "regression" think it's OK to deal with it.

Details are there http://wiki.blender.org/index.php/User:Nazg-gul/CarveBooleans

Special thanks to:

- Ken Hughes: author of original carve integration patch.
- Campbell Barton: help in project development, review tests.
- Tobias Sargeant: author of Carve library, help in resolving some
                   merge stoppers, bug fixing.

7 years agopatch [#29859] UTF-8 support for text editor.
Sv. Lockal [Mon, 16 Jan 2012 16:23:25 +0000 (16:23 +0000)]
patch [#29859] UTF-8 support for text editor.
This also fixes cursor movement in the beginning of line and adds do_versions block for converting text files with old extended ascii encoding into UTF-8.

7 years agoupdate to modifier testing script
Campbell Barton [Mon, 16 Jan 2012 16:16:55 +0000 (16:16 +0000)]
update to modifier testing script

added presets for hook/decimate/build/mask

7 years agomore keymap edits
Campbell Barton [Mon, 16 Jan 2012 16:12:03 +0000 (16:12 +0000)]
more keymap edits
- make sure defaults are not assumed (so reuse last settings doesnt
override)
- replace 0/1 for TRUE/FALSE defines.

7 years agopatch [#29856] UTF-8 copy&paste for Win32 GHOST
Sv. Lockal [Mon, 16 Jan 2012 15:00:28 +0000 (15:00 +0000)]
patch [#29856] UTF-8 copy&paste for Win32 GHOST

7 years agoFix for standalone bpy module building link errors on Mac.
Brecht Van Lommel [Mon, 16 Jan 2012 14:13:41 +0000 (14:13 +0000)]
Fix for standalone bpy module building link errors on Mac.

It seems to be working now, however make sure to build against the exact same
python version as the one you will use it with, the version in the lib/darwin*
directory is likely to differ from python installed on your system.

7 years agoCycles: add option to cache BVH's between subsequent renders, storing the BVH on
Brecht Van Lommel [Mon, 16 Jan 2012 13:13:37 +0000 (13:13 +0000)]
Cycles: add option to cache BVH's between subsequent renders, storing the BVH on
disk to be reused by the next render.

This is useful for rendering animations where only the camera or materials change.
Note that saving the BVH to disk only to be removed for the next frame is slower
if this is not the case and the meshes do actually change.

For a render, it will save bvh files to the cache user directory, and remove all
cache files from other renders. The files are named using a MD5 hash based on the
mesh, to verify if the meshes are still the same.

7 years agosvn merge ^/trunk/blender -r43392:43420
Campbell Barton [Mon, 16 Jan 2012 11:50:17 +0000 (11:50 +0000)]
svn merge ^/trunk/blender -r43392:43420

7 years agomiddle mouse jump scrolling for text window.
Campbell Barton [Mon, 16 Jan 2012 10:48:52 +0000 (10:48 +0000)]
middle mouse jump scrolling for text window.

7 years agouse a look for paint brush switching keys
Campbell Barton [Mon, 16 Jan 2012 10:05:53 +0000 (10:05 +0000)]
use a look for paint brush switching keys

7 years agouse TRUE/FALSE for boolean keymaps, no functional changes
Campbell Barton [Mon, 16 Jan 2012 09:51:04 +0000 (09:51 +0000)]
use TRUE/FALSE for boolean keymaps, no functional changes

7 years agowent over all keymaps to check for cases where defaults were assumed
Campbell Barton [Mon, 16 Jan 2012 09:42:29 +0000 (09:42 +0000)]
went over all keymaps to check for cases where defaults were assumed
(which could be wrong if the previous setting was used).

7 years agofix for defaults not being set for object mode hide and delete keymap.
Campbell Barton [Mon, 16 Jan 2012 09:12:34 +0000 (09:12 +0000)]
fix for defaults not being set for object mode hide and delete keymap.

7 years agoChange function for nb_invert so that ~matrix returns the inverted matrix rather...
Andrew Hale [Mon, 16 Jan 2012 09:01:11 +0000 (09:01 +0000)]
Change function for nb_invert so that ~matrix returns the inverted matrix rather than inverting inplace.

7 years agoAllow camera 1:1 and center camera view to run from menu's.
Campbell Barton [Mon, 16 Jan 2012 06:57:37 +0000 (06:57 +0000)]
Allow camera 1:1 and center camera view to run from menu's.

7 years agoopengl render save ignored alpha settings. also some FILE_MAX defines missed last...
Campbell Barton [Mon, 16 Jan 2012 06:43:58 +0000 (06:43 +0000)]
opengl render save ignored alpha settings. also some FILE_MAX defines missed last commit.

7 years agouse FILE_MAX instead of 240 or comment where define cant be used.
Campbell Barton [Mon, 16 Jan 2012 05:52:33 +0000 (05:52 +0000)]
use FILE_MAX instead of 240 or comment where define cant be used.

7 years agouse defines for property name lenghths in the BGE, were using 31,32,64,100.
Campbell Barton [Mon, 16 Jan 2012 05:27:11 +0000 (05:27 +0000)]
use defines for property name lenghths in the BGE, were using 31,32,64,100.

7 years agoMinor sculpt/paint cleanups.
Nicholas Bishop [Sun, 15 Jan 2012 23:43:54 +0000 (23:43 +0000)]
Minor sculpt/paint cleanups.

Added some comments, constified a param, and moved a couple things
around.

7 years agosupport for quick jump to scroll area with middle mouse clicking on scroll area ...
Campbell Barton [Sun, 15 Jan 2012 17:26:30 +0000 (17:26 +0000)]
support for quick jump to scroll area with middle mouse clicking on scroll area (become used to this for qt and gtk apps)

7 years agofix crash when calling bpy.ops.render.render('INVOKE_DEFAULT') from the python console.
Campbell Barton [Sun, 15 Jan 2012 14:19:32 +0000 (14:19 +0000)]
fix crash when calling bpy.ops.render.render('INVOKE_DEFAULT') from the python console.

7 years agoAnother fix for previous own fix...
Bastien Montagne [Sun, 15 Jan 2012 13:51:32 +0000 (13:51 +0000)]
Another fix for previous own fix...

7 years agoRemove unused code and code sued for debug
Sergey Sharybin [Sun, 15 Jan 2012 13:32:07 +0000 (13:32 +0000)]
Remove unused code and code sued for debug

7 years agoColor channels now can be disabled for the whole frame in clip editor
Sergey Sharybin [Sun, 15 Jan 2012 13:31:58 +0000 (13:31 +0000)]
Color channels now can be disabled for the whole frame in clip editor

7 years agoFixed incorrect behavior of 2d stabilization preview in clip editor when proxied...
Sergey Sharybin [Sun, 15 Jan 2012 13:31:40 +0000 (13:31 +0000)]
Fixed incorrect behavior of 2d stabilization preview in clip editor when proxied resolution is used

7 years agoRefactoring and code deduplicate in movie cache
Sergey Sharybin [Sun, 15 Jan 2012 13:31:25 +0000 (13:31 +0000)]
Refactoring and code deduplicate in movie cache

7 years agoweight paint UI
Campbell Barton [Sun, 15 Jan 2012 13:23:57 +0000 (13:23 +0000)]
weight paint UI
- added back 2.4x 'Vgroup' option to the UI, restricts painting to verts already in the group.
- remove 'All Faces' button in weight paint mode. it doesn't do anything.

7 years agonote on compating RNA pointers and compare RNA types for RNA-Properties too.
Campbell Barton [Sun, 15 Jan 2012 12:35:40 +0000 (12:35 +0000)]
note on compating RNA pointers and compare RNA types for RNA-Properties too.

7 years agoremove some unused DNA members
Campbell Barton [Sun, 15 Jan 2012 11:53:14 +0000 (11:53 +0000)]
remove some unused DNA members

7 years agomove bmesh painting code into its own function, trunk has vpaint_paint_face(), this...
Campbell Barton [Sun, 15 Jan 2012 10:48:39 +0000 (10:48 +0000)]
move bmesh painting code into its own function, trunk has vpaint_paint_face(), this adds vpaint_paint_poly() which does the same thing.

7 years agosvn merge ^/trunk/blender -r43381:43392
Campbell Barton [Sun, 15 Jan 2012 10:33:41 +0000 (10:33 +0000)]
svn merge ^/trunk/blender -r43381:43392

7 years agoFixed typo in a tooltip
Sergey Sharybin [Sun, 15 Jan 2012 09:20:29 +0000 (09:20 +0000)]
Fixed typo in a tooltip

7 years agosvn merge ^/trunk/blender -r43345:43381
Campbell Barton [Sun, 15 Jan 2012 09:16:39 +0000 (09:16 +0000)]
svn merge ^/trunk/blender -r43345:43381

7 years agomodify the weight paint and vcol functions not to modify the color in place and inste...
Campbell Barton [Sun, 15 Jan 2012 07:46:59 +0000 (07:46 +0000)]
modify the weight paint and vcol functions not to modify the color in place and instead return a new color.

also fix for error in last commit, the brushes alpha wasnt set for weight paint info struct.

7 years agovertex/weight paint
Campbell Barton [Sun, 15 Jan 2012 07:15:15 +0000 (07:15 +0000)]
vertex/weight paint
- store brush_alpha() result so it doesnt need to be called for each vertex when paitning.
- use _pressure suffix rather then _final to show the pressure has been applied.
- weight paint was needlessly calculateing the test weight when multipaint was enabled.

7 years agominor cleanup to weightpaint code, move color & weight blending into own function...
Campbell Barton [Sun, 15 Jan 2012 06:29:08 +0000 (06:29 +0000)]
minor cleanup to weightpaint code, move color & weight blending into own function (was duplicated), also add enum for vpaint blend modes.

7 years agoFix all remaining unified paint settings uses of current Scene.
Nicholas Bishop [Sat, 14 Jan 2012 23:54:51 +0000 (23:54 +0000)]
Fix all remaining unified paint settings uses of current Scene.

Things like brush size and strength accessors now take a scene
parameter rather than guessing about which Scene's unified paint
settings to use.

Setting the size/strength through RNA can now be done separately for
the brush or the UnifiedPaintSettings.

The UI python code required updating to check whether the
size/strength controls should use brush or UnifiedPaintSettings RNA.

Radial control also required some updates to switch between the two
RNA sources.

7 years agoFix [#29894] Selection in sequence editor does not de-select other strips
Bastien Montagne [Sat, 14 Jan 2012 22:59:51 +0000 (22:59 +0000)]
Fix [#29894] Selection in sequence editor does not de-select other strips

Another bunch of fixes for select keymaps (sequencer, node, nla, graph, action).

7 years agoOoops ! Small error in previous own commit :/
Bastien Montagne [Sat, 14 Jan 2012 21:41:13 +0000 (21:41 +0000)]
Ooops ! Small error in previous own commit :/

7 years agoFix [#29891] Stupid select all behaviour.
Bastien Montagne [Sat, 14 Jan 2012 21:19:41 +0000 (21:19 +0000)]
Fix [#29891] Stupid select all behaviour.

More "Reset ops properties" stuff, in select C keymaps this time.

Also ARMATURE_OT_select_inverse -> ARMATURE_OT_select_all(action='INVERT'). Left the select_inverse op code, though, it’s not using the same algo as INVERT of select_all ???

7 years agofix for weight paint when the mirror vertex was allocated (would free the original...
Campbell Barton [Sat, 14 Jan 2012 18:52:34 +0000 (18:52 +0000)]
fix for weight paint when the mirror vertex was allocated (would free the original verts weight).

was an error in own recent commit.

7 years agofix [#29887] Alt + g in a node group results in crash
Campbell Barton [Sat, 14 Jan 2012 18:11:45 +0000 (18:11 +0000)]
fix [#29887] Alt + g in a node group results in crash

7 years agofix [#29889] Simple Deform: Missing lock x/y axis option
Campbell Barton [Sat, 14 Jan 2012 18:07:09 +0000 (18:07 +0000)]
fix [#29889] Simple Deform: Missing lock x/y axis option

7 years agofix [#29890] Extend selection doesn't clear (3D view edge loop select and node editor...
Campbell Barton [Sat, 14 Jan 2012 17:56:44 +0000 (17:56 +0000)]
fix [#29890] Extend selection doesn't clear (3D view edge loop select and node editor node select)

caused by own use-last-settings, will be more of these, need to go over all keymaps.

7 years agoadd utility function to BLI_math_color - rgb_to_luma, rgb_to_luma_byte, also use...
Campbell Barton [Sat, 14 Jan 2012 17:14:23 +0000 (17:14 +0000)]
add utility function to BLI_math_color - rgb_to_luma, rgb_to_luma_byte, also use rgb_to_grayscale in more places.

7 years agoreplace operator to toggle handles with generic wm operator
Campbell Barton [Sat, 14 Jan 2012 16:26:08 +0000 (16:26 +0000)]
replace operator to toggle handles with generic wm operator

7 years agoreplace ANIM_OT_time_toggle operator with generic WM_OT_context_toggle operator
Campbell Barton [Sat, 14 Jan 2012 14:17:12 +0000 (14:17 +0000)]
replace ANIM_OT_time_toggle operator with generic WM_OT_context_toggle operator

7 years agoremove api from addon bl_info, was never used.
Campbell Barton [Sat, 14 Jan 2012 13:02:20 +0000 (13:02 +0000)]
remove api from addon bl_info, was never used.

7 years agoadjust view3d api function for getting user region to also return view3d since most...
Campbell Barton [Sat, 14 Jan 2012 12:24:25 +0000 (12:24 +0000)]
adjust view3d api function for getting user region to also return view3d since most callers need this too.

7 years ago- opengl render in quadview wasn't using camera.
Campbell Barton [Sat, 14 Jan 2012 11:21:00 +0000 (11:21 +0000)]
- opengl render in quadview wasn't using camera.
- minor change to FTOCHAR use.

7 years agoensure functions are not used within FTOCHAR macro since they run 2-3 times.
Campbell Barton [Sat, 14 Jan 2012 10:33:16 +0000 (10:33 +0000)]
ensure functions are not used within FTOCHAR macro since they run 2-3 times.

brushes were doing curve lookups within this macro for example.

7 years agotag unused function args in raytrace code.
Campbell Barton [Sat, 14 Jan 2012 10:08:47 +0000 (10:08 +0000)]
tag unused function args in raytrace code.

7 years agoFix UV Editor selection (due to bug #29875, "extend" was no more reset when using...
Bastien Montagne [Sat, 14 Jan 2012 08:59:11 +0000 (08:59 +0000)]
Fix UV Editor selection (due to bug #29875, "extend" was no more reset when using keymap).

Yet I wonder how much of these remain (and why some, like e.g. selection in 3D views, did not have that problem)… This is a bit fuzzy, imho.

7 years agofix for own error making button outlines darker.
Campbell Barton [Sat, 14 Jan 2012 07:46:21 +0000 (07:46 +0000)]
fix for own error making button outlines darker.

7 years agomake sequencer use standard select operator with action property, remove select_inver...
Campbell Barton [Sat, 14 Jan 2012 07:23:57 +0000 (07:23 +0000)]
make sequencer use standard select operator with action property, remove select_inverse operator.

7 years agoremove *.select_inverse operators where the *.select_all operator has an invert option.
Campbell Barton [Sat, 14 Jan 2012 06:58:03 +0000 (06:58 +0000)]
remove *.select_inverse operators where the *.select_all operator has an invert option.

7 years agofix own bug [#29875] Due to operators now reusing there last-used settings, some...
Campbell Barton [Sat, 14 Jan 2012 06:30:27 +0000 (06:30 +0000)]
fix own bug [#29875] Due to operators now reusing there last-used settings, some UI options are more or less broken (esp. in shortcuts and menu entries)

also prefer *.select_all rather then *.select_inverse operators, since this is an option for select_all.

7 years agouse single property lookups in transform operator initialization & fix error with...
Campbell Barton [Sat, 14 Jan 2012 04:42:41 +0000 (04:42 +0000)]
use single property lookups in transform operator initialization & fix error with last-settings, so texture translate doesn't apply to the grab key.

7 years agotheme settings - split space and space list into their own RNA members, display with...
Campbell Barton [Sat, 14 Jan 2012 03:24:41 +0000 (03:24 +0000)]
theme settings - split space and space list into their own RNA members, display with own heading in userprefs.

7 years agoFix #29879: ctrl+B border select with handles in the graph editor not selecting
Brecht Van Lommel [Fri, 13 Jan 2012 17:25:24 +0000 (17:25 +0000)]
Fix #29879: ctrl+B border select with handles in the graph editor not selecting
the right keys/handles.

7 years agoGroup DEM node code with the rest of the mattes, rather than the filters. Also fixes...
Peter Larabell [Fri, 13 Jan 2012 16:00:24 +0000 (16:00 +0000)]
Group DEM node code with the rest of the mattes, rather than the filters. Also fixes two typos in DEM node comments.

7 years agoFix #29878: running bpy.ops.render.opengl() from console not starting new line
Brecht Van Lommel [Fri, 13 Jan 2012 15:35:36 +0000 (15:35 +0000)]
Fix #29878: running bpy.ops.render.opengl() from console not starting new line
or printing output.

7 years agoBugfix: Editing baked cache in particle mode for Softbody and Cloth now shows changes...
Daniel Genrich [Fri, 13 Jan 2012 15:14:08 +0000 (15:14 +0000)]
Bugfix: Editing baked cache in particle mode for Softbody and Cloth now shows changes in 3dview without having to exit + enter editmode.

7 years agoFix quicktime issue in last commit that moved settings into own RNA struct.
Brecht Van Lommel [Fri, 13 Jan 2012 14:56:51 +0000 (14:56 +0000)]
Fix quicktime issue in last commit that moved settings into own RNA struct.

7 years agoFix #29873: transform with individual origins not working in edge select mode.
Brecht Van Lommel [Fri, 13 Jan 2012 14:56:41 +0000 (14:56 +0000)]
Fix #29873: transform with individual origins not working in edge select mode.

7 years agoMove FFmpeg and QuickTime settings to own structure inside RenderSettings
Sergey Sharybin [Fri, 13 Jan 2012 12:34:41 +0000 (12:34 +0000)]
Move FFmpeg and QuickTime settings to own structure inside RenderSettings
rather than making all properties have ffmpeg_ and quicktime_ prefixes

7 years agoAdded Lossless Output option for h264 codec.
Sergey Sharybin [Fri, 13 Jan 2012 12:34:23 +0000 (12:34 +0000)]
Added Lossless Output option for h264 codec.

This will fix #26943: render image to video problem

7 years agofix for error comparing py-struct members
Campbell Barton [Fri, 13 Jan 2012 11:36:32 +0000 (11:36 +0000)]
fix for error comparing py-struct members

if 2 pyrna structs used the same pointer they could incorrectly compare as true, this caused an error in theme saving because an item could match its parent and stop writing (to prevent recursive writing of same data).

eg:
  context.user_preferences.themes[0].user_interface.wcol_regular == context.user_preferences.themes[0].user_interface

7 years agoadding metaballs and lamps in local mode was broken.
Campbell Barton [Fri, 13 Jan 2012 10:14:48 +0000 (10:14 +0000)]
adding metaballs and lamps in local mode was broken.

7 years agoalpha value for button triangles ignored the alpha value (was no way to change alpha...
Campbell Barton [Fri, 13 Jan 2012 09:26:06 +0000 (09:26 +0000)]
alpha value for button triangles ignored the alpha value (was no way to change alpha of `Tick` in boolean option button).

7 years agoFix #29824: Error writing frame if 3D scene starts after first frame of animation...
Sergey Sharybin [Fri, 13 Jan 2012 09:20:13 +0000 (09:20 +0000)]
Fix #29824: Error writing frame if 3D scene starts after first frame of animation and output is H264

Issue was caused by incorrectly set PTS value frames came form Scene strip renderer.
This value used to be calculated from RenderData current and start frame which
lead to non-uniformuly counting which totally confuses encoder.

Switch append_avi and append_ffmpeg to use current frame from rendering scene
(which was already passing to this functions and was used mostly for logging)
and start frame of rendering scene (it's new parameter added). This allowed to
calculate correct PTS value easily and get rid of global static sframe variable
in writeavi.c file.

7 years agobge api doc update
Dalai Felinto [Fri, 13 Jan 2012 08:58:12 +0000 (08:58 +0000)]
bge api doc update
bge.texture materialId wasn't showing up
bge.type was outdated (I removed the glew example, I hope no one mind)

7 years agofix for weight paint wire draw leaving GL_BLEND enabled (made pose bones draw with...
Campbell Barton [Fri, 13 Jan 2012 08:38:26 +0000 (08:38 +0000)]
fix for weight paint wire draw leaving GL_BLEND enabled (made pose bones draw with low alpha)

7 years agosvn merge ^/trunk/blender -r43338:43345
Campbell Barton [Fri, 13 Jan 2012 08:28:51 +0000 (08:28 +0000)]
svn merge ^/trunk/blender -r43338:43345

7 years ago'uw' was used in weight paint code for previous deform weight, renamed to 'dw_prev'
Campbell Barton [Fri, 13 Jan 2012 08:18:22 +0000 (08:18 +0000)]
'uw' was used in weight paint code for previous deform weight, renamed to 'dw_prev'

7 years agogive a more useful error when attempting to opengl render in background mode.
Campbell Barton [Fri, 13 Jan 2012 06:59:16 +0000 (06:59 +0000)]
give a more useful error when attempting to opengl render in background mode.
add some tips to the python docs.

7 years agorename 'MultiLayer' to 'OpenEXR MultiLayer'
Campbell Barton [Fri, 13 Jan 2012 06:58:15 +0000 (06:58 +0000)]
rename 'MultiLayer' to 'OpenEXR MultiLayer'

7 years agofix [#29832] Weightpainting with "x-mirror" and "auto normalize" fails for center...
Campbell Barton [Fri, 13 Jan 2012 05:52:34 +0000 (05:52 +0000)]
fix [#29832] Weightpainting with "x-mirror" and "auto normalize" fails for center bones

normalize function simply wasn't called on the mirror vertex.

also fix 3 other bugs / inconsistencies

* when mirror is enabled, center verts get themselves as the mirror vertex, wpaint code didn't check for this case, mirroring the vertex to it self (would work, but unneeded).
* normalizing after painting would scale the active weight too, now keep the painted weight and adjust others when normalizing.
* VP_ONLYVGROUP wasn't respected for mirror (mirror vertex group would always be added).

7 years agoanother minor weightpaint change, dont pass do_auto_normalize as a bool arg to do_wei...
Campbell Barton [Fri, 13 Jan 2012 02:25:15 +0000 (02:25 +0000)]
another minor weightpaint change, dont pass do_auto_normalize as a bool arg to do_weight_paint_normalize_all(), just check before calling.

7 years agominor edits to main weight paint function for better readability - do_weight_paint_ve...
Campbell Barton [Fri, 13 Jan 2012 02:17:29 +0000 (02:17 +0000)]
minor edits to main weight paint function for better readability - do_weight_paint_vertex(), no functional changes.

7 years agosvn merge ^/trunk/blender -r43294:43338
Campbell Barton [Fri, 13 Jan 2012 01:39:57 +0000 (01:39 +0000)]
svn merge ^/trunk/blender -r43294:43338

7 years agoRemove vestigial retopo/retopo-paint code.
Nicholas Bishop [Thu, 12 Jan 2012 22:12:07 +0000 (22:12 +0000)]
Remove vestigial retopo/retopo-paint code.

7 years agoFix some RNA/scene issuess with unified paint settings.
Nicholas Bishop [Thu, 12 Jan 2012 21:48:08 +0000 (21:48 +0000)]
Fix some RNA/scene issuess with unified paint settings.

Added RNA for the unified paint setting flags that matches the Brush
RNA. Fixed the getter/setter functions to avoid guessing which Scene's
UnifiedPaintSetting to use. The getter functions take a Scene pointer
now, the setter functions are removed in favor of a more explicit
approach through RNA:

Rather than RNA choosing whether a property's value is in the Brush or
in the UnifiedPaintSettings, there are now explicit properties for
both. The UI code has been modified accordingly to switch the toggle
buttons between affecting the Brush and the UnifiedPaintSettings.

7 years agoFix related to #29694: quicktime export was not showing or respecting RGBA
Brecht Van Lommel [Thu, 12 Jan 2012 21:10:46 +0000 (21:10 +0000)]
Fix related to #29694: quicktime export was not showing or respecting RGBA
option even though some movie formats support alpha.

7 years agoFix ##29803: cycles image texture node refresh issue with image editor.
Brecht Van Lommel [Thu, 12 Jan 2012 21:10:30 +0000 (21:10 +0000)]
Fix ##29803: cycles image texture node refresh issue with image editor.

7 years agoFixing FreeBSD x64 build
Sergey Sharybin [Thu, 12 Jan 2012 19:38:08 +0000 (19:38 +0000)]
Fixing FreeBSD x64 build

Patch by Shane Ambler, thanks!

7 years agoRename the sculpt/paint unified flags for better consistency, no functional changes
Nicholas Bishop [Thu, 12 Jan 2012 18:08:07 +0000 (18:08 +0000)]
Rename the sculpt/paint unified flags for better consistency, no functional changes

7 years agoMove unified paint fields from ToolSettings into their own UnifiedPaintSettings struct.
Nicholas Bishop [Thu, 12 Jan 2012 17:22:32 +0000 (17:22 +0000)]
Move unified paint fields from ToolSettings into their own UnifiedPaintSettings struct.

File subversion is bumped to two in order to copy over the old fields.

This removes two RNA properties, sculpt_paint_use_unified_size and
sculpt_paint_use_unified_strength.

Code review link:
http://codereview.appspot.com/5529077

7 years agoFix #29860: cycles musgrave scale input not working correct.
Brecht Van Lommel [Thu, 12 Jan 2012 17:13:56 +0000 (17:13 +0000)]
Fix #29860: cycles musgrave scale input not working correct.

7 years agoRemove empty comment I added on accident.
Kent Mein [Thu, 12 Jan 2012 17:05:13 +0000 (17:05 +0000)]
Remove empty comment I added on accident.

Kent

7 years agouse render osa setting for opengl render sample count and BLI_jitter for opengl rende...
Campbell Barton [Thu, 12 Jan 2012 17:04:09 +0000 (17:04 +0000)]
use render osa setting for opengl render sample count and BLI_jitter for opengl rendering (previously was hard coded at 5).

7 years agoSome small fixes to get things compiling on solaris with cmake.
Kent Mein [Thu, 12 Jan 2012 16:31:27 +0000 (16:31 +0000)]
Some small fixes to get things compiling on solaris with cmake.
There are also some changes that need to be done to libmv but I'm
leaving those out so I can get it patched upstream first.

(Only works with gcc/g++ if we want to use sun's compiler we would need
to get rid of all of our annonymous structs which I don't think
we want to do at this point, example:

typedef struct wmNDOFMotionData {
        union {
                float tvec[3]; // translation
                struct { float tx, ty, tz; };   // this would need to be fixed
// something like this or something similar:
                struct { float x, y, z; } t;
                };
...
)

Kent

7 years ago../lib/linux wont built with theoraenc theoradec unbuntu user also complained that...
Campbell Barton [Thu, 12 Jan 2012 15:56:08 +0000 (15:56 +0000)]
../lib/linux wont built with theoraenc theoradec unbuntu user also complained that this failed to link.

Im not sure whats best default here, removing for now.

if it gives more problems we could have a FindTheora module.