7 years agoPython API: give a better error message when creating a Matrix fails
Campbell Barton [Thu, 28 Nov 2013 22:47:11 +0000 (09:47 +1100)]
Python API: give a better error message when creating a Matrix fails

7 years agoFix iTaSC build error when building with libc++.
Brecht Van Lommel [Thu, 28 Nov 2013 20:26:55 +0000 (21:26 +0100)]
Fix iTaSC build error when building with libc++.

This was using TreeElement before it was fully defined, which gives undefined
behavior that happened to work with other libraries but not libc++.

Based on patch by Marcus von Appen, modifications for brevity and to ensure we
don't dereference invalid memory. Ref T37477.

7 years agoCode cleanup: spelling fixes and verbosity prints
Sergey Sharybin [Thu, 28 Nov 2013 19:46:08 +0000 (01:46 +0600)]
Code cleanup: spelling fixes and verbosity prints

7 years agoMade collections port compatible with MSVC2008
Sergey Sharybin [Thu, 28 Nov 2013 17:24:55 +0000 (23:24 +0600)]
Made collections port compatible with MSVC2008

The issue was caused by the fact that in this version
of MSVC unordered_map class is defined in <unordered_map>
header file, but this file declares the class int std::tr1

This confused existing assumption that if there's an
existing <unordered_map> file then class is declared
in std namespace.

Added an extra check to CMake which detects whether
it's std or std::tr1 which actually contains class
of unordered_map.

This might be changed/cleaned in the future, for
now committing to our repository to solve compilation
error on windows.

Details of the patch in upstream can be found there:

7 years agoCMake/Scons Build: disable explicit linking to libstdc++ on Linux/Unix.
Brecht Van Lommel [Thu, 28 Nov 2013 16:59:55 +0000 (17:59 +0100)]
CMake/Scons Build: disable explicit linking to libstdc++ on Linux/Unix.

It's not needed, this should happen automatically already, and if you build
against libc++ instead (as on recent FreeBSD), this would give build errors.

Ref T37477.

7 years agoRemove debug prints from SCons' python module
Sergey Sharybin [Thu, 28 Nov 2013 13:27:56 +0000 (19:27 +0600)]
Remove debug prints from SCons' python module

Seems to be left by accident in rB9a79e03752509997e99094763f9183e6e5ce3637

If not, please do prints more verbose :)

7 years agoUpdate Ceres to latest upstream version
Sergey Sharybin [Thu, 28 Nov 2013 13:06:35 +0000 (19:06 +0600)]
Update Ceres to latest upstream version

- A richer Problem API.
- DynamicNumericDiffCostFunction.
- Faster ITERATIVE_SCHUR solver.
- Faster SCHUR_JACOBI preconditioner.
- Faster Jacobian evaluation.
- Faster visibility based preconditioning using single linkage clustering.

Also re-wrote rules for unordered collections detection,
should work on all platforms and compilers now :)

7 years agoTransform: improve normal orientation
Campbell Barton [Thu, 28 Nov 2013 08:27:53 +0000 (19:27 +1100)]
Transform: improve normal orientation

- when 3 verts are selected ensure the normal is flipped on the side of existing vert normals.
  also use the most distant 2 verts to define the tangent.

- when 2 vertices are selected, the normal wasn't aligned with the vert normal.

7 years agoFix T37143: Wrong normal dir with individual origins + one vert selected
Campbell Barton [Thu, 28 Nov 2013 08:23:05 +0000 (19:23 +1100)]
Fix T37143: Wrong normal dir with individual origins + one vert selected

7 years agoFix Carve compilation on FreeBSD
Sergey Sharybin [Thu, 28 Nov 2013 07:52:54 +0000 (13:52 +0600)]
Fix Carve compilation on FreeBSD

Based on the patch from Marcus von Appen, thanks!

7 years agoUpdate Carve to upstream version be054bc7ed86
Sergey Sharybin [Thu, 28 Nov 2013 07:51:17 +0000 (13:51 +0600)]
Update Carve to upstream version be054bc7ed86

7 years agoCarve bundler script cleanup
Sergey Sharybin [Thu, 28 Nov 2013 07:47:51 +0000 (13:47 +0600)]
Carve bundler script cleanup

- random.hpp was only removed from actual include
  directory, but not from patches/files.

- Files list generator didn't ignore config.h file
  which in fact is not needed.

7 years agoerror in last commit
Campbell Barton [Thu, 28 Nov 2013 05:14:32 +0000 (16:14 +1100)]
error in last commit

7 years agoTesting: added check for broken links to wiki docs
Campbell Barton [Thu, 28 Nov 2013 05:05:29 +0000 (16:05 +1100)]
Testing: added check for broken links to wiki docs

7 years agoView3D: split camera controlling parts of fly mode into their own functions
Campbell Barton [Thu, 28 Nov 2013 04:01:53 +0000 (15:01 +1100)]
View3D: split camera controlling parts of fly mode into their own functions

7 years agoCycles: experimental OpenSubdiv code.
Brecht Van Lommel [Thu, 28 Nov 2013 01:10:02 +0000 (02:10 +0100)]
Cycles: experimental OpenSubdiv code.

This code can't actually be enabled for building and is incomplete, but it's
here because we know we want to support this at some point and there's not much
reason to have it in a separate branch if a simple #ifdef can disable it.

7 years agoCycles: experimental OSL ptex reading code.
Brecht Van Lommel [Thu, 28 Nov 2013 00:38:23 +0000 (01:38 +0100)]
Cycles: experimental OSL ptex reading code.

This code can't actually be enabled for building and is incomplete, but it's
here because we know we want to support this at some point and there's not much
reason to have it in a separate branch if a simple #ifdef can disable it.

7 years agoCycles: add ptex face ID and UV attributes.
Brecht Van Lommel [Thu, 28 Nov 2013 00:28:57 +0000 (01:28 +0100)]
Cycles: add ptex face ID and UV attributes.

Not the most memory efficient way to store these things but it's simple and
implementing it better requires some work to natively support subd grids as
a primitive in some way.

7 years agoCycles: remove approximate subdivision surface with gregory patches code.
Brecht Van Lommel [Wed, 27 Nov 2013 23:13:32 +0000 (00:13 +0100)]
Cycles: remove approximate subdivision surface with gregory patches code.

It was never fully implemented and will be replaced by OpenSubdiv. Only linear
subdivision remains now. Also includes some refactoring in the split/dice code,
adding a SubdParams struct to pass around parameters more easily.

7 years agoFix buildinfo hash for cases there's no upstream set for the branch
Sergey Sharybin [Wed, 27 Nov 2013 20:25:09 +0000 (02:25 +0600)]
Fix buildinfo hash for cases there's no upstream set for the branch

7 years agoFix for previous fix (tm) commit
Sergey Sharybin [Wed, 27 Nov 2013 20:05:06 +0000 (02:05 +0600)]
Fix for previous fix (tm) commit

Ok, this is nasty. SOURCE_DIR is somehow being defined
from CMakeLists.txt in source/creator by the looks of it
and actual issue as extra slash in the end of path which
was passing to EXISTS command.

7 years agoFixes for buildinfo
Sergey Sharybin [Wed, 27 Nov 2013 19:41:53 +0000 (01:41 +0600)]
Fixes for buildinfo

- It was using SOURCE_DIR which is undefined on windows.
  No idea why it was defined on Linux, could be some
  co-incident. Correct usage is CMAKE_SOURCE_DIR.

- Remove usages of SVN's revision.

7 years agoFix T37414: local view not taken into account for blender internal F12 render over...
Brecht Van Lommel [Wed, 27 Nov 2013 19:18:02 +0000 (20:18 +0100)]
Fix T37414: local view not taken into account for blender internal F12 render over 3D view.

7 years agoFix T37159: cycles rendering particle emitter mesh incorrectly when using non-hair...
Brecht Van Lommel [Wed, 27 Nov 2013 16:14:53 +0000 (17:14 +0100)]
Fix T37159: cycles rendering particle emitter mesh incorrectly when using non-hair particles.

7 years agomissing from last commit
Campbell Barton [Wed, 27 Nov 2013 10:25:15 +0000 (21:25 +1100)]
missing from last commit

7 years agoResolve T37240: saving a new file always had absolute paths, now remap.
Campbell Barton [Wed, 27 Nov 2013 10:15:19 +0000 (21:15 +1100)]
Resolve T37240: saving a new file always had absolute paths, now remap.

7 years agoFix T37249: Crash calling wm.progress_update() with no active window
Campbell Barton [Wed, 27 Nov 2013 08:20:02 +0000 (19:20 +1100)]
Fix T37249: Crash calling wm.progress_update() with no active window

7 years agoFix T37203: New face from an edge failed if only one vert was connected to a wire...
Campbell Barton [Wed, 27 Nov 2013 07:58:55 +0000 (18:58 +1100)]
Fix T37203: New face from an edge failed if only one vert was connected to a wire edge

7 years agoDisable redo for bend operator
Campbell Barton [Wed, 27 Nov 2013 07:36:04 +0000 (18:36 +1100)]
Disable redo for bend operator

7 years agoFix T37383: wrong spacing on Add menu in 3D view header.
Brecht Van Lommel [Wed, 27 Nov 2013 04:23:02 +0000 (05:23 +0100)]
Fix T37383: wrong spacing on Add menu in 3D view header.

This also was in the info header but less obvious, mistake in the layout engine.

7 years agoFix for recent BMesh regression refactoring out face tessellation
Campbell Barton [Wed, 27 Nov 2013 02:44:19 +0000 (13:44 +1100)]
Fix for recent BMesh regression refactoring out face tessellation

7 years agoBMesh Operators: BMO_op_finish now overwrites values in debug mode
Campbell Barton [Wed, 27 Nov 2013 02:42:24 +0000 (13:42 +1100)]
BMesh Operators: BMO_op_finish now overwrites values in debug mode

This should prevent accidental use-after-free.

7 years agoFix for recent error (editmesh triangulate crashed).
Campbell Barton [Wed, 27 Nov 2013 02:00:40 +0000 (13:00 +1100)]
Fix for recent error (editmesh triangulate crashed).

7 years agoFix T37121: decimate works badly with flat surfaces
Campbell Barton [Wed, 27 Nov 2013 00:24:18 +0000 (11:24 +1100)]
Fix T37121: decimate works badly with flat surfaces

7 years agoFix T37636: double added pyattr_get_lights
HG1 [Tue, 26 Nov 2013 21:42:41 +0000 (08:42 +1100)]
Fix T37636: double added pyattr_get_lights

7 years agoFix T37583: regression in bmesh triangulate breaking python's use of face_map
Campbell Barton [Tue, 26 Nov 2013 21:08:00 +0000 (08:08 +1100)]
Fix T37583: regression in bmesh triangulate breaking python's use of face_map

7 years agoFix T36976: drag and drop tooltip not working with retina and drawing off
Brecht Van Lommel [Tue, 26 Nov 2013 20:36:53 +0000 (21:36 +0100)]
Fix T36976: drag and drop tooltip not working with retina and drawing off
screen near top of the window.

The code here was not updated for retina / DPI changes yet. The tooltip also
could draw off screen when dragging to a button at the top of the window, now
it places the tooltip lower in such cases.

Offscreen drawing fix is based on patch by Antony Riakiotakis.

7 years agoFix T37633: duplicate value GPUDynamicType could cause GLSL render issues.
Brecht Van Lommel [Tue, 26 Nov 2013 19:56:59 +0000 (20:56 +0100)]
Fix T37633: duplicate value GPUDynamicType could cause GLSL render issues.

7 years agoFix mistake in last commit with submodules.
Brecht Van Lommel [Tue, 26 Nov 2013 19:40:55 +0000 (20:40 +0100)]
Fix mistake in last commit with submodules.

7 years agoFix T37303, Fix T37163: cycles mask layers that are also excluded not rendering
Brecht Van Lommel [Tue, 26 Nov 2013 19:34:29 +0000 (20:34 +0100)]
Fix T37303, Fix T37163: cycles mask layers that are also excluded not rendering
correct with multiple render layers.

This case is somewhat weak, we now do a few more checks on sync than I would
like, but it's not too bad.

7 years agoFix T37632: Wrong tooltip for "Motion Blur" on mask node
Sergey Sharybin [Tue, 26 Nov 2013 19:12:08 +0000 (01:12 +0600)]
Fix T37632: Wrong tooltip for "Motion Blur" on mask node

7 years agoFix T37541: multires not reading external displacement file after entering edit mode.
Brecht Van Lommel [Tue, 26 Nov 2013 16:09:15 +0000 (17:09 +0100)]
Fix T37541: multires not reading external displacement file after entering edit mode.

7 years agoFix T37627: create scene with copy settings did not copy cycles settings.
Brecht Van Lommel [Tue, 26 Nov 2013 14:19:08 +0000 (15:19 +0100)]
Fix T37627: create scene with copy settings did not copy cycles settings.

7 years agoScrew Modifier: UV support
Campbell Barton [Tue, 26 Nov 2013 10:22:56 +0000 (21:22 +1100)]
Screw Modifier: UV support

- When existing faces are available use their UV values
- When no faces are connected to an edge - generate UV's

Also add option to stretch U/V to bounds.

7 years agoScrew Modifier: copy face data when the original face is known.
Campbell Barton [Tue, 26 Nov 2013 10:07:24 +0000 (21:07 +1100)]
Screw Modifier: copy face data when the original face is known.

also de-duplicate code for handling the closing face strip.

7 years agoMath library: minor additions sqrtf_signed and copy_v2_fl2
Campbell Barton [Tue, 26 Nov 2013 09:53:26 +0000 (20:53 +1100)]
Math library: minor additions sqrtf_signed and copy_v2_fl2

7 years agoFix own regression in rB254aa8f3a0fb: Titles and sub-titles in menus were drawn shift...
Bastien Montagne [Tue, 26 Nov 2013 09:29:36 +0000 (10:29 +0100)]
Fix own regression in rB254aa8f3a0fb: Titles and sub-titles in menus were drawn shifted to the right.

Reported by plasmasolution over IRC, thanks.

Also fixes wrong handling of "sub-titles" with icons in EnumO menus (they were just treated as text-only ones).

Dev notes: in fact, that clean up commit revealed kind of an "hidden bug that happend to work well"
(or at least, a very bad hack): with titles without icon, code used to use uiItemL with ICON_NONE.
However, as the root layout is a menu one, internal ui code would add a dummy blank icon,
and set UI_HAS_ICON flag for the label button. But in the affected menus, code afterward assigned
UI_TEXT_LEFT to but->flag, thus erasing the (internal) UI_HAS_ICON. As UI_TEXT_LEFT was moved to
but->drawflag, the internal flag was no more erased, and the fake icon was drawn, creating that
shift-to-the-right effect. Turns out we do not even have to set UI_TEXT_LEFT in these cases,
just add label buttons without icon is enough!

7 years agoFix T37624: Rename Marker does not update Marker in 3D View until Frame Change
Sergey Sharybin [Tue, 26 Nov 2013 09:01:13 +0000 (15:01 +0600)]
Fix T37624: Rename Marker does not update Marker in 3D View until Frame Change

Was simply missing notifier listener in 3D viewport.

Also fixes missing refresh when adding a marker.

7 years agoBlender Internal: Fix material preview that the bounce lights permanently disappear...
IRIE Shinsuke [Tue, 26 Nov 2013 06:33:31 +0000 (15:33 +0900)]
Blender Internal: Fix material preview that the bounce lights permanently disappear once volume material is used.

7 years agoFix: Text editor, blank lines were being indented
Dalai Felinto [Tue, 26 Nov 2013 06:38:53 +0000 (04:38 -0200)]
Fix: Text editor, blank lines were being indented

Summary: fixes T37613

Reviewers: campbellbarton, sergey

Reviewed By: sergey

Maniphest Tasks: T37613

Differential Revision:

7 years agoFix T37471: Copy/Paste objects broke relative paths
Campbell Barton [Tue, 26 Nov 2013 02:37:08 +0000 (13:37 +1100)]
Fix T37471: Copy/Paste objects broke relative paths

7 years agoCode cleanup: Typo fix for image function, patch by kgeogeo.
Thomas Dinges [Mon, 25 Nov 2013 23:40:53 +0000 (00:40 +0100)]
Code cleanup: Typo fix for image function, patch by kgeogeo.

Differential Revision:

7 years agoView3D: disable auto-perspective when orbiting the view out of a camera.
Campbell Barton [Mon, 25 Nov 2013 23:32:29 +0000 (10:32 +1100)]
View3D: disable auto-perspective when orbiting the view out of a camera.

7 years agoSculpt Dynamic Topology: support collapsing edges without subdividing edges as well
Brecht Van Lommel [Tue, 19 Nov 2013 20:55:46 +0000 (21:55 +0100)]
Sculpt Dynamic Topology: support collapsing edges without subdividing edges as well

This allows you to choose between subdivide edges, collapse and both. Being able to
only collapse edges can be useful to simplify meshes with accidentally introducing
more detail.

Reviewed By: psy-fi, carter2422

Differential Revision:

7 years agofix for error in own recent commit, removing orientations.
Campbell Barton [Mon, 25 Nov 2013 22:49:32 +0000 (09:49 +1100)]
fix for error in own recent commit, removing orientations.

7 years agoFix 37571: Knife Select should be disabled when no faces are selected
Campbell Barton [Mon, 25 Nov 2013 22:44:08 +0000 (09:44 +1100)]
Fix 37571: Knife Select should be disabled when no faces are selected

also check a similar case for bisect

7 years agoUser Interface: don't show macro args in tooltips
Campbell Barton [Mon, 25 Nov 2013 21:59:14 +0000 (08:59 +1100)]
User Interface: don't show macro args in tooltips

was often making much too big strings to show in a tip.

7 years agoUsual ui messages fixes...
Bastien Montagne [Mon, 25 Nov 2013 21:23:36 +0000 (22:23 +0100)]
Usual ui messages fixes...

7 years agoFix T37225: UV map for closed curves incorrectly generated
Sergey Sharybin [Mon, 25 Nov 2013 19:17:24 +0000 (01:17 +0600)]
Fix T37225: UV map for closed curves incorrectly generated

Curve ORCO was not calculating properly for cyclic 2D curves.

- Needed to split vertices for blender internal renderer.
  Otherwise it's not possible to map last face to a proper
  texture location.

- Needed to tweak curve->mesh conversion to respect cyclic
  flag along U direction.

- Removed check for orcodm in curve.c:add_orco_dm since
  this code is only called if there're enabled constructive
  modifiers on the curve.

Reviewers: brecht

Maniphest Tasks: T37225

Differential Revision:

7 years agoi18n module cleanup: remove hack used during svn -> git transition phase!
Bastien Montagne [Mon, 25 Nov 2013 20:58:54 +0000 (21:58 +0100)]
i18n module cleanup: remove hack used during svn -> git transition phase!

7 years agoCode cleanup: As Sergey stated on bf-committers one should use id_us_min() if the...
Thomas Beck [Mon, 25 Nov 2013 20:44:19 +0000 (21:44 +0100)]
Code cleanup: As Sergey stated on bf-committers one should use id_us_min() if the user counter has to be decremented and not decrement the counter by hand.

7 years agoCorrect fix for T37617, (own recent regression)
Campbell Barton [Mon, 25 Nov 2013 20:13:34 +0000 (07:13 +1100)]
Correct fix for T37617, (own recent regression)

7 years agoFix T37617: "Add plane" was adding a 2*2 grid
Bastien Montagne [Mon, 25 Nov 2013 20:01:22 +0000 (21:01 +0100)]
Fix T37617: "Add plane" was adding a 2*2 grid

Was a regression from rBaa3c06b41ca9, hope this time all things are OK again (note the X/Y subdivision values still are different than before (-1 for same result), but imho they make more sense this way).

7 years agoCode Cleanup: rename vars for detecting change to be more consistent
Campbell Barton [Mon, 25 Nov 2013 19:39:14 +0000 (06:39 +1100)]
Code Cleanup: rename vars for detecting change to be more consistent

rename change/is_change/is_changed/modified -> changed
also use bools over int/short/char and once accidental float.

7 years agoFix: jump to next/previous marker shortcut keys conflicted with others in clip editor.
Brecht Van Lommel [Mon, 25 Nov 2013 18:10:08 +0000 (19:10 +0100)]
Fix: jump to next/previous marker shortcut keys conflicted with others in clip editor.

Disable them for now and leave to for keymap revamp to assign them shortcut keys or not.

7 years agoUIList: add proper support for ctrl-c/v (copy/paste) of names.
Bastien Montagne [Mon, 25 Nov 2013 16:40:08 +0000 (17:40 +0100)]
UIList: add proper support for ctrl-c/v (copy/paste) of names.

Dev notes: Another hack in ui_do_button(), to add a specific handling of LISTROW in case of copy/paste event, which fixes the same 'not working if no mouse mouve' issue for those actions as well. Also added an helper func to switch from listrow to text button, as we now do that in two different places.

Reviewed By: brecht

Differential Revision:

7 years agoUI: fix errors in screen edge drawing, moving and region hiding.
Anthony Edlin [Mon, 25 Nov 2013 12:40:58 +0000 (13:40 +0100)]
UI: fix errors in screen edge drawing, moving and region hiding.

- Fixes an off-by-one error in screen_test_scale() which causes the areas and
  regions to draw one pixel bigger on the right and top side of the window,
  therefor hiding one line of pixels.
- Fixes an off-by-one error in rct_fits() which causes regions to incorrectly
  hide even though it would fit inside the area.
- Correctly set the limits for the screen edge move operator so it will always
  go up to AREAMINX and headery.
- Change screen_find_active_scredge() so it doesn't show the arrows cursor on
  the screen edges along the window border.

The import thing to understand is how integer rects are used in this part of the
code. They are constructed as a lower left and top right point and are INCLUSIVE.
Meaning that if you have a rect's xmin = 10 and xmax = 30 then the total number
of pixels is 21. So to get the size of a rect you have to do xmax - xmin + 1,
which is easy to forget and result in off-by-one errors.

Reviewed By: brecht

Differential Revision:

7 years agoBlender Internal: Add "Lamp Data" shader node that allows shaders to acquire informat...
IRIE Shinsuke [Mon, 25 Nov 2013 11:58:23 +0000 (20:58 +0900)]
Blender Internal: Add "Lamp Data" shader node that allows shaders to acquire information such as light vector from specified Lamp.

For now this provides the following outputs:

- Color
- Light Vector
- Distance
- Shadow
- Visibility Factor

Note: Color output is multiplied by the lamp energy.  Multiplication of
produces the exact same result as the Lambert shader.

Many thanks to Brecht for code review and discussion!

7 years agoT37247 - Modifier "Mask" not updated correctly when switching from objects
Henrik Aarnio [Mon, 25 Nov 2013 13:15:48 +0000 (02:15 +1300)]
T37247 - Modifier "Mask" not updated correctly when switching from objects

7 years agoFix build warning in release mode with clang.
Brecht Van Lommel [Mon, 25 Nov 2013 04:36:38 +0000 (05:36 +0100)]
Fix build warning in release mode with clang.

7 years agoUI: hide internal properties of radial control operator from user.
Emanuel Claesson [Mon, 25 Nov 2013 04:13:05 +0000 (05:13 +0100)]
UI: hide internal properties of radial control operator from user.

Ref T37438 for the associated design task.

Reviewed By: brecht, dingto

Differential Revision:

7 years agoUI: remove unnecessary confirmation popups
Emanuel Claesson [Mon, 25 Nov 2013 03:55:26 +0000 (04:55 +0100)]
UI: remove unnecessary confirmation popups

This makes a number of operators no longer ask for confirmation, rather it will
show an info message after performing the operation. Ref T37422 for decision. In
particular, these were changed:

* Delete objects, bones, keyframes, masks, mask curves, motion tracks, markers.
* Clear and delete keyframes in the 3D view.
* Align bone to parents.
* Separate bones from armature.
* Group/ungroup metastrips in sequencer.
* Copy/paste objects to/from buffer.

Reviewed By: brecht, dingto

Differential Revision:

7 years agoUI: change hard limits on a few camera and image properties to infinite, soft limits...
Mark Ayers [Mon, 25 Nov 2013 04:26:25 +0000 (05:26 +0100)]
UI: change hard limits on a few camera and image properties to infinite, soft limits stay the same.

Reviewed By: brecht

Differential Revision:

7 years agoFix addons submodule hash
Sergey Sharybin [Mon, 25 Nov 2013 10:59:38 +0000 (16:59 +0600)]
Fix addons submodule hash

It was proken in rB41a90077608898accebd08653d064fe309325a17.

Again, plase NEVER use neither `git add .` nor `git commit .`
and use -a command line argument instead.

And NEVER push changes to blender.git BEFORE pushing changes
to submodules.

7 years agoShow hash from latest pushed commit in buildinfo
Sergey Sharybin [Mon, 25 Nov 2013 10:25:35 +0000 (16:25 +0600)]
Show hash from latest pushed commit in buildinfo

Before this hash of latest local commit was used,
which is not so much useful since nobody can access
that commit hash.

7 years agoTweaks to PNG file output
Sergey Sharybin [Mon, 25 Nov 2013 10:22:55 +0000 (16:22 +0600)]
Tweaks to PNG file output

- Made tooltip for compression a bit more clear.
- Use default compression of 15%. Gives around
  two times boost on export movie file here in
  test with only 10% increased file size.

Reviewers: Jonathan Williamson

7 years agofix for regression with own recent commit
Campbell Barton [Mon, 25 Nov 2013 10:13:58 +0000 (21:13 +1100)]
fix for regression with own recent commit

7 years agoOSX: Fix T37602, quitting from the File Menu does not ask
Jens Verwiebe [Mon, 25 Nov 2013 09:56:15 +0000 (10:56 +0100)]
OSX: Fix T37602, quitting from the File Menu does not ask

7 years agoFix T37573: Adding grid primitive slow for many subdivisions
Campbell Barton [Mon, 25 Nov 2013 09:34:25 +0000 (20:34 +1100)]
Fix T37573: Adding grid primitive slow for many subdivisions

7 years agoBuildbot: move lib step before blender.git step
Sergey Sharybin [Mon, 25 Nov 2013 09:24:09 +0000 (15:24 +0600)]
Buildbot: move lib step before blender.git step

This is an attempt to make it so revision from git
SHA is being displayed, not from libs svn revision.

7 years agoFix mesh triangulate not flushing selection
Campbell Barton [Mon, 25 Nov 2013 06:54:18 +0000 (17:54 +1100)]
Fix mesh triangulate not flushing selection

7 years agoFix T37591: 'Extensions' option ignored for movies.
Campbell Barton [Mon, 25 Nov 2013 05:59:10 +0000 (16:59 +1100)]
Fix T37591: 'Extensions' option ignored for movies.

7 years agoFix T37612: UV warp modifier bone name doesn't update when renamed
Campbell Barton [Mon, 25 Nov 2013 05:04:46 +0000 (16:04 +1100)]
Fix T37612: UV warp modifier bone name doesn't update when renamed

7 years agoCMake Build: option to compile without opennl/superlu.
Campbell Barton [Mon, 25 Nov 2013 04:33:41 +0000 (15:33 +1100)]
CMake Build: option to compile without opennl/superlu.

7 years agoCode cleanup: remove unused include dirs
Campbell Barton [Mon, 25 Nov 2013 03:30:31 +0000 (14:30 +1100)]
Code cleanup: remove unused include dirs

7 years agoFix T37586: Auto-perspective was changing to perspective while orbiting
Campbell Barton [Mon, 25 Nov 2013 01:53:40 +0000 (12:53 +1100)]
Fix T37586: Auto-perspective was changing to perspective while orbiting

7 years agoUser Defaults: Change user defaults based on decission by new UI team - T37518
Campbell Barton [Mon, 25 Nov 2013 00:45:12 +0000 (11:45 +1100)]
User Defaults: Change user defaults based on decission by new UI team - T37518

Currently these changes are not saved in startup.blend to avoid bloating
our repo whenever we want to make minor changes.

7 years agoCode Cleanup: style comments
Campbell Barton [Mon, 25 Nov 2013 00:00:55 +0000 (11:00 +1100)]
Code Cleanup: style comments

7 years agoTransform: old todo, removing an orientation now checks all screens.
Campbell Barton [Sun, 24 Nov 2013 21:37:57 +0000 (08:37 +1100)]
Transform: old todo, removing an orientation now checks all screens.

also fix for using uninitialized matrix when an out-of-range index is
set for custom orientations.

7 years agoCode Cleanup: simplify transform orientation itemf.
Campbell Barton [Sun, 24 Nov 2013 21:15:19 +0000 (08:15 +1100)]
Code Cleanup: simplify transform orientation itemf.

7 years agoTransform: internal changes for orientations calculations.
Campbell Barton [Sun, 24 Nov 2013 20:49:49 +0000 (07:49 +1100)]
Transform: internal changes for orientations calculations.

- use (const char *) for the 'name'
- use bool where possible.
- remove unused return value for initTransInfo

7 years agoInterface: Remove one more name field, this time from Bone groups.
Thomas Dinges [Sun, 24 Nov 2013 21:35:55 +0000 (22:35 +0100)]
Interface: Remove one more name field, this time from Bone groups.

Patch by Sebastian K├Ânig.

7 years agoCycles: Add missing unregister for world ray visibility pointer.
Thomas Dinges [Sun, 24 Nov 2013 21:29:58 +0000 (22:29 +0100)]
Cycles: Add missing unregister for world ray visibility pointer.

7 years agoBlender Internal: Revert own previous commit for "Camera Data" node, correct GLSL...
IRIE Shinsuke [Sun, 24 Nov 2013 17:19:14 +0000 (02:19 +0900)]
Blender Internal: Revert own previous commit for "Camera Data" node, correct GLSL code for view vector output of "Geometry" node.

Revert 0c7d2de38219. The "Camera Data" node actually gives the location
of the point in camera coordinate system.  To obtain actual camera data,
we can use "Geometry" node instead.

Also modify the "Geometry" node, to produce correct view vector output
in orthographic GLSL preview.

7 years agoInterface: Remove some more name fields, not needed anymore with list rename.
Thomas Dinges [Sun, 24 Nov 2013 14:14:45 +0000 (15:14 +0100)]
Interface: Remove some more name fields, not needed anymore with list rename.

Also small alignment tweaks to Keying Sets UI, looks better when the 2 columns have the same alignment.

7 years agoUI List: remove separate name text fields.
Brecht Van Lommel [Sun, 24 Nov 2013 13:25:38 +0000 (14:25 +0100)]
UI List: remove separate name text fields.

It was never the intention to have these separate, and now that we can rename
directly in the list there is no more need for them.

7 years agoCommit D31 : Check if the user count needs to be decreased after adding a new BI...
Thomas Beck [Sun, 24 Nov 2013 12:54:47 +0000 (13:54 +0100)]
Commit D31 : Check if the user count needs to be decreased after adding a new BI image texture.

Fixes this problem:

*Go to the Blender (BI) textures tab and open an existing image.
*Hit on the plus sign next to datablock to create a new image.
*Complete the creation process and switch back to the first (loaded) image.
-> The image user count raises... will raise as often as you hit the plus sign

7 years agoUI List: renaming can now also be done with double click and ctrl+enter.
Brecht Van Lommel [Sun, 24 Nov 2013 11:57:57 +0000 (12:57 +0100)]
UI List: renaming can now also be done with double click and ctrl+enter.

This also fixes a bug where ctrl+click would not properly work when pressing
ctrl after moving the mouse over the text, it had to be pressed beforehand.

Hack is now to have LISTROW active, but when it detects any of these events
it will activate the text field that the mouse overlaps with instead.

Reviewed By: mont29

Differential Revision:

7 years agoCode Cleanup: use math functions and reduce View3d axis drawing into a loop
Campbell Barton [Sun, 24 Nov 2013 10:25:05 +0000 (21:25 +1100)]
Code Cleanup: use math functions and reduce View3d axis drawing into a loop

7 years agoBlender Internal: Fix shader node "Camera Data" that doesn't consider orthographic...
IRIE Shinsuke [Sun, 24 Nov 2013 09:49:26 +0000 (18:49 +0900)]
Blender Internal: Fix shader node "Camera Data" that doesn't consider orthographic view.

Note that Cycles still needs to fix.