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

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

8 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

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

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

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

8 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

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

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

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

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

8 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

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

8 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

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

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

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

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

8 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

8 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

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

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

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

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

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

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

8 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

8 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

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

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

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

8 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

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

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

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

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

8 years agoFix for menu context. The menu draw function context did not inherit the custom conte...
Lukas Toenne [Wed, 12 Dec 2012 12:50:49 +0000 (12:50 +0000)]
Fix for menu context. The menu draw function context did not inherit the custom context storage from the original uiLayout yet. Fix by Campbell Barton (ideasman_42).

8 years agoFix for misleading doc string of panel header options.
Lukas Toenne [Wed, 12 Dec 2012 12:50:45 +0000 (12:50 +0000)]
Fix for misleading doc string of panel header options.

8 years agoA few basic Python operators for adding nodes in the node editor tree. These operator...
Lukas Toenne [Wed, 12 Dec 2012 12:50:43 +0000 (12:50 +0000)]
A few basic Python operators for adding nodes in the node editor tree. These operators basically have the same functionality as the 'Add' menu (which currently does not even use operators itself). They can be used in customized tools.

The node_add_move operator is an extended variant which starts the (modal) transform operator right after adding a node, as a quicker way of inserting nodes in a tree.

8 years agoToolbar region for the node editor. This region is, for now, empty and hidden by...
Lukas Toenne [Wed, 12 Dec 2012 12:50:39 +0000 (12:50 +0000)]
Toolbar region for the node editor. This region is, for now, empty and hidden by default. Later on we might add standard panels here, but at least it will give addons a place to register tool shelf panels.

8 years agoSequencer: add textured solid option for opengl preview
Sergey Sharybin [Wed, 12 Dec 2012 12:42:12 +0000 (12:42 +0000)]
Sequencer: add textured solid option for opengl preview

8 years agouse header only tags for edge split (to prepare to move this into tools/)
Campbell Barton [Wed, 12 Dec 2012 12:29:37 +0000 (12:29 +0000)]
use header only tags for edge split (to prepare to move this into tools/)

8 years agoRevert recent workaround for sequencer, it'll only work in cases
Sergey Sharybin [Wed, 12 Dec 2012 12:23:30 +0000 (12:23 +0000)]
Revert recent workaround for sequencer, it'll only work in cases
scene strip is added at frame 1, which is very limited usecase.

Proper solution is not possible yet..

8 years agoBug fix [#33492] Right click on 'confirm reload' crashes
Ton Roosendaal [Wed, 12 Dec 2012 12:18:29 +0000 (12:18 +0000)]
Bug fix [#33492] Right click on 'confirm reload' crashes

Context check could result in NULL - added provision for it and made
sure the check is local only (for 1 new option)

8 years agoSequencer old todo: inserting keyframes with preview opened didn't work
Sergey Sharybin [Wed, 12 Dec 2012 11:12:37 +0000 (11:12 +0000)]
Sequencer old todo: inserting keyframes with preview opened didn't work

Solved in more like a workaround way by not calling BKE_scene_update_for_newframe
if scene's frame didn't change.

8 years agoUse own list of actions for Vertex Group Lock operator instead of reusing Select...
Sv. Lockal [Wed, 12 Dec 2012 10:21:24 +0000 (10:21 +0000)]
Use own list of actions for Vertex Group Lock operator instead of reusing Select All actions.

Previous actions and descriptions were confusing, e. g. UnLock All used the description of Deselect All.

8 years agorevert recent code cleanup which introduced const parameters
Gaia Clary [Wed, 12 Dec 2012 09:49:05 +0000 (09:49 +0000)]
revert recent code cleanup which introduced const parameters

8 years agoFix #33486: cycles CPU image textures were offset wrong by half a pixel compared
Brecht Van Lommel [Wed, 12 Dec 2012 09:17:21 +0000 (09:17 +0000)]
Fix #33486: cycles CPU image textures were offset wrong by half a pixel compared
to OpenGL/CUDA/OSL rendering.

8 years agofix for EDBM_index_arrays_ensure not working as intended.
Campbell Barton [Wed, 12 Dec 2012 07:31:22 +0000 (07:31 +0000)]
fix for EDBM_index_arrays_ensure not working as intended.

8 years agoadd threshold for bmesh & openmp so its not used with low poly meshes, BM_OMP_LIMIT...
Campbell Barton [Wed, 12 Dec 2012 07:20:34 +0000 (07:20 +0000)]
add threshold for bmesh & openmp so its not used with low poly meshes, BM_OMP_LIMIT may need tweaking.

8 years agoadd destructive argument to bmesh.update_edit_mesh()
Campbell Barton [Wed, 12 Dec 2012 06:57:41 +0000 (06:57 +0000)]
add destructive argument to bmesh.update_edit_mesh()

8 years agomake EDBM_index_arrays's stay in memory, blender was allocating an array and filling...
Campbell Barton [Wed, 12 Dec 2012 06:53:39 +0000 (06:53 +0000)]
make EDBM_index_arrays's stay in memory, blender was allocating an array and filling it for verts/edges/faces on every redraw.

this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use.

in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.

8 years agoFix #33485: cycles OSL now autodetects the presence of emission and transparent
Brecht Van Lommel [Wed, 12 Dec 2012 06:51:06 +0000 (06:51 +0000)]
Fix #33485: cycles OSL now autodetects the presence of emission and transparent
closures to enable multiple importance sampling and transparent shadows.

8 years agouse htype flags as arguments to EDBM_index_arrays_init(), no functional changes.
Campbell Barton [Wed, 12 Dec 2012 05:27:52 +0000 (05:27 +0000)]
use htype flags as arguments to EDBM_index_arrays_init(), no functional changes.

8 years agouse openmp to thread some common bmesh operations
Campbell Barton [Wed, 12 Dec 2012 05:04:01 +0000 (05:04 +0000)]
use openmp to thread some common bmesh operations
- BM_mesh_elem_toolflags_ensure / bmo_flag_layer_alloc / bmo_flag_layer_free / bmo_flag_layer_clear
- BM_mesh_select_flush
- EDBM_index_arrays_init

notes:
- mostly use openmp `sections` to split operations on vert/edge/face since this is a fairly minor change.
- split tool flag pool in 3, this means we can allocate exact sizes needed and iterate on them in threads without alloc'ing.

8 years agoassert in debug builds if MEM_ alloc's are called in openmp threads.
Campbell Barton [Wed, 12 Dec 2012 04:41:23 +0000 (04:41 +0000)]
assert in debug builds if MEM_ alloc's are called in openmp threads.
note: the caller can do locking to prevent errors - but this isn't being done in blender yet, so this prevents accidental allocs in openmp for now.

8 years agoreplace BLI_array_declare with BLI_array_staticdeclare() and BLI_array_alloca() for...
Campbell Barton [Wed, 12 Dec 2012 02:48:03 +0000 (02:48 +0000)]
replace BLI_array_declare with BLI_array_staticdeclare() and BLI_array_alloca() for smaller arrays.

8 years agoFix for cloth/smoke: Collision and flow objects always had to be on the same layer.
Daniel Genrich [Tue, 11 Dec 2012 20:39:54 +0000 (20:39 +0000)]
Fix for cloth/smoke: Collision and flow objects always had to be on the same layer.

Reported and patch by MiikaH

8 years agoInstall dependencies used to always mark schro as used for suse.
Sergey Sharybin [Tue, 11 Dec 2012 19:45:16 +0000 (19:45 +0000)]
Install dependencies used to always mark schro as used for suse.
Now it should respect all features option.

Also removed some duplicated entries.

8 years agoOSL Shader Files:
Thomas Dinges [Tue, 11 Dec 2012 16:06:03 +0000 (16:06 +0000)]
OSL Shader Files:
* Simplify default color values, where each component was the same.
* Initialize closures as Null Closure, rather than assigning an existing closure, gets overwritten anyways.

8 years agochange to r52888, since we dont always want ED_view3d_offset_distance() to give a...
Campbell Barton [Tue, 11 Dec 2012 15:56:11 +0000 (15:56 +0000)]
change to r52888, since we dont always want ED_view3d_offset_distance() to give a corrected value, instead pass a fallback so callers don't allow zero by accident.

8 years agofix for building with msvc
Campbell Barton [Tue, 11 Dec 2012 15:29:08 +0000 (15:29 +0000)]
fix for building with msvc

8 years agoimage stamp data's strings could be short enough not to fit the entire ID name length.
Campbell Barton [Tue, 11 Dec 2012 15:14:35 +0000 (15:14 +0000)]
image stamp data's strings could be short enough not to fit the entire ID name length.

8 years agoreplace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() which uses...
Campbell Barton [Tue, 11 Dec 2012 15:10:19 +0000 (15:10 +0000)]
replace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() which uses stack memory always and doesn't need to be freed explicitly.