8 years agomax value for distance was larger then a short.
Campbell Barton [Sun, 29 Jul 2012 20:00:16 +0000 (20:00 +0000)]
max value for distance was larger then a short.

8 years agoinpaint - gain some speed by not doing X/Y clamping in inner loops.
Campbell Barton [Sun, 29 Jul 2012 19:36:09 +0000 (19:36 +0000)]
inpaint - gain some speed by not doing X/Y clamping in inner loops.
add assert() so we can ensure its not happening still.

8 years ago- fix incorrect array delete use.
Campbell Barton [Sun, 29 Jul 2012 19:11:00 +0000 (19:11 +0000)]
- fix incorrect array delete use.
- replace 1.0f / sqrt(2) with M_SQRT1_2 define.
- use mini rather then MIN2.

8 years agostyle cleanup: use this->m_* for private members.
Campbell Barton [Sun, 29 Jul 2012 19:02:23 +0000 (19:02 +0000)]
style cleanup: use this->m_* for private members.

8 years agostyle cleanup
Campbell Barton [Sun, 29 Jul 2012 18:53:47 +0000 (18:53 +0000)]
style cleanup

8 years agosvn merge ^/trunk/blender -r49333:49361
Campbell Barton [Sun, 29 Jul 2012 18:48:34 +0000 (18:48 +0000)]
svn merge ^/trunk/blender -r49333:49361

8 years agoadd inline functions for max/min ints, good to use when the arguments are function...
Campbell Barton [Sun, 29 Jul 2012 18:14:20 +0000 (18:14 +0000)]
add inline functions for max/min ints, good to use when the arguments are function calls (we had a few of these).

8 years agocode cleanup:
Campbell Barton [Sun, 29 Jul 2012 17:49:14 +0000 (17:49 +0000)]
code cleanup:
- building without python works again
- rename maxi/mini to i_max/i_min (so thay are available for function names)
- some minor edits to IK stretch setting (no functional changes).

8 years agocode cleanup: replace MIN2/MAX2 with minf/maxf
Campbell Barton [Sun, 29 Jul 2012 16:59:51 +0000 (16:59 +0000)]
code cleanup: replace MIN2/MAX2 with minf/maxf

8 years ago== compositor ==
Peter Schlaile [Sun, 29 Jul 2012 15:48:38 +0000 (15:48 +0000)]
== compositor ==

This adds an inpaint node to blender.

In case, you don't know, inpainting does this:

It's use cases in blender are

* wire removal
* green screen background reconstruction

The node isn't tile based (for fundamental reasons), but very fast,
since it first builds a manhatten distance map and after that performs
color convolution only on the edges.

That's something, one should probably add also to the dilate node (in
step mode) to make it perform a lot better for dilate iterations greater
than 3.

It will bring it's computing time from O(n^3) down to O(n^2).
Take a look here for the details: )

8 years agoSupport for depth buffers in compositor and viewer node
Jeroen Bakker [Sun, 29 Jul 2012 15:06:50 +0000 (15:06 +0000)]
Support for depth buffers in compositor and viewer node
Support for only alpha images in compositor and viewer node

8 years agocode cleanup: assign mode to a variable in the 3d view header and remove some unused...
Campbell Barton [Sun, 29 Jul 2012 14:07:57 +0000 (14:07 +0000)]
code cleanup: assign mode to a variable in the 3d view header and remove some unused imports

8 years agoAdditional fix #32074, by Sven-Hendrik Haase (svenstaro). Boost version header must...
Lukas Toenne [Sun, 29 Jul 2012 13:52:38 +0000 (13:52 +0000)]
Additional fix #32074, by Sven-Hendrik Haase (svenstaro). Boost version header must be included in cycles in order to expand the version check macro.

8 years agostyle cleanup
Campbell Barton [Sun, 29 Jul 2012 12:07:06 +0000 (12:07 +0000)]
style cleanup

8 years agoUser Interface Scripts:
Thomas Dinges [Sun, 29 Jul 2012 10:03:46 +0000 (10:03 +0000)]
User Interface Scripts:
* Code cleanup, removed unneeded code.
* Style cleanup, don't break lines to early
(unless marked as pep8-80 or pep8-120 compliant)
* Keep 1 line after layout declaration empty.

8 years agoSequel of r49112 (raising average bitrate without min/max ones is a bit useless with...
Bastien Montagne [Sun, 29 Jul 2012 08:58:34 +0000 (08:58 +0000)]
Sequel of r49112 (raising average bitrate without min/max ones is a bit useless with vbr codecs ;) ). Used +/- 50% of max average br respectively for max/min br...

8 years agoFix for [#32213] "Action actuator doesn't finish playing if frame rate drops" reporte...
Mitchell Stokes [Sun, 29 Jul 2012 06:28:50 +0000 (06:28 +0000)]
Fix for [#32213] "Action actuator doesn't finish playing if frame rate drops" reported by Alex Fraser (z0r). The action actuator was calling StopAction when it's time ran out. Now I'm just letting BL_Action handle stopping. Hopefully this doesn't break something else now....

8 years agoFix for [#27484] "Run-time command line options don't work in Multi-texture mode...
Mitchell Stokes [Sun, 29 Jul 2012 05:59:03 +0000 (05:59 +0000)]
Fix for [#27484] "Run-time command line options don't work in Multi-texture mode." reported by Josiah Lane (solarlune). The -g nomipmap = 1 option only changed the mipmapping option for bf_gpu, which BL_Texture wasn't checking.

8 years agoscale down histogram button movement by 10, was very sensitive
Campbell Barton [Sun, 29 Jul 2012 01:41:46 +0000 (01:41 +0000)]
scale down histogram button movement by 10, was very sensitive

8 years agoDocumentation:
Thomas Dinges [Sun, 29 Jul 2012 01:38:31 +0000 (01:38 +0000)]
* Some UI docs for the Best Practise guide. Still WIP.

8 years agofix for own regression with handling of script paths, however this didnt work quite...
Campbell Barton [Sun, 29 Jul 2012 01:02:25 +0000 (01:02 +0000)]
fix for own regression with handling of script paths, however this didnt work quite right before either.

Handle these 2 kinds of script paths
* user script path: ~/.blender/scripts OR $BLENDER_USER_SCRIPTS
* pref script path: always bpy.context.user_preferences.filepaths.script_directory

now both are returned by bpy.utils.script_paths()

8 years agoBGE: Fixing a memory leaked caused by the character controller (CcdPhysicsController...
Mitchell Stokes [Sun, 29 Jul 2012 00:34:18 +0000 (00:34 +0000)]
BGE: Fixing a memory leaked caused by the character controller (CcdPhysicsController::m_characterController was not getting freed).

8 years agostyle cleanup
Campbell Barton [Sun, 29 Jul 2012 00:20:28 +0000 (00:20 +0000)]
style cleanup

8 years agoMerging r49300 through r49333 from trunk into soc-2011-tomato
Sergey Sharybin [Sat, 28 Jul 2012 18:42:54 +0000 (18:42 +0000)]
Merging r49300 through r49333 from trunk into soc-2011-tomato

8 years agoFix regression in clip reloading -- after recent change movie used
Sergey Sharybin [Sat, 28 Jul 2012 18:14:44 +0000 (18:14 +0000)]
Fix regression in clip reloading -- after recent change movie used
to be reset to default image size instead of it's actual size.

8 years agoBlender now compiles with recent clang
Sergey Sharybin [Sat, 28 Jul 2012 17:35:09 +0000 (17:35 +0000)]
Blender now compiles with recent clang

8 years agopatch [#32195] MASKS: Canonical Porter Duff algorithm for merge missing.
Campbell Barton [Sat, 28 Jul 2012 11:36:01 +0000 (11:36 +0000)]
patch [#32195] MASKS: Canonical Porter Duff algorithm for merge missing.
from Troy Sobotka (sobotka)

This gives nicer blending then 'ADD', setting as default for new masks.

8 years agoBGE: Fixing a performance regression with 2D filters. My changes caused a check to...
Mitchell Stokes [Sat, 28 Jul 2012 09:45:39 +0000 (09:45 +0000)]
BGE: Fixing a performance regression with 2D filters. My changes caused a check to fail every frame resulting in constant recreation of textures.

8 years agofix own error in recent commit - possible uninitialized value.
Campbell Barton [Sat, 28 Jul 2012 00:08:26 +0000 (00:08 +0000)]
fix own error in recent commit - possible uninitialized value.

8 years agodefines to make it easier to manage ik stretch constants (these may need to be tweake...
Campbell Barton [Fri, 27 Jul 2012 23:16:33 +0000 (23:16 +0000)]
defines to make it easier to manage ik stretch constants (these may need to be tweaked to fix [#32174])

8 years agostyle cleanup
Campbell Barton [Fri, 27 Jul 2012 22:35:27 +0000 (22:35 +0000)]
style cleanup

8 years agoIK's were converting double -> float -> double's in a few places, since precision...
Campbell Barton [Fri, 27 Jul 2012 22:27:06 +0000 (22:27 +0000)]
IK's were converting double -> float -> double's in a few places, since precision is important and doubles are used a lot here anyway. just use doubles, also quiet some double promotion warnings.

8 years agoGetting rid of some GLEW warnings when compiling ge_videotex in SCons.
Mitchell Stokes [Fri, 27 Jul 2012 21:54:07 +0000 (21:54 +0000)]
Getting rid of some GLEW warnings when compiling ge_videotex in SCons.

8 years agoFixed some knife cut failures.
Howard Trickey [Fri, 27 Jul 2012 20:12:29 +0000 (20:12 +0000)]
Fixed some knife cut failures.
Fixes #31391.  Some cases still fail but these
changes are good because they fix a bogus
calculation of the 'basef' of some cut segments.

8 years agoFix compile errors on VC++ 2012 RC1.
Daniel Genrich [Fri, 27 Jul 2012 18:18:13 +0000 (18:18 +0000)]
Fix compile errors on VC++ 2012 RC1.

Note: Compile still fails during ceres compile (namespace tr1 problems).

8 years agoFix #32199: Smooth Vertex no longer has X, Y and Z options.
Sergey Sharybin [Fri, 27 Jul 2012 17:35:02 +0000 (17:35 +0000)]
Fix #32199: Smooth Vertex no longer has X, Y and Z options.

8 years agoInitial support for numpy in scons
Sergey Sharybin [Fri, 27 Jul 2012 16:01:33 +0000 (16:01 +0000)]
Initial support for numpy in scons

Assumes numpy is installed to the BF_PYTHON/site-packages/numpy directory,
could be tweaked further, but this should be enough to setup release
building environment.

Seems blender can't import numpy, but that doesn't seem to be scons issue,
the same happens here with cmake too. Would ask Campbell to help looking
into this.

8 years agocode cleanup: pass mouse position as int[2] rather then wmEvent
Campbell Barton [Fri, 27 Jul 2012 15:15:55 +0000 (15:15 +0000)]
code cleanup: pass mouse position as int[2] rather then wmEvent

8 years agoMerging r49287 through r49299 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 27 Jul 2012 15:12:58 +0000 (15:12 +0000)]
Merging r49287 through r49299 from trunk into soc-2011-tomato

8 years agoMove sRGB conversion initialization to init_exit routines
Sergey Sharybin [Fri, 27 Jul 2012 14:53:57 +0000 (14:53 +0000)]
Move sRGB conversion initialization to init_exit routines

It was a threading issue in color management project which potentially
could happen in trunk as well.

8 years agouse B key to toggle 'boundary' option for modal inset.
Campbell Barton [Fri, 27 Jul 2012 14:17:05 +0000 (14:17 +0000)]
use B key to toggle 'boundary' option for modal inset.

8 years agofix usercount error with dropping images in the node view.
Campbell Barton [Fri, 27 Jul 2012 13:57:03 +0000 (13:57 +0000)]
fix usercount error with dropping images in the node view.

8 years agoFix crash in drawing socket names when zooming out a lot
Sergey Sharybin [Fri, 27 Jul 2012 13:49:55 +0000 (13:49 +0000)]
Fix crash in drawing socket names when zooming out a lot

svn merge -r49291:49292 ^/branches/soc-2011-tomato

8 years agoDisplay solver keyframes in cache line
Sergey Sharybin [Fri, 27 Jul 2012 13:49:26 +0000 (13:49 +0000)]
Display solver keyframes in cache line

svn merge -r49293:49294 ^/branches/soc-2011-tomato

8 years agoDisplay solver keyframes in cache line
Sergey Sharybin [Fri, 27 Jul 2012 13:48:23 +0000 (13:48 +0000)]
Display solver keyframes in cache line

8 years agoadd missing image/mask restore call when undo'ing
Campbell Barton [Fri, 27 Jul 2012 13:24:08 +0000 (13:24 +0000)]
add missing image/mask restore call when undo'ing

8 years agoFix crash in drawing socket names when zooming out a lot
Sergey Sharybin [Fri, 27 Jul 2012 13:16:04 +0000 (13:16 +0000)]
Fix crash in drawing socket names when zooming out a lot

8 years agoTomato Cycles: fix for wrong resolution used for rendering Render Layer node
Sergey Sharybin [Fri, 27 Jul 2012 12:16:23 +0000 (12:16 +0000)]
Tomato Cycles: fix for wrong resolution used for rendering Render Layer node

Issue was caused by Cycles using render options from rendering scene, not
from active scene.

For now solved by passing render resolution inside RenderEngine structure.
This probably could be solved in more general way, like adding bindings

for RenderEngine->Render, which would avoid passing options like
is_animation, came_override and so via RenderEngine. Would think about
this a bit more and probably would do that.

The same issue happens in trunk as well, but not consider such a change
trunk-ready, would want to make more tests and probably clean the code
a little bit before commiting this into trunk.

8 years agocode cleanup: mask keys now dont use space-clip keys - could give troubles later on.
Campbell Barton [Fri, 27 Jul 2012 11:56:36 +0000 (11:56 +0000)]
code cleanup: mask keys now dont use space-clip keys - could give troubles later on.

8 years agoMerging r49281 through r49286 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 27 Jul 2012 11:07:55 +0000 (11:07 +0000)]
Merging r49281 through r49286 from trunk into soc-2011-tomato

8 years agoTrack input node: more control on over output value
Sergey Sharybin [Fri, 27 Jul 2012 11:07:12 +0000 (11:07 +0000)]
Track input node: more control on over output value

Now supports output value of:

- Absolute marker position
- Marker position relative to the very first marker
- Marker position relative to given scene frame

8 years agoTrack input node: move all initializaiton to initExecution function
Sergey Sharybin [Fri, 27 Jul 2012 11:07:09 +0000 (11:07 +0000)]
Track input node: move all initializaiton to initExecution function

8 years agoclamp mask resolution, the occasional crash would happen failing to alloc when adding...
Campbell Barton [Fri, 27 Jul 2012 11:05:08 +0000 (11:05 +0000)]
clamp mask resolution, the occasional crash would happen failing to alloc when adding feather points very close together.

8 years agoup/down arrows were not switching mask keyframes in the image space
Campbell Barton [Fri, 27 Jul 2012 10:55:24 +0000 (10:55 +0000)]
up/down arrows were not switching mask keyframes in the image space

8 years agoGetStdHandle may return NULL, which isn't really an error, or INVALID_HANDLE_VALUE...
Jason Wilkins [Fri, 27 Jul 2012 10:48:33 +0000 (10:48 +0000)]
GetStdHandle may return NULL, which isn't really an error, or INVALID_HANDLE_VALUE which does indicate an error, but both should be checked.

8 years agosvn merge ^/trunk/blender -r49263:49280
Campbell Barton [Fri, 27 Jul 2012 10:27:28 +0000 (10:27 +0000)]
svn merge ^/trunk/blender -r49263:49280

8 years agomask motion blur shutter option
Campbell Barton [Fri, 27 Jul 2012 10:20:36 +0000 (10:20 +0000)]
mask motion blur shutter option

8 years agoAdded utility function to return marker's subframe position
Sergey Sharybin [Fri, 27 Jul 2012 10:12:58 +0000 (10:12 +0000)]
Added utility function to return marker's subframe position

Used in mask parenting stuff.

8 years agomotion blur for mask node:
Campbell Barton [Fri, 27 Jul 2012 09:32:47 +0000 (09:32 +0000)]
motion blur for mask node:

- add shutter speed option
- add blur option

8 years agoFix #32187: OpenGL preview does not take into account overwrite option
Sergey Sharybin [Fri, 27 Jul 2012 08:58:34 +0000 (08:58 +0000)]
Fix #32187: OpenGL preview does not take into account overwrite option

8 years agocopying a mask now copies its animation data too
Campbell Barton [Fri, 27 Jul 2012 08:36:48 +0000 (08:36 +0000)]
copying a mask now copies its animation data too

8 years agocopy support for mask datablocks
Campbell Barton [Fri, 27 Jul 2012 08:18:11 +0000 (08:18 +0000)]
copy support for mask datablocks

8 years agocode cleanup: remove unneeded 'struct' qualifiers
Campbell Barton [Thu, 26 Jul 2012 22:47:05 +0000 (22:47 +0000)]
code cleanup: remove unneeded 'struct' qualifiers

8 years agochange clip utility function arguments to take space data and region rather then...
Campbell Barton [Thu, 26 Jul 2012 22:41:40 +0000 (22:41 +0000)]
change clip utility function arguments to take space data and region rather then the context.

this allows a fix to be applied that corrects the helper line in the image view when transforming a mask.

8 years agocode cleanup: minor edits for mask/transform
Campbell Barton [Thu, 26 Jul 2012 21:22:42 +0000 (21:22 +0000)]
code cleanup: minor edits for mask/transform

8 years agoMerging r49261 through r49263 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 26 Jul 2012 18:05:42 +0000 (18:05 +0000)]
Merging r49261 through r49263 from trunk into soc-2011-tomato

8 years agoFix unworkable track position node
Sergey Sharybin [Thu, 26 Jul 2012 18:05:05 +0000 (18:05 +0000)]
Fix unworkable track position node

8 years agofix some types and incorrect info
Campbell Barton [Thu, 26 Jul 2012 17:41:09 +0000 (17:41 +0000)]
fix some types and incorrect info

8 years agosvn merge ^/trunk/blender -r49256:49260
Campbell Barton [Thu, 26 Jul 2012 17:15:28 +0000 (17:15 +0000)]
svn merge ^/trunk/blender -r49256:49260

8 years agoworkaround for depsgraph update issue with booleans.
Campbell Barton [Thu, 26 Jul 2012 17:14:23 +0000 (17:14 +0000)]
workaround for depsgraph update issue with booleans.

8 years agoOn windows with --debug flag, change "Press enter key to exit..." to "Press any key...
Jason Wilkins [Thu, 26 Jul 2012 16:56:09 +0000 (16:56 +0000)]
On windows with --debug flag, change "Press enter key to exit..." to "Press any key to exit . . .".  This is implemented by the new function wait_for_console_key.

8 years agofix for crash when displaying the tooltip for a non python menu (was introduced with...
Campbell Barton [Thu, 26 Jul 2012 16:55:34 +0000 (16:55 +0000)]
fix for crash when displaying the tooltip for a non python menu (was introduced with recent translation/ui edits)

8 years agoMerging r49255 through r49256 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 26 Jul 2012 16:12:41 +0000 (16:12 +0000)]
Merging r49255 through r49256 from trunk into soc-2011-tomato

8 years agoDisplay animation data from lamps' node trees in animation editor windows
Sergey Sharybin [Thu, 26 Jul 2012 16:11:59 +0000 (16:11 +0000)]
Display animation data from lamps' node trees in animation editor windows

8 years agoMerging r49253 through r49254 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 26 Jul 2012 15:51:33 +0000 (15:51 +0000)]
Merging r49253 through r49254 from trunk into soc-2011-tomato

8 years agoRun versioning stuff for animation summary color again
Sergey Sharybin [Thu, 26 Jul 2012 15:50:45 +0000 (15:50 +0000)]
Run versioning stuff for animation summary color again

Seems it was messed up at some point or changes weren't applied
synchronized, which lead to lots of files with wrong color used.

8 years agosvn merge ^/trunk/blender -r49250:49252
Campbell Barton [Thu, 26 Jul 2012 13:42:33 +0000 (13:42 +0000)]
svn merge ^/trunk/blender -r49250:49252

8 years agofix for crash when checking for locked action.
Campbell Barton [Thu, 26 Jul 2012 13:40:48 +0000 (13:40 +0000)]
fix for crash when checking for locked action.

8 years agosvn merge ^/trunk/blender -r49244:49250
Campbell Barton [Thu, 26 Jul 2012 13:30:37 +0000 (13:30 +0000)]
svn merge ^/trunk/blender -r49244:49250

8 years agooption to use manual size input for scene
Campbell Barton [Thu, 26 Jul 2012 13:29:38 +0000 (13:29 +0000)]
option to use manual size input for scene

8 years agoFix #31897: Ctrl+Click in 'Hue Correct' Node Adds in Wrong Location
Sergey Sharybin [Thu, 26 Jul 2012 12:04:11 +0000 (12:04 +0000)]
Fix #31897: Ctrl+Click in 'Hue Correct' Node Adds in Wrong Location

Misusage of X/Y coords, ancient one!

8 years agoadd ED_space_image_get_size_fl, ED_space_clip_get_size_fl
Campbell Barton [Thu, 26 Jul 2012 11:47:47 +0000 (11:47 +0000)]
add ED_space_image_get_size_fl, ED_space_clip_get_size_fl

8 years agoAdded a particle index output to the Particle Info Cycles node. This is required...
Lukas Toenne [Thu, 26 Jul 2012 11:40:58 +0000 (11:40 +0000)]
Added a particle index output to the Particle Info Cycles node. This is required to get consistent ID numbers for particles. The Object ID is not usable since it's a user defined value of the instanced object, which does not vary per instance. Also the random value from the object info node is not consistent over time, since it only depends on the index in the dupli list (so each emitted or dying particle shifts the value).

The particle index is always the same for a specific particle. Randomized values can be generated from this with the use of a noise texture.

8 years agoOSX/scons: fix compiling on the new OSX 10.8 (Mountain Lion) with delivered Xcode 4.4
Jens Verwiebe [Thu, 26 Jul 2012 11:08:56 +0000 (11:08 +0000)]
OSX/scons: fix compiling on the new OSX 10.8 (Mountain Lion) with delivered Xcode 4.4

8 years agosvn merge ^/trunk/blender -r49241:49244
Campbell Barton [Thu, 26 Jul 2012 10:55:07 +0000 (10:55 +0000)]
svn merge ^/trunk/blender -r49241:49244

8 years agoFix #31550: Active Armature bone hardly distinguishable from other selected bones
Sergey Sharybin [Thu, 26 Jul 2012 10:53:59 +0000 (10:53 +0000)]
Fix #31550: Active Armature bone hardly distinguishable from other selected bones

Made active bone color a bit brighter and made it a userpref option.

8 years agomask/image: rotate about 2d cursor now works.
Campbell Barton [Thu, 26 Jul 2012 10:52:59 +0000 (10:52 +0000)]
mask/image: rotate about 2d cursor now works.

8 years agoMerging r49239 through r49241 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 26 Jul 2012 10:06:56 +0000 (10:06 +0000)]
Merging r49239 through r49241 from trunk into soc-2011-tomato

8 years agoFix typo and change shortcuts to Q and E. Works better when emulate numpad is used.
Sergey Sharybin [Thu, 26 Jul 2012 10:06:08 +0000 (10:06 +0000)]
Fix typo and change shortcuts to Q and E. Works better when emulate numpad is used.

8 years agomask/image editor now works for border select and lasso
Campbell Barton [Thu, 26 Jul 2012 09:54:52 +0000 (09:54 +0000)]
mask/image editor now works for border select and lasso

8 years agoMerging r49226 through r49238 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 26 Jul 2012 09:51:28 +0000 (09:51 +0000)]
Merging r49226 through r49238 from trunk into soc-2011-tomato

8 years agoShortcuts to set solver frames: alt-1 for Keyframe A, alt-2 for keyframe B.
Sergey Sharybin [Thu, 26 Jul 2012 09:50:27 +0000 (09:50 +0000)]
Shortcuts to set solver frames: alt-1 for Keyframe A, alt-2 for keyframe B.

8 years agoFix for [#32185] "Incorrect physics for LibLoaded dupligroups" reported by Daniel...
Mitchell Stokes [Thu, 26 Jul 2012 09:35:52 +0000 (09:35 +0000)]
Fix for [#32185] "Incorrect physics for LibLoaded dupligroups" reported by Daniel Stokes (Kupoman). I'm not sure if this is the "correct" fix, but it at least allows all physics objects to be evaluated at least once by the new environment. This allows the new environment to sync up physics shapes for static objects.

8 years agoFix #32123: Blender crashes when zoomed in and rotating around 3d cursor
Sergey Sharybin [Thu, 26 Jul 2012 09:29:37 +0000 (09:29 +0000)]
Fix #32123: Blender crashes when zoomed in and rotating around 3d cursor

Fix deadlock in drawArc caused by precision error. Helper widget could
look wrong, that's because of not enough precision of floats used by

This is known issue of Blender and wouldn't consider a bug.

8 years agoimage histogram/sample line couldn't show HDR colors. now allow zooming the view...
Campbell Barton [Thu, 26 Jul 2012 09:06:23 +0000 (09:06 +0000)]
image histogram/sample line couldn't show HDR colors. now allow zooming the view to see colors up to 10.0

8 years agoFix #32138: material trancpareny setting
Sergey Sharybin [Thu, 26 Jul 2012 08:57:41 +0000 (08:57 +0000)]
Fix #32138: material trancpareny setting

8 years agoFix #32139: Making vertex parent hides faces
Sergey Sharybin [Thu, 26 Jul 2012 08:41:55 +0000 (08:41 +0000)]
Fix #32139: Making vertex parent hides faces

Call normals update and re-tesselate the BMesh before generating
derived mesh for vertex parent. this is needed for proper display
of mesh in edit mode.

Tried to use EDBM_update_generic, but it gave artifacts due to it
doesn't update normals. usually it's not a problem, because it's used
at the end of operator and all needed data is handles by depsgraph.
It doesn't work for vertex parent because derived mesh is being
created here outside of generic object update, so one extra manual
step seems to be needed here.

8 years agoFix [#31609] save .EXR defaults to uncompressed, causes segfault.
Sv. Lockal [Wed, 25 Jul 2012 23:28:17 +0000 (23:28 +0000)]
Fix [#31609] save .EXR defaults to uncompressed, causes segfault.

IMB_filterN now generates 32-bit int representation of float images for mipmap generation if such representation does not exist.

8 years agocode cleanup: use BKE_pain_ prefix for paint funcs. also minor style edits
Campbell Barton [Wed, 25 Jul 2012 22:37:52 +0000 (22:37 +0000)]
code cleanup: use BKE_pain_ prefix for paint funcs. also minor style edits

8 years agomask/image viewer now works with non 1:1 image aspect, editing masks in the image...
Campbell Barton [Wed, 25 Jul 2012 20:39:49 +0000 (20:39 +0000)]
mask/image viewer now works with non 1:1 image aspect, editing masks in the image viewer should be generally usable now though still some TODO's left.