9 years agosvn merge ^/trunk/blender -r43436:43443
Campbell Barton [Tue, 17 Jan 2012 05:25:11 +0000 (05:25 +0000)]
svn merge ^/trunk/blender -r43436:43443

9 years agobmesh vertex colors are now accessible
Campbell Barton [Tue, 17 Jan 2012 05:15:33 +0000 (05:15 +0000)]
bmesh vertex colors are now accessible

9 years agofix for error freeing wrong num of MFace customdata when writing to legacy mesh format
Campbell Barton [Tue, 17 Jan 2012 04:57:51 +0000 (04:57 +0000)]
fix for error freeing wrong num of MFace customdata when writing to legacy mesh format

9 years agofix own error in bmesh -> mesh versioning
Campbell Barton [Tue, 17 Jan 2012 04:54:57 +0000 (04:54 +0000)]
fix own error in bmesh -> mesh versioning

9 years agofix own error [#28645] TODO: dissolve edges doesn't delete lonely vertices on edges
Campbell Barton [Tue, 17 Jan 2012 03:40:37 +0000 (03:40 +0000)]
fix own error [#28645] TODO: dissolve edges doesn't delete lonely vertices on edges

made this mistake when refactoring edge collapse code, though overall I think the function works better then before now.

9 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

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

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

9 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

9 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

9 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

9 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.

9 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

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.

9 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.

9 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

9 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
- replace 0/1 for TRUE/FALSE defines.

9 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

9 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.

9 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.

9 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

9 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.

9 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

9 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

9 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).

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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

9 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)

9 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.

9 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...

9 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

9 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

9 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

9 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

9 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.

9 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.

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

9 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.

9 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

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

9 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

9 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.

9 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.

9 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.

9 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.

9 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).

9 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 :/

9 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 ???

9 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.

9 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

9 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

9 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.

9 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.

9 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

9 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

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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

9 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

9 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).

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

9 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.

9 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).

9 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.

9 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)

9 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)

9 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

9 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'

9 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.

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

9 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).

9 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.

9 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.

9 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

9 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.

9 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.

9 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.

9 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.

9 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!

9 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

9 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

Code review link: