blender.git
8 years agopatch [#33441] Remove unneeded strcpy()'s from makesdna.c
Campbell Barton [Mon, 17 Dec 2012 02:46:30 +0000 (02:46 +0000)]
patch [#33441] Remove unneeded strcpy()'s from makesdna.c

8 years agofix [#33501] Grease pencil in OpenGL render
Campbell Barton [Mon, 17 Dec 2012 02:34:53 +0000 (02:34 +0000)]
fix [#33501] Grease pencil in OpenGL render

With the view3d 'Render Only' option, grease pencil wouldn't draw, but for OpenGL render it did.

Since grease pencil can be very useful in opengl renders, enable grease pencil drawing with 'Render Only' option in the viewport,
and add a checkbox in the grease pencil header not to draw (unchecking each layer is annoying and applies to all spaces).

8 years agofix [#33551] End Caps on a curve array with subsurf crashes blender when entering...
Campbell Barton [Mon, 17 Dec 2012 00:39:03 +0000 (00:39 +0000)]
fix [#33551] End Caps on a curve array with subsurf crashes blender when entering Edit Mode

DM_to_bmesh_ex could merge a 'dm' into an existing BMesh, in that case CD_ORIGINDEX values needed to be set to ORIGINDEX_NONE.

8 years agoFix knife cut-through bug #33571.
Howard Trickey [Mon, 17 Dec 2012 00:31:59 +0000 (00:31 +0000)]
Fix knife cut-through bug #33571.
The code to connect across a face didn't stop after it found one.

8 years agoFix [#33565]: Dynamic Paint modifier surfaces not copied
Miika Hamalainen [Sun, 16 Dec 2012 19:19:45 +0000 (19:19 +0000)]
Fix [#33565]: Dynamic Paint modifier surfaces not copied

Dynamic Paint canvas surfaces were not copied with modifier.

8 years agoTest print in bugfix...
Ton Roosendaal [Sun, 16 Dec 2012 14:50:50 +0000 (14:50 +0000)]
Test print in bugfix...

8 years agofix for bevel using the wrong property name when shift was held.
Campbell Barton [Sun, 16 Dec 2012 14:22:48 +0000 (14:22 +0000)]
fix for bevel using the wrong property name when shift was held.

8 years agoBug fix 33563
Ton Roosendaal [Sun, 16 Dec 2012 14:19:29 +0000 (14:19 +0000)]
Bug fix 33563

Region sizex/sizey should store the actual used sizes, for hide/reveal.
Didn't happen correctly, resulting in opening button regions of size 1.

8 years agofix own error [#33529] Bevel on a certain edgeloop results in segmentation fault
Campbell Barton [Sun, 16 Dec 2012 14:17:15 +0000 (14:17 +0000)]
fix own error [#33529] Bevel on a certain edgeloop results in segmentation fault
relied on edges having a loop, now use overlap apiflag instead.

8 years agoBugfix #33458
Ton Roosendaal [Sun, 16 Dec 2012 13:31:56 +0000 (13:31 +0000)]
Bugfix #33458

Tooltips in Blender were not scaling when zooming in/out on UI elements.
(They did follow DPI though, but tooltips were in a 'global' fixed size).

Error was that for tooltips on large scaled popups (like in Node editor)
the drawing was entirely wrong even.

Now tooltips scale correctly, also for fonts.

8 years agoCycles: add "Textures" panel in particle properties, to make it possble to add
Brecht Van Lommel [Sun, 16 Dec 2012 12:55:52 +0000 (12:55 +0000)]
Cycles: add "Textures" panel in particle properties, to make it possble to add
textures when Cycles is selected as render engine.

8 years agoBugfix IRC report
Sergey Sharybin [Sun, 16 Dec 2012 11:47:13 +0000 (11:47 +0000)]
Bugfix IRC report

Curves heavily scaled down will have render artifacts

Caused by precision issues when computing average normal map
for INDEX3 surface type. Now calculation happens in local object
space instead of world space.

8 years agocorrect bad comment
Campbell Barton [Sun, 16 Dec 2012 10:28:52 +0000 (10:28 +0000)]
correct bad comment

8 years agoset compositor background scale to 1.0
Campbell Barton [Sun, 16 Dec 2012 09:41:39 +0000 (09:41 +0000)]
set compositor background scale to 1.0

8 years agoCycles OSL: small optimization to geometry node, tangent output still was
Brecht Van Lommel [Sun, 16 Dec 2012 09:37:32 +0000 (09:37 +0000)]
Cycles OSL: small optimization to geometry node, tangent output still was
not properly optimized out in some cases.

For reference, setting this will give detailed information about OSL shaders:
export OSL_OPTIONS="statistics:level=1,debug=1,llvm_debug=1"

8 years agoFix region overlap drawing over render info text in image editor and 3d view.
Brecht Van Lommel [Sun, 16 Dec 2012 09:37:15 +0000 (09:37 +0000)]
Fix region overlap drawing over render info text in image editor and 3d view.

8 years agoreplace strcpy with BLI_strncpy or memcpy when the size is known.
Campbell Barton [Sun, 16 Dec 2012 08:43:05 +0000 (08:43 +0000)]
replace strcpy with BLI_strncpy or memcpy when the size is known.

8 years agoBugfix #33541 - Deleting all keyframes leaves dangling action groups
Joshua Leung [Sun, 16 Dec 2012 06:30:17 +0000 (06:30 +0000)]
Bugfix #33541 - Deleting all keyframes leaves dangling action groups

When deleting all keyframes in F-Curves, the corresponding F-Curves are deleted.
If all the F-Curves in an action group were deleted in such a way, the group
wouldn't be removed. This meant that these groups would never be shown (until
F-Curves for these groups were created again), but would still exist, causing
problems when trying to rearrange groups in the animation editors (i.e. groups
would appear to not move). Now these groups get deleted when they get empty.

8 years agoupdate themes
Campbell Barton [Sun, 16 Dec 2012 05:48:27 +0000 (05:48 +0000)]
update themes

8 years agoreplace TypeError with Value error for matrix operations where the type is right...
Campbell Barton [Sun, 16 Dec 2012 04:10:57 +0000 (04:10 +0000)]
replace TypeError with Value error for matrix operations where the type is right but it can't succeed because of a property of the instance (normally the wrong col/row size).

8 years agoadd Matrix.normalized(), handy for transforming normals.
Campbell Barton [Sun, 16 Dec 2012 04:05:16 +0000 (04:05 +0000)]
add Matrix.normalized(), handy for transforming normals.

8 years agoerror in 53006, moved into another keymap rather then just re-ordering.
Campbell Barton [Sun, 16 Dec 2012 02:53:28 +0000 (02:53 +0000)]
error in 53006, moved into another keymap rather then just re-ordering.

8 years agoReverting rev 53044 because it broke something and was wrong.
Ove Murberg Henriksen [Sun, 16 Dec 2012 02:29:46 +0000 (02:29 +0000)]
Reverting rev 53044 because it broke something and was wrong.
I also added comment to avoid this happening in the future.

8 years agoFixing name of a function to be consistent with the rest of the code.
Ove Murberg Henriksen [Sat, 15 Dec 2012 23:52:39 +0000 (23:52 +0000)]
Fixing name of a function to be consistent with the rest of the code.

8 years agoChanged some comments to make more sense.
Ove Murberg Henriksen [Sat, 15 Dec 2012 22:47:57 +0000 (22:47 +0000)]
Changed some comments to make more sense.

8 years agoFix cycles build error with OSL disabled.
Brecht Van Lommel [Sat, 15 Dec 2012 20:43:25 +0000 (20:43 +0000)]
Fix cycles build error with OSL disabled.

8 years agoBugfix: [#33513] Transfer weights mixing up.
Ove Murberg Henriksen [Sat, 15 Dec 2012 20:32:32 +0000 (20:32 +0000)]
Bugfix: [#33513] Transfer weights mixing up.
Removal of this line fixed the bug.

But!

I suspect it opens up for an excaption.
I will try to identify the exception and handle it in a different way.

8 years agoPure style cleanup.
Ove Murberg Henriksen [Sat, 15 Dec 2012 19:56:25 +0000 (19:56 +0000)]
Pure style cleanup.

8 years agoOSX: makeKeyAndOrderFront would show window from orderedWindows list on every loop...
Jens Verwiebe [Sat, 15 Dec 2012 18:32:53 +0000 (18:32 +0000)]
OSX: makeKeyAndOrderFront would show window from orderedWindows list  on every loop, so use makeKeyWindow only to avoid flicker when closing app

8 years agoBugfix, IRC submitted:
Ton Roosendaal [Sat, 15 Dec 2012 18:12:38 +0000 (18:12 +0000)]
Bugfix, IRC submitted:

Color Pickers, square versions, didn't draw the 'cursor' correctly.
Was missing colorprofile check.

8 years agoAttempted fix #33546: GPU mipmap generation is not working on some ATI cards,
Brecht Van Lommel [Sat, 15 Dec 2012 17:15:42 +0000 (17:15 +0000)]
Attempted fix #33546: GPU mipmap generation is not working on some ATI cards,
causing textures to be missing in textured draw mode. There is apparently a bug
in the ATI drivers, committed a workaround for that now.

http://www.opengl.org/wiki/Common_Mistakes#Automatic_mipmap_generation

8 years agoCleanup:
Ton Roosendaal [Sat, 15 Dec 2012 16:35:00 +0000 (16:35 +0000)]
Cleanup:

Removed unused panel colors (and panel text) from Themes.

8 years agominor edits with recent commits, also avoid calling BKE_mesh_from_object() in vertex...
Campbell Barton [Sat, 15 Dec 2012 16:31:25 +0000 (16:31 +0000)]
minor edits with recent commits, also avoid calling BKE_mesh_from_object() in vertex paint, just pass the mesh.

8 years agoBetter tooltip for "Install Theme..."
Ton Roosendaal [Sat, 15 Dec 2012 16:27:12 +0000 (16:27 +0000)]
Better tooltip for "Install Theme..."

8 years agoFinished themes for transparent Button regions in Blender.
Ton Roosendaal [Sat, 15 Dec 2012 16:22:18 +0000 (16:22 +0000)]
Finished themes for transparent Button regions in Blender.

Notes and image:
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability

- now each editor has own settings for "show panel header" and
  "show panel background", and colors+alpha for this.

- this setting used to be global for all editors, but it can conflict
  with looks of specific editors.

- Now you can set for editors to show panels with a 100% transparent
  tool/properties region.

Note: read XML theme files now might get an error, Campbell will fix.

8 years agouse struct type for VPaintData.vertexcosnos rather then float*.
Campbell Barton [Sat, 15 Dec 2012 16:13:27 +0000 (16:13 +0000)]
use struct type for VPaintData.vertexcosnos rather then float*.

8 years agomove pbvh into BKE, it used many BKE bad level includes.
Campbell Barton [Sat, 15 Dec 2012 15:59:25 +0000 (15:59 +0000)]
move pbvh into BKE, it used many BKE bad level includes.

now blenlib/BLI doesn't depend on any blenkern/BKE functions,
there are still some bad level includes but these are only to access G.background and the blender version define.

8 years agomove bpath module from BLI to BKE, it was making many bad level calls into BKE.
Campbell Barton [Sat, 15 Dec 2012 15:31:50 +0000 (15:31 +0000)]
move bpath module from BLI to BKE, it was making many bad level calls into BKE.

8 years agoOSX/availability: use of the numerical value instead of the symbol in the #if MAC_OS_...
Jens Verwiebe [Sat, 15 Dec 2012 11:15:05 +0000 (11:15 +0000)]
OSX/availability: use of the numerical value instead of the symbol in the #if MAC_OS_X_VERSION_MIN_REQUIRED comparison clause: If the code is loaded on an older system that does not include the symbol definition, the comparison still works

8 years agoGraah! Not using brains for quick fixes...
Ton Roosendaal [Sat, 15 Dec 2012 11:00:57 +0000 (11:00 +0000)]
Graah! Not using brains for quick fixes...

8 years agoClassical mistake - fix a bug in 1 feature, but don't test the related ones :/
Ton Roosendaal [Sat, 15 Dec 2012 10:53:35 +0000 (10:53 +0000)]
Classical mistake - fix a bug in 1 feature, but don't test the related ones :/

Previous commit broke dragging area edges.

8 years agoCycles OSL minor optimizations: recycle shading context, don't do memory
Brecht Van Lommel [Sat, 15 Dec 2012 10:18:42 +0000 (10:18 +0000)]
Cycles OSL minor optimizations: recycle shading context, don't do memory
allocations for trace data, avoid some virtual function calls. Only helps
a few percentages.

8 years agoBugfix, irc collection:
Ton Roosendaal [Sat, 15 Dec 2012 09:45:34 +0000 (09:45 +0000)]
Bugfix, irc collection:

With larger header sizes (via DPI setting), splitting an area horizontally (using
left-bottom corner widget, move up) stopped immediate after split, not allowing
to drag it to a position.

Culprit was code to check minimum header size, and area operator using the same
flags. Now ScrVert has two flags - one for internal use, one for the tools to set.

8 years agoavoid using strlen() for comparisons in for loops. for expanding whitespace in the...
Campbell Barton [Sat, 15 Dec 2012 07:57:16 +0000 (07:57 +0000)]
avoid using strlen() for comparisons in for loops. for expanding whitespace in the text editor and ui paste.

8 years agoprevent the text 3d cursor from z-fighting with the text.
Campbell Barton [Sat, 15 Dec 2012 06:12:40 +0000 (06:12 +0000)]
prevent the text 3d cursor from z-fighting with the text.

8 years agoremove modifiers_indexInObject(), just call BLI_findindex directly.
Campbell Barton [Sat, 15 Dec 2012 05:46:41 +0000 (05:46 +0000)]
remove modifiers_indexInObject(), just call BLI_findindex directly.

8 years agoadd checks to style checker script for 'a . b' and 'a []'
Campbell Barton [Sat, 15 Dec 2012 04:44:10 +0000 (04:44 +0000)]
add checks to style checker script for 'a . b' and 'a []'
also use BLI_findindex for modifiers_indexInObject

8 years agostyle cleanup: stop the style checker script from complaining about '!*ptr'
Campbell Barton [Sat, 15 Dec 2012 02:48:25 +0000 (02:48 +0000)]
style cleanup: stop the style checker script from complaining about '!*ptr'

8 years agoHi there, it has been a while, just curious if my SVN account still works :)
Erwin Coumans [Sat, 15 Dec 2012 01:01:35 +0000 (01:01 +0000)]
Hi there, it has been a while, just curious if my SVN account still works :)
This commit is an attempt to improve collisions between moving Bullet rigid bodies using (concave) triangle mesh bounds.
Instead of using Gimpact, this we create a btCompoundShape with child shape tetrahedra derived from the surface triangles.
For each triangle, we add a fourth vertex using the centroid, shifting inwards using the triangle normal.
If the centroid hits an internal triangle, we stop. The default depth could be exposed as 'advanced' setting in the user interface.
This solution will be a slower than the original/gimpact solution, but a bit more reliable.
In the future, it is better to add HACD, convex decomposition to Blender, for moving concave meshes.
See http://kmamou.blogspot.com and the Bullet SDK's Demos/ConvexDecompositionDemo.

8 years agoRestoring default theme made the panel regions opaque again.
Antony Riakiotakis [Fri, 14 Dec 2012 23:20:11 +0000 (23:20 +0000)]
Restoring default theme made the panel regions opaque again.

8 years agoinitialize static island colour display on reverting to default theme
Antony Riakiotakis [Fri, 14 Dec 2012 22:39:03 +0000 (22:39 +0000)]
initialize static island colour display on reverting to default theme

8 years agoFix #33539: shift+numpad 2/4/8 shortcuts for zoom in image and clip editor
Brecht Van Lommel [Fri, 14 Dec 2012 22:08:19 +0000 (22:08 +0000)]
Fix #33539: shift+numpad 2/4/8 shortcuts for zoom in image and clip editor
don't work in Windows. These shortcuts are taken by the operating system,
so ctrl+numpad 2/4/8 now work as well and are the shortcuts shown in menus.

8 years agoFix #33497: seting object scale to 0 on one axis made moving verts in edit mode
Brecht Van Lommel [Fri, 14 Dec 2012 21:41:22 +0000 (21:41 +0000)]
Fix #33497: seting object scale to 0 on one axis made moving verts in edit mode
impossible. In this case matrix inversion failed and didn't give a useful result.
Now it falls back to a pseudoinverse in that case, so that moving along the
other axes still works.

There may be other places that can benefit from this, but this is a place where
it has no significant performance impact, doing this in general for e.g. bone
matrices could be quite slow.

8 years agoFix mac build error with SDK < 10.7, this version is not then defined then as
Brecht Van Lommel [Fri, 14 Dec 2012 20:56:14 +0000 (20:56 +0000)]
Fix mac build error with SDK < 10.7, this version is not then defined then as
pointed out by Patrick Boelens on the mailing list.

8 years agoBug fix, irc submitted:
Ton Roosendaal [Fri, 14 Dec 2012 18:54:22 +0000 (18:54 +0000)]
Bug fix, irc submitted:

On saving a first .blend after startup, the file would load back as if it was not
saved (showing no name in header).

The whole FILEFLAGS and G.relabase_valid and G.file_saved etc is messy.
This commit fixes issues, but only adds more mess :)

Will discuss a nicer implementation of all of this.

8 years agouse UI_view2d_getscale() to get the scale for image cursor drawing and ED_mask_pixels...
Campbell Barton [Fri, 14 Dec 2012 16:51:02 +0000 (16:51 +0000)]
use UI_view2d_getscale() to get the scale for image cursor drawing and ED_mask_pixelspace_factor(). - was getting the image width/height when its not needed before.

8 years agocode cleanup and move alternate shell calculation method into its own function: BM_ve...
Campbell Barton [Fri, 14 Dec 2012 16:10:46 +0000 (16:10 +0000)]
code cleanup and move alternate shell calculation method into its own function: BM_vert_calc_shell_factor_ex

8 years agoworkaround for ndof events showing in view3d menu items. (add before other keys,...
Campbell Barton [Fri, 14 Dec 2012 16:09:31 +0000 (16:09 +0000)]
workaround for ndof events showing in view3d menu items. (add before other keys, eventually we may want to have some kind of priority here)

8 years agoCycles: make "Open Shading Language" a boolean toggle, the other option "GPU Compatib...
Brecht Van Lommel [Fri, 14 Dec 2012 15:26:49 +0000 (15:26 +0000)]
Cycles: make "Open Shading Language" a boolean toggle, the other option "GPU Compatible" was confusing.

8 years agocommands to convert svg-to-png as shell scripts (just for convenience), and center...
Campbell Barton [Fri, 14 Dec 2012 15:17:53 +0000 (15:17 +0000)]
commands to convert svg-to-png as shell scripts (just for convenience), and center prvicons.svg so the resulting image is sized properly.

8 years agoFixes for correct UI scaling display:
Ton Roosendaal [Fri, 14 Dec 2012 15:09:59 +0000 (15:09 +0000)]
Fixes for correct UI scaling display:

- Move to layer (and more popups) didn't scale yet
- User Prefs and render window now open on right location on Mac Retinas
- Brush sizes for painting now scale for Mac Retina

8 years agoBlender Internal / Texture UI:
Thomas Dinges [Fri, 14 Dec 2012 14:59:16 +0000 (14:59 +0000)]
Blender Internal / Texture UI:
* Ocean Texture was not in alphabetical order.

8 years agoSCons: clean up code which was commented out since 2007
Sergey Sharybin [Fri, 14 Dec 2012 12:06:24 +0000 (12:06 +0000)]
SCons: clean up code which was commented out since 2007

8 years agoSCons; cleanup linux-config.py from using deprecated libraries from svn
Sergey Sharybin [Fri, 14 Dec 2012 12:06:09 +0000 (12:06 +0000)]
SCons; cleanup linux-config.py from using deprecated libraries from svn

This was already done for CMake and mentioning this paths in scons only
messes things up.

8 years agoFix #33532: vertex paint subtract mode was broken, always resulting in black.
Brecht Van Lommel [Fri, 14 Dec 2012 12:00:59 +0000 (12:00 +0000)]
Fix #33532: vertex paint subtract mode was broken, always resulting in black.

8 years agoFix #33530: Blender Crash when selecting "Point select mode" in Particle Mode with...
Sergey Sharybin [Fri, 14 Dec 2012 09:47:05 +0000 (09:47 +0000)]
Fix #33530: Blender Crash when selecting "Point select mode" in Particle Mode with and 0 hairs object

8 years agoadd back a key to access view-cursor (alt+home)
Campbell Barton [Fri, 14 Dec 2012 09:40:32 +0000 (09:40 +0000)]
add back a key to access view-cursor (alt+home)

8 years agoFix #33526: Bezier Curve Tilt in transform panel does not work beyond 360 degrees
Sergey Sharybin [Fri, 14 Dec 2012 09:29:05 +0000 (09:29 +0000)]
Fix #33526: Bezier Curve Tilt in transform panel does not work beyond 360 degrees

No need to clamp tilt value in transform panel, til beyond 360 degrees works
fine and clamping it in panel lead to some unexpected behavior.

8 years agoFix #33525: Mask points are add offset for the mouse when adding on viewer node with...
Sergey Sharybin [Fri, 14 Dec 2012 09:19:13 +0000 (09:19 +0000)]
Fix #33525: Mask points are add offset for the mouse when adding on viewer node with aspect != 1

It was strange logic in code from 2010 which forced image aspect to be 1 for
viewer nodes and render results.

Not sure why it's needed, was only used for unwrapping aspect correction,
but render result/viewer images are already handled differently there.

8 years agoOSX/nativePixel: fix compile for OSX < 10.7
Jens Verwiebe [Fri, 14 Dec 2012 08:48:48 +0000 (08:48 +0000)]
OSX/nativePixel: fix compile for OSX < 10.7

8 years agocorrect scrollbars not working properly with DPI in the console/info view.
Campbell Barton [Fri, 14 Dec 2012 08:05:56 +0000 (08:05 +0000)]
correct scrollbars not working properly with DPI in the console/info view.

8 years agotweaks to text selection and highlight drawing.
Campbell Barton [Fri, 14 Dec 2012 06:12:04 +0000 (06:12 +0000)]
tweaks to text selection and highlight drawing.

8 years agocode cleanup: minor edits to the console.
Campbell Barton [Fri, 14 Dec 2012 05:27:53 +0000 (05:27 +0000)]
code cleanup: minor edits to the console.

8 years agoAdding a new SPH solver that is more physically accurate. See patch #29681
Alex Fraser [Fri, 14 Dec 2012 04:57:26 +0000 (04:57 +0000)]
Adding a new SPH solver that is more physically accurate. See patch #29681

    http://projects.blender.org/tracker/index.php?func=detail&aid=29681&group_id=9&atid=127

The solver was mostly implemented by John Mansour at VPAC, with help from me and with funding from the AutoCRC. The SPH formulation is due to Gingold and Monaghan, and the smoothing kernel is due to Wendland.

This solver does not replace the old one; it is available as an option. Note that the new solver uses different units than the old one. The patch page has a couple of attachments that can be used to test the new solver, particularly sphclassical_dam_s0.01_grav.blend (ignore the earlier tests). The simulation in that file compares well with a physical experimental dam break; details in a paper by Changhong Hu and Makoto Sueyoshi, also referred to on that page.

8 years agostyle cleanup
Campbell Barton [Fri, 14 Dec 2012 04:38:52 +0000 (04:38 +0000)]
style cleanup

8 years agoUV Warp Modifier:
Campbell Barton [Fri, 14 Dec 2012 04:07:30 +0000 (04:07 +0000)]
UV Warp Modifier:
Based on patch [#30837] UV Offset Modifier
by Pawel Kowal (pkowal)

- Allows you to setup a transformation between objects to apply to UV coords.
- Option to select which axis apply to U/V.
- Option to select the UV center (needed for transformations that scale or rotate).
- Uses from/to objects in a similar way to the Warp modifier.
- Vertex group can be used to adjust influence.

8 years agoSVG Icons: Frame Next/Prev (used for Motion Tracker controls)
Joshua Leung [Fri, 14 Dec 2012 01:52:08 +0000 (01:52 +0000)]
SVG Icons: Frame Next/Prev (used for Motion Tracker controls)

8 years agoSVG Icons: Back to screen icon
Joshua Leung [Fri, 14 Dec 2012 01:40:09 +0000 (01:40 +0000)]
SVG Icons: Back to screen icon

8 years agoSVG Icons - Ported over some of the animation related icons
Joshua Leung [Fri, 14 Dec 2012 01:34:11 +0000 (01:34 +0000)]
SVG Icons - Ported over some of the animation related icons

* Made SVG versions of the NLA solo (star) icons. These are much nicer than the hack 'n slash bitmap versions, but could still do with some polish. The svg is too heavy to do fine tweaks here.

* Ported over the mute/graph-visible icons
* Recreated Drivers icon

* Moved Blender icon from AD1/DA1 to AD16/DA16, as per the trunk icon sheet

8 years agoadd assert if both args to invert_m4_m4 are the same.
Campbell Barton [Fri, 14 Dec 2012 00:49:55 +0000 (00:49 +0000)]
add assert if both args to invert_m4_m4 are the same.

8 years agopatch [#33448] Adding Vector Sources for Icons
Campbell Barton [Thu, 13 Dec 2012 23:18:38 +0000 (23:18 +0000)]
patch [#33448] Adding Vector Sources for Icons

add additional icons to the svg.

8 years agoFix #33522: Crash when "rotate arond selection" is on, and when no object in scene
Sergey Sharybin [Thu, 13 Dec 2012 20:07:16 +0000 (20:07 +0000)]
Fix #33522: Crash when "rotate arond selection" is on, and when no object in scene

Own regression in recent fix

8 years agoBug fix, irc report:
Ton Roosendaal [Thu, 13 Dec 2012 17:43:12 +0000 (17:43 +0000)]
Bug fix, irc report:

Overlapping regions, when you both want them on the same side they should not overlap
each other! (Try F5 on a region to flip position).

Code for subdivision is in need for some cleanup - a branching recursion is needed.

8 years agoFix for using active scene instead of actually changed one in some RNA callbacks
Sergey Sharybin [Thu, 13 Dec 2012 17:12:00 +0000 (17:12 +0000)]
Fix for using active scene instead of actually changed one in some RNA callbacks

8 years agoSCons: added static libs path for OIIO, OCIO and Boost
Sergey Sharybin [Thu, 13 Dec 2012 16:55:54 +0000 (16:55 +0000)]
SCons: added static libs path for OIIO, OCIO and Boost

This should make it easier to write user-config.py

Still not sure how to deal with OSL and LLVM in a nice way, they're currently
using some hacks which didn't support specifying this libraries as static.

8 years agoBugfix - own collection.
Ton Roosendaal [Thu, 13 Dec 2012 16:21:08 +0000 (16:21 +0000)]
Bugfix - own collection.

Very occasionally Timer Events could still get handled, after stopping
a timer - especially with the timer event still in the queue.

This patch disables such events. Introduced a EVENT_NONE to make sure
it gets ignored everywhere.

8 years agoPart of bratwurst GSOC cleanup of subsurf unwrap code: Ommit subsurf
Antony Riakiotakis [Thu, 13 Dec 2012 14:33:14 +0000 (14:33 +0000)]
Part of bratwurst GSOC cleanup of subsurf unwrap code: Ommit subsurf
level in the operator and use the modifier level and subdivision type
instead. Using subsurf only makes sense if the modifier is first so
print an warning and turn off if this is not the case.

8 years agoBugfix, IRC report
Ton Roosendaal [Thu, 13 Dec 2012 14:25:15 +0000 (14:25 +0000)]
Bugfix, IRC report

(Error in 2.65 release too)

Mac OS X: on closing Blender, it 'flashed', which appeared to be a white window opening
and closing quickly. Caused by code trying to send focus to another opened window, and
accidentally focusing the closed one - causing it to reopen.

8 years agoFeature fix:
Ton Roosendaal [Thu, 13 Dec 2012 13:20:01 +0000 (13:20 +0000)]
Feature fix:

Upgraded version to 2.65.1, and check on this to map default region backgrounds
to have an alpha 0.5. This only worked until now for 2.64 savedi startups.

8 years agoremove unrelated text
Campbell Barton [Thu, 13 Dec 2012 12:52:12 +0000 (12:52 +0000)]
remove unrelated text

8 years agoOSX: add plist key High Resolution Capable
Jens Verwiebe [Thu, 13 Dec 2012 12:46:11 +0000 (12:46 +0000)]
OSX: add plist key High Resolution Capable

8 years agoBugfix [#33511]
Ton Roosendaal [Thu, 13 Dec 2012 12:17:57 +0000 (12:17 +0000)]
Bugfix [#33511]

Overlapping regions: when dragging the region to close them, it started the blending
timer - which of course is not meant to happen.

8 years agoadd include so alloca() is found on mingw.
Campbell Barton [Thu, 13 Dec 2012 11:59:07 +0000 (11:59 +0000)]
add include so alloca() is found on mingw.

8 years agosvg source files from jendrzych, v. 2.5.06
Campbell Barton [Thu, 13 Dec 2012 11:54:39 +0000 (11:54 +0000)]
svg source files from jendrzych, v. 2.5.06
split SVG in two to match the PNG's.

Original URL: http://pixel-sized.blogspot.nl/2012/05/two-years-of-absence-here.html#more

8 years agoBugfix, IRC report:
Ton Roosendaal [Thu, 13 Dec 2012 11:27:21 +0000 (11:27 +0000)]
Bugfix, IRC report:

If a new userpref.blend was loaded, but no startup.blend existed yet, Blender crashed.

8 years agoOnly LMB clicks in Panel should return "handled" - it accidentally returned it for
Ton Roosendaal [Thu, 13 Dec 2012 10:58:00 +0000 (10:58 +0000)]
Only LMB clicks in Panel should return "handled" - it accidentally returned it for
mousewheel too.

Previous commit made scrolling in button regions not work.

8 years agoFix #33510: Rotate around selection doesn't work when .blend saved in sculpt mode
Sergey Sharybin [Thu, 13 Dec 2012 10:51:38 +0000 (10:51 +0000)]
Fix #33510: Rotate around selection doesn't work when .blend saved in sculpt mode

Issue was caused by calculateTransformCenter not giving any center point in cases
object is in painting mode, which lead to previous offset used for view rotation.

Since this previous offset is a static variable, it'll mean rotation will happen
around scene origin after re-starting blender.

Now made it so viewport rotation will use active object's center as an offset
when active object is in painting mode.

Should behave in more predictable way.

8 years agodisable openmp thread assert, would fail in cases where the caller was locking for...
Campbell Barton [Thu, 13 Dec 2012 10:37:04 +0000 (10:37 +0000)]
disable openmp thread assert, would fail in cases where the caller was locking for its self (sculpt mode)

8 years agoupdate themes for added alpha channel
Campbell Barton [Thu, 13 Dec 2012 10:29:31 +0000 (10:29 +0000)]
update themes for added alpha channel

8 years agoBug fix:
Ton Roosendaal [Thu, 13 Dec 2012 10:24:46 +0000 (10:24 +0000)]
Bug fix:

- Code for detecting "click inside button panel" was convoluted and detected wrong
  panels even when they were closed.
- Any click inside panels now return "Event Handled", that will prevent events
  being passed on in case of overlapping or transparent button panels.

This is ancient code, will be in on my attention list for further cleaning.