Blender Git Commits

Blender Git "master" branch commits.

Page: 4211 / 5574

October 21, 2010, 07:14 (GMT)
Enable /WX on Windows.
October 21, 2010, 04:21 (GMT)
fix for fix [#24344] crash on adding new image when composite is open and there is no Nodetree
also use const prefix in solidify modifier where possible.
October 21, 2010, 01:55 (GMT)
use custom data mask defines, no functional changes.
October 21, 2010, 01:10 (GMT)
remove unused args for some modifiers, no functional change.
October 21, 2010, 01:08 (GMT)
improved fix for [#24267] Hook fails after Solidify
Rather then have the modifier calculate ORIGINDEX weather its needed or not (incorrect if it wasn't the first modifier on the stack),
create ORIGINDEX layer initially if any of the modifiers use it.
This way hook also works after Mirror and Screw modifiers which have the ORIGINDEX layer copied implicitly with DM_copy_vert_data().

This wasn't possible to check for before because this flag was always enabled so it would be passed to DM_set_only_copy().
Now just add the flag whenever calling DM_set_only_copy().
October 20, 2010, 23:13 (GMT)
Partial fix for bug #24341, "Problems running blender headless"

* Fixed the random file popping up.
* Don't write to the history file in background mode, because ghost won't give us the right directory in that case


October 20, 2010, 13:51 (GMT)
fix for fix [#24336] evaluation time - curve has no effect
committed r32598 to fix [#24309] Reloading file with incorrect path location.

Setting the curves ctime when updating the object data overrode the animated value.
For now just set the ctime on newly added curves with will work as the user expects in most cases.
This is weak design IMHO because the ctime value can be set to anything but is reset on changing frames even if its not keyed.

With curves created via python or linked in this can still result in a bad ctime value.
October 20, 2010, 12:33 (GMT)
Quiet compiler warnings.
October 20, 2010, 12:11 (GMT)
fix for -Wunused-value
October 20, 2010, 09:18 (GMT)
[#24267] Hook fails after Solidify
Solidify modifier wasn't assigning origindex values.

- BLI_math.h array functions: range_vni(), mul_vn_fl(), mul_vn_vn_fl(), add_vn_vn(), fill_vni().
- define 'AT' as __FILE__ ":" STRINGIFY(__LINE__), useful for quick debug prints.
October 20, 2010, 04:12 (GMT)
bugfix [#24333] Horizon Color Picker Crashes Blender if Two 3D View Windows are Open
also added api function ED_area_tag_redraw_regiontype(), so an area can redraw all regions by type.
In this case there is a view3d area listener that needs to draw all WINDOW regions.
October 20, 2010, 02:47 (GMT)
stubs.c update for revision 32607, which introduced the BLC ED_space_image_paint_update().
October 20, 2010, 01:17 (GMT)
== Sculpt ==

Fixed bug #22634, sculpting/multires and wireframe display mode glitches

* Changed ccgdm edge drawing to always use face griddata rather than edge data, since edge data is not updated during sculpting.

October 20, 2010, 00:42 (GMT)
== Paint ==

Fixed bug #24239, "Fkey doesn't work in image paint unless also in 3D texture paint"

* Fixed brush cursor not showing when painting in the image editor without 3d texture painting enabled
* Fixed fkey not working when not in 3d texture paint

Note:
This does not handle showing the brush cursor when reloading a file saved with image painting on but 3d texture painting off. The method used for object paint modes doesn't apply quite the same here, so I left that alone for now.



October 19, 2010, 22:17 (GMT)
Fix [#21294] Bad object drawing and crash when rendering
Reported and patched by Shane Ambler.

Took the opportunity to silence warnings in readfile.c. For Windows in SCons I enabled /WX
for blenloader. This means that all enabled warnings will throw errors from now on.
October 19, 2010, 18:59 (GMT)
compile fixes on windows for quicktime.
* solved two "'blah' undefined, assuming extern returning int" 'warnings' that jesterKing now changed to be reported as errors (thanks! :))
Revision fdfc09b by Janne Karhu
October 19, 2010, 17:45 (GMT)
Fix for [#24262] Segmentation attempting to render *NEED MOER INFO*
Revision 94aa87d by Janne Karhu
October 19, 2010, 16:10 (GMT)
Fix for [#24293] Shadow pass is wrong

* The problem is that shadow pass is derived from the diffuse pass as
shad = shad'/diff, where shad' = shad*diff. In cases where diff is
0 and the division can't be done shad is left as shad' (=0).
* This all works just fine until the diffuse color is 0 on just one
channel (no red in material color for example). In this case the shadow
pass is left as 0 too regardless of the existence of an actual shadow,
so the end result is a colored shadow!
* The only real solution is to use the original shadow intensity to
determine if there actually is a shadow or not. This is now stored in
shr->shad[3] from the lamp shadow calculation.

Note: The best solution would probably be to calculate the shadow pass on
it's own and not to derive it from the diffuse pass, but I didn't dare to
start messing up the shading code totally.
October 19, 2010, 15:35 (GMT)
[#24325] Texture painting using selected faces mask
draw a subtle grey over unselected faces rather then coloring selected faces which got in the way of seeing the colors while painting.
October 19, 2010, 14:11 (GMT)
bugfix [#24324] Wrong center for scaling Bezier Curve's handles
slight change to how transform calculates the center of each bezier handle selection.
- selecting both handles but not the knot now uses the mid point between the 2, before it used the handle.
- selecting 1 handle of a curve was still setting td->center to be the knot, now use the handles location only if its selected.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021