blender.git
7 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*.

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

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

7 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

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

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

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

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

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

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

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

7 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

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

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

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

7 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

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

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

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

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

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

7 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

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

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

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

7 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

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

7 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

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

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

7 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

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

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

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

7 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

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

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

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

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

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

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

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

7 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

7 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

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

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

7 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

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

7 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

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

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

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

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

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

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

7 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

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

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

7 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

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

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

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

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

7 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

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

7 years agofix for sequence size mismatch when loading themes, addition of alpha channel caused...
Campbell Barton [Thu, 13 Dec 2012 09:46:24 +0000 (09:46 +0000)]
fix for sequence size mismatch when loading themes, addition of alpha channel caused themes not to load.

7 years agoFFmpeg: remove limits of bitrate, they were far too low for losless formats like...
Sergey Sharybin [Thu, 13 Dec 2012 09:14:41 +0000 (09:14 +0000)]
FFmpeg: remove limits of bitrate, they were far too low for losless formats like DNxHD

7 years agoCMake: on linux, make boost now always require multithreaded libs, disabling
Brecht Van Lommel [Thu, 13 Dec 2012 08:46:07 +0000 (08:46 +0000)]
CMake: on linux, make boost now always require multithreaded libs, disabling
this was a hack for the precompiled libs in svn. Also bumped minimum version
to 1.48 because that's the first version that contains boost::locale.

7 years agoCycles: shuffle addon import statements a bit to try to fix a strange import
Brecht Van Lommel [Thu, 13 Dec 2012 08:45:55 +0000 (08:45 +0000)]
Cycles: shuffle addon import statements a bit to try to fix a strange import
error in some builds.

7 years agoFix #33500: when transforming, tapping shift twice and holding did not enable
Brecht Van Lommel [Thu, 13 Dec 2012 07:32:31 +0000 (07:32 +0000)]
Fix #33500: when transforming, tapping shift twice and holding did not enable
precision mode. Not really the intended way to use this but it revealed a bug
in the event handling here.

7 years agoimage view cursor wasn't scaling up with the DPI
Campbell Barton [Thu, 13 Dec 2012 06:36:02 +0000 (06:36 +0000)]
image view cursor wasn't scaling up with the DPI

7 years agoregion overlap feature missed view3d grid-scale text, increase string size for title...
Campbell Barton [Thu, 13 Dec 2012 05:43:01 +0000 (05:43 +0000)]
region overlap feature missed view3d grid-scale text, increase string size for title text too.

7 years agominor edits
Campbell Barton [Thu, 13 Dec 2012 02:40:49 +0000 (02:40 +0000)]
minor edits
- add BLENDER_QUIT_FILE define.
- use const for passing rcti's in widget drawing.

7 years agoremove UI_DPI_FAC, its not needed anymore.
Campbell Barton [Thu, 13 Dec 2012 01:21:12 +0000 (01:21 +0000)]
remove UI_DPI_FAC, its not needed anymore.

7 years agoremove BKE_main_scene_add(), just add main arg to BKE_scene_add()
Campbell Barton [Thu, 13 Dec 2012 01:17:22 +0000 (01:17 +0000)]
remove BKE_main_scene_add(), just add main arg to BKE_scene_add()

7 years agostyle cleanup: changes from recent commits
Campbell Barton [Thu, 13 Dec 2012 01:00:21 +0000 (01:00 +0000)]
style cleanup: changes from recent commits

7 years agocode cleanup: quiet warnings
Campbell Barton [Thu, 13 Dec 2012 00:47:47 +0000 (00:47 +0000)]
code cleanup: quiet warnings

7 years agofix another crash from missing update in Auto-Merge from r52911
Campbell Barton [Thu, 13 Dec 2012 00:41:23 +0000 (00:41 +0000)]
fix another crash from missing update in Auto-Merge from r52911

7 years agoCan now set a lower bound on the number of subframes (i.e. an upper bound on the...
Alex Fraser [Wed, 12 Dec 2012 22:42:55 +0000 (22:42 +0000)]
Can now set a lower bound on the number of subframes (i.e. an upper bound on the time step size) for fluid simulations. Previously, the "subframes" parameter was not available when the adaptive time step was enabled; now they can both be set. The two settings can be used together to greatly increase simulation stability.

7 years agoBugfix, irc report:
Ton Roosendaal [Wed, 12 Dec 2012 22:02:08 +0000 (22:02 +0000)]
Bugfix, irc report:

Crash on running in background mode. Calling GHOST function, but there is
no GHOST initialized. Easy to skip.

7 years agoDisable a bugfix I did - to prevent event timers to be used still.
Ton Roosendaal [Wed, 12 Dec 2012 20:31:12 +0000 (20:31 +0000)]
Disable a bugfix I did - to prevent event timers to be used still.
Code looks sane, but somehow it frustrates the panel animation timer, causing
freezes now. Work for tomorrow.

7 years agoCrash, IRC report.
Ton Roosendaal [Wed, 12 Dec 2012 19:56:24 +0000 (19:56 +0000)]
Crash, IRC report.

Moving panels in a buttons-region around was calling menu code, reading NULL pointer.
Seems to be an existing issue, not caused by my previous commit :)

7 years agoOSX: make cmake and scons both compile jack and ndof with newer sdk's
Jens Verwiebe [Wed, 12 Dec 2012 19:54:14 +0000 (19:54 +0000)]
OSX: make cmake and scons both compile jack and ndof with newer sdk's

7 years agoGHOST should now be finally fixed
Sergey Sharybin [Wed, 12 Dec 2012 19:20:36 +0000 (19:20 +0000)]
GHOST should now be finally fixed

7 years agoBetter patch for pixelsize to be zero - ghost code is going to be fixed next.
Ton Roosendaal [Wed, 12 Dec 2012 19:16:19 +0000 (19:16 +0000)]
Better patch for pixelsize to be zero - ghost code is going to be fixed next.

7 years agoQuick fix for ghost error - solves pixelsize to return 0.
Ton Roosendaal [Wed, 12 Dec 2012 19:09:25 +0000 (19:09 +0000)]
Quick fix for ghost error - solves pixelsize to return 0.

7 years agoHoliday coding log :)
Ton Roosendaal [Wed, 12 Dec 2012 18:58:11 +0000 (18:58 +0000)]
Holiday coding log :)

Nice formatted version (pictures soon):
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability

Short list of main changes:

- Transparent region option (over main region), added code to blend in/out such panels.
- Min size window now 640 x 480
- Fixed DPI for ui - lots of cleanup and changes everywhere. Icon image need correct size still, layer-in-use icon needs remake.
- Macbook retina support, use command line --no-native-pixels to disable it
- Timeline Marker label was drawing wrong
- Trackpad and magic mouse: supports zoom (hold ctrl)
- Fix for splash position: removed ghost function and made window size update after creation immediate
- Fast undo buffer save now adds UI as well. Could be checked for regular file save even...
  Quit.blend and temp file saving use this now.
- Dixed filename in window on reading quit.blend or temp saves, and they now add a warning in window title: "(Recovered)"
- New Userpref option "Keep Session" - this always saves quit.blend, and loads on start.
  This allows keeping UI and data without actual saves, until you actually save.
  When you load startup.blend and quit, it recognises the quit.blend as a startup (no file name in header)
- Added 3D view copy/paste buffers (selected objects). Shortcuts ctrl-c, ctrl-v (OSX, cmd-c, cmd-v).
  Coded partial file saving for it. Could be used for other purposes. Todo: use OS clipboards.
- User preferences (themes, keymaps, user settings) now can be saved as a separate file.
  Old option is called "Save Startup File" the new one "Save User Settings".
  To visualise this difference, the 'save startup file' button has been removed from user preferences window. That option is available as CTRL+U and in File menu still.
- OSX: fixed bug that stopped giving mouse events outside window.
  This also fixes "Continuous Grab" for OSX. (error since 2009)

7 years agoOSX/cmake: fix ndof compile
Jens Verwiebe [Wed, 12 Dec 2012 18:31:19 +0000 (18:31 +0000)]
OSX/cmake: fix ndof compile

7 years agoRNA properties for width and height of nodes.
Lukas Toenne [Wed, 12 Dec 2012 17:50:44 +0000 (17:50 +0000)]
RNA properties for width and height of nodes.

Note: For most node types the height is determined automatically.
Note2: There are two independent width values, one for regular nodes and one for the collapsed ("hidden") state.

7 years agoFix for range checks in generated RNA functions. The code was skipping the value...
Lukas Toenne [Wed, 12 Dec 2012 17:50:35 +0000 (17:50 +0000)]
Fix for range checks in generated RNA functions. The code was skipping the value clamping for float and int properties if using the min/max values of the respective number format, but not taking into account range callbacks of the property.

7 years agoFix error compiling in debug build, should test #ifndef NDEBUG instead of
Brecht Van Lommel [Wed, 12 Dec 2012 16:51:05 +0000 (16:51 +0000)]
Fix error compiling in debug build, should test #ifndef NDEBUG instead of

7 years agofix for another crash in r52911
Campbell Barton [Wed, 12 Dec 2012 16:39:16 +0000 (16:39 +0000)]
fix for another crash in r52911

7 years agoedge slide: skip creating BMBVHTree when its not used.
Campbell Barton [Wed, 12 Dec 2012 16:32:05 +0000 (16:32 +0000)]
edge slide: skip creating BMBVHTree when its not used.

7 years agostyle cleanup: also change node selection method not to compare nodes a lot.
Campbell Barton [Wed, 12 Dec 2012 15:41:15 +0000 (15:41 +0000)]
style cleanup: also change node selection method not to compare nodes a lot.

7 years agoremove context argument from EDBM_update_generic()
Campbell Barton [Wed, 12 Dec 2012 15:22:54 +0000 (15:22 +0000)]
remove context argument from EDBM_update_generic()

7 years agofix for crash in own commit r52911
Campbell Barton [Wed, 12 Dec 2012 15:01:27 +0000 (15:01 +0000)]
fix for crash in own commit r52911

7 years agoFix related to #33480: for blender internal volume rendering, the camera inside
Brecht Van Lommel [Wed, 12 Dec 2012 14:43:11 +0000 (14:43 +0000)]
Fix related to #33480: for blender internal volume rendering, the camera inside
volume wasn't accurate, it still isn't quite but hopefully a bit better by
taking clip start into account.

With clip start it's actually impossible to do a single 'inside' test, since
there will not be a single point where all camera rays start from, though for
small clip start they will be close together.

7 years agoCycles: disable scaling up of ray differentials after diffuse/glossy bounce, this
Brecht Van Lommel [Wed, 12 Dec 2012 14:43:07 +0000 (14:43 +0000)]
Cycles: disable scaling up of ray differentials after diffuse/glossy bounce, this
isn't working well for OSL texture filtering and wasn't very helpful to begin
with, a better solution should be possible.

7 years agofix [#33489] Scaling normals with Alt (maintains shell thickness) producing wrong...
Campbell Barton [Wed, 12 Dec 2012 14:34:21 +0000 (14:34 +0000)]
fix [#33489] Scaling normals with Alt (maintains shell thickness) producing wrong result.

not exactly a bug - zero area faces from a cancelled extrude gave issues - but this is a common use case, so make it work by only using selected faces when calculating the vertex shell thickness.

7 years agomove edge split into its own function which can be called by the modifier without...
Campbell Barton [Wed, 12 Dec 2012 12:57:27 +0000 (12:57 +0000)]
move edge split into its own function which can be called by the modifier without having to call a bmesh operator (gives some speedup).