blender.git
7 years agoFix OpenCL build error.
Brecht Van Lommel [Mon, 9 Sep 2013 12:15:16 +0000 (12:15 +0000)]
Fix OpenCL build error.

7 years agoFix libmv build error on OS X with Xcode 5.
Brecht Van Lommel [Mon, 9 Sep 2013 12:15:14 +0000 (12:15 +0000)]
Fix libmv build error on OS X with Xcode 5.

7 years agoCreate/delete keyframe for motion tracks in clip editor
Sergey Sharybin [Mon, 9 Sep 2013 11:55:52 +0000 (11:55 +0000)]
Create/delete keyframe for motion tracks in clip editor

Use I to create a new keyframe, Alt-I to remove the ketframe.

7 years agoAvoid using "bundle" in condole message print
Sergey Sharybin [Mon, 9 Sep 2013 11:40:41 +0000 (11:40 +0000)]
Avoid using "bundle" in condole message print

According to bf-vfx the word "bundle" was confusing
for artists.

7 years agoEnable vertex snapping to bundle positions
Sergey Sharybin [Mon, 9 Sep 2013 11:37:37 +0000 (11:37 +0000)]
Enable vertex snapping to bundle positions

This means it's possible now to snap stuff to
reconstructed tracks positions.

7 years agoFilm response curves implemented as a looks
Sergey Sharybin [Mon, 9 Sep 2013 09:48:26 +0000 (09:48 +0000)]
Film response curves implemented as a looks

This commit implement's OCIO's Looks idea which
is about applying some color correction on the
buffer before it get's affected by a display
transform.

This is mainly used to modify images in an
artistics way.

Currently we've got looks generated from film
response curves for all sorts of cameras.

Patch by both of me and Brecht.

7 years agofix [#36685] crash calculating tangent space data on degenerate geometry
Campbell Barton [Mon, 9 Sep 2013 09:33:34 +0000 (09:33 +0000)]
fix [#36685] crash calculating tangent space data on degenerate geometry

the error was that the range check was done on the float before converting to an int.
now convert to and int first and ensure a valid range on that.

7 years agoFix own mistake in one of previous commits
Sergey Sharybin [Mon, 9 Sep 2013 08:50:12 +0000 (08:50 +0000)]
Fix own mistake in one of previous commits

Was overriding list's link next/prev after it was
added to the list.

Also, no need to set next/prev to NULL when adding
a link to the list.

7 years agoFix #36663, Bone properties sometimes vanish when mousing into properties window.
Lukas Toenne [Mon, 9 Sep 2013 06:31:30 +0000 (06:31 +0000)]
Fix #36663, Bone properties sometimes vanish when mousing into properties window.
Active edit bone was cleared from armature after each file save, even though the edit data is not actually freed then. Without the active edit bone the poll functions for bone panels fail.

7 years agocorrect error in recent changes for building with openmp.
Campbell Barton [Mon, 9 Sep 2013 05:42:26 +0000 (05:42 +0000)]
correct error in recent changes for building with openmp.
rename DM_OMP_LIMIT to BKE_MESH_OMP_LIMIT and set to 0 when in debug mode, same for BM_OMP_LIMIT.

7 years agoenable strict flags for mesh_evaluate.c
Campbell Barton [Mon, 9 Sep 2013 03:12:23 +0000 (03:12 +0000)]
enable strict flags for mesh_evaluate.c

7 years agoremove use of BLI_array in BKE_mesh_mpoly_to_mface(). was over-allocating anyway...
Campbell Barton [Mon, 9 Sep 2013 02:16:22 +0000 (02:16 +0000)]
remove use of BLI_array in BKE_mesh_mpoly_to_mface(). was over-allocating anyway so just allocate the array once.

7 years agomove mesh evaluation functions (normal, mapping, smooth group... etc, calculations...
Campbell Barton [Mon, 9 Sep 2013 02:11:44 +0000 (02:11 +0000)]
move mesh evaluation functions (normal, mapping, smooth group... etc, calculations) into mesh_evaluate.c.
mesh.c was over 4k lines and complex functions mixed in with general library management.

7 years agoCode cleanup: Minor function capitalization fix
Joseph Mansfield [Mon, 9 Sep 2013 00:06:23 +0000 (00:06 +0000)]
Code cleanup: Minor function capitalization fix

7 years agoscrew tool used uninitialized normal to detect flipping direction.
Campbell Barton [Sun, 8 Sep 2013 22:52:48 +0000 (22:52 +0000)]
screw tool used uninitialized normal to detect flipping direction.

lookes like bug from bmesh merge, restored from 2.4x.

7 years agocode cleanup: warnings and redundant checks.
Campbell Barton [Sun, 8 Sep 2013 20:25:31 +0000 (20:25 +0000)]
code cleanup: warnings and redundant checks.

7 years agoCycles:
Thomas Dinges [Sun, 8 Sep 2013 18:59:39 +0000 (18:59 +0000)]
Cycles:
* Refactor PathState struct and functions into its own file.

7 years agoChanges to Freestyle default parameters:
Tamito Kajiyama [Sun, 8 Sep 2013 17:56:04 +0000 (17:56 +0000)]
Changes to Freestyle default parameters:
- The "Same Object" chaining option enabled (see follow-up discussions in Bug #36629).
- Sphere radius set to 0.1 (was 1.0 resulting in a longer computation time).

7 years agoCycles:
Thomas Dinges [Sun, 8 Sep 2013 17:20:47 +0000 (17:20 +0000)]
Cycles:
* Fix some compile errors, when building without Branched Path.

7 years agoSome fixes to tips...
Bastien Montagne [Sun, 8 Sep 2013 14:01:14 +0000 (14:01 +0000)]
Some fixes to tips...

7 years agoupdate bmesh doxy docs, remove double-promotion warnings in remove-strict-flags cmake...
Campbell Barton [Sun, 8 Sep 2013 06:55:58 +0000 (06:55 +0000)]
update bmesh doxy docs, remove double-promotion warnings in remove-strict-flags cmake macro.

7 years agocode cleanup: quiet warnings
Campbell Barton [Sun, 8 Sep 2013 06:05:42 +0000 (06:05 +0000)]
code cleanup: quiet warnings

7 years agopatch [#36633] Correct headers for renders saved as bitmap (.bmp) format.
Campbell Barton [Sun, 8 Sep 2013 03:39:45 +0000 (03:39 +0000)]
patch [#36633] Correct headers for renders saved as bitmap (.bmp) format.
by Brandon Northcutt (occamsdream)

Blender was writing invalid bitmaps that imagemagick and ffmpeg couldn't read.

7 years agoRemove unused constant.
Sergey Sharybin [Sat, 7 Sep 2013 19:44:01 +0000 (19:44 +0000)]
Remove unused constant.

7 years agoCode cleanup: us commented out arg names rather than leaving them if unused
Sergey Sharybin [Sat, 7 Sep 2013 19:41:46 +0000 (19:41 +0000)]
Code cleanup: us commented out arg names rather than leaving them if unused

7 years agoshrink-wrap constraint, improve and remove some limitations.
Campbell Barton [Sat, 7 Sep 2013 12:59:16 +0000 (12:59 +0000)]
shrink-wrap constraint, improve and remove some limitations.
- ability to change the space the axis is projected in (so you can choose worldspace or -space, was always local-space before).
- support projecting on a negative axis, without this some very simple clamping is not possible if the direction happened not to be positive.
- add distance limit (same as modifier), without this single meshes surrounding an object would make the constraint impossible to use in some cases (it would snap to the wrong side).

note: this removes the ability to project on multiple axes at once but this option only added up directions and didnt project on multiple axes as you might expect.

7 years agoUsual blenderplayer stub fix... ;)
Bastien Montagne [Sat, 7 Sep 2013 12:46:48 +0000 (12:46 +0000)]
Usual blenderplayer stub fix... ;)

7 years agouse strict flags for gridfill, use unsigned ints.
Campbell Barton [Sat, 7 Sep 2013 08:41:29 +0000 (08:41 +0000)]
use strict flags for gridfill, use unsigned ints.

7 years agochanges to grid fill
Campbell Barton [Sat, 7 Sep 2013 08:13:39 +0000 (08:13 +0000)]
changes to grid fill
- use 4 weights for vertex customdata blending (was previously only using 2)
- option for simple blending, which blends locations using weights too and doesn't attempt to maintain the shape,
  useful for flat surfaces or times when keeping the shape gives odd results.

7 years agomissing NULL check in recent commit, also skip some calculations in mean_value_half_t...
Campbell Barton [Sat, 7 Sep 2013 06:56:27 +0000 (06:56 +0000)]
missing NULL check in recent commit, also skip some calculations in mean_value_half_tan functions for degenerate cases.

7 years agoavoid divide by zeto in node preview drawing.
Campbell Barton [Sat, 7 Sep 2013 04:35:26 +0000 (04:35 +0000)]
avoid divide by zeto in node preview drawing.

7 years agorna wrap WM_cursor_warp
Campbell Barton [Fri, 6 Sep 2013 23:17:29 +0000 (23:17 +0000)]
rna wrap WM_cursor_warp

7 years agowrap cursor setting so python can make use of it, eg:
Campbell Barton [Fri, 6 Sep 2013 22:54:22 +0000 (22:54 +0000)]
wrap cursor setting so python can make use of it, eg:
- win.cursor_set('WAIT')
- win.cursor_modal_set('TEXT')
- win.cursor_modal_restore()

7 years agorename cursor setting functions to make modal set/restore more clearly related functions.
Campbell Barton [Fri, 6 Sep 2013 22:34:29 +0000 (22:34 +0000)]
rename cursor setting functions to make modal set/restore more clearly related functions.

7 years agoCode cleanup / Cycles:
Thomas Dinges [Fri, 6 Sep 2013 16:07:49 +0000 (16:07 +0000)]
Code cleanup / Cycles:
* Some cleanup for disabled Volume code.

7 years ago3D View: add shift+Z shortcut key to switch to Rendered draw mode.
Brecht Van Lommel [Fri, 6 Sep 2013 13:25:54 +0000 (13:25 +0000)]
3D View: add shift+Z shortcut key to switch to Rendered draw mode.

7 years agoCMake and scons update to detect OS X 10.9, cmake patch by Jake Kauth.
Brecht Van Lommel [Fri, 6 Sep 2013 12:43:27 +0000 (12:43 +0000)]
CMake and scons update to detect OS X 10.9, cmake patch by Jake Kauth.

7 years agoFix #36672: outliner allowed to toggle linked group visibility, which should not
Brecht Van Lommel [Fri, 6 Sep 2013 12:11:15 +0000 (12:11 +0000)]
Fix #36672: outliner allowed to toggle linked group visibility, which should not
be allowed because this is linked data, so any changes would not be saved.

7 years agoWoops, minr style changes are needed.
Sergey Sharybin [Fri, 6 Sep 2013 10:23:21 +0000 (10:23 +0000)]
Woops, minr style changes are needed.

7 years agoAvoid tracks reallocation and planes traversal in tracks_map_merge
Sergey Sharybin [Fri, 6 Sep 2013 10:21:56 +0000 (10:21 +0000)]
Avoid tracks reallocation and planes traversal in tracks_map_merge

Would save us a bit of time when doing 2D tracking.

7 years agoOn the second thought, no need to go between straight and premul when doing AA for...
Sergey Sharybin [Fri, 6 Sep 2013 09:56:04 +0000 (09:56 +0000)]
On the second thought, no need to go between straight and premul when doing AA for plane warp node

7 years agogrid-fill support for customdata, so filled areas have UV's, vertex colors etc interp...
Campbell Barton [Fri, 6 Sep 2013 06:48:17 +0000 (06:48 +0000)]
grid-fill support for customdata, so filled areas have UV's, vertex colors etc interpolated from the boundary.
also support cases where only some of the boundary edges have faces to interpolate from.

7 years agobmesh utility functions BM_face_as_array_loop_tri, BM_face_as_array_loop_quad
Campbell Barton [Fri, 6 Sep 2013 06:27:22 +0000 (06:27 +0000)]
bmesh utility functions BM_face_as_array_loop_tri, BM_face_as_array_loop_quad
also set attributes for the header and remove debug print in mask.c

7 years agofix for barycentric_weights_v2_quad() divide by zero when the location we're checking...
Campbell Barton [Fri, 6 Sep 2013 05:44:18 +0000 (05:44 +0000)]
fix for barycentric_weights_v2_quad() divide by zero when the location we're checking the weight of touches one of the weighting coords exactly.

7 years agoerror in recent gridfill commit, calculating span last failed.
Campbell Barton [Fri, 6 Sep 2013 02:59:25 +0000 (02:59 +0000)]
error in recent gridfill commit, calculating span last failed.

7 years agostarting blenderplater wasnt flipping use_deprecation_warnings when it should, also...
Campbell Barton [Fri, 6 Sep 2013 02:50:28 +0000 (02:50 +0000)]
starting blenderplater wasnt flipping use_deprecation_warnings when it should, also use values directly without converting to ints.

7 years agofix for bug in GHOST/SDL, events dont always have a window (which ghost needs).
Campbell Barton [Fri, 6 Sep 2013 01:40:20 +0000 (01:40 +0000)]
fix for bug in GHOST/SDL, events dont always have a window (which ghost needs).
fallback to the window with the active opengl context.

7 years agoBGE Fix: [#32360] Standalone Player switches not working
Daniel Stokes [Thu, 5 Sep 2013 23:09:14 +0000 (23:09 +0000)]
BGE Fix: [#32360] Standalone Player switches not working

Launching the player from the Blender UI now makes use of the "Debug Properties", "Framerate and Profile", and "Deprecation Warnings" options by setting the appropriate command line flags.

7 years agogrid-fill now detects non-square grids (this is what users would expect)
Campbell Barton [Thu, 5 Sep 2013 22:58:35 +0000 (22:58 +0000)]
grid-fill now detects non-square grids (this is what users would expect)

http://www.graphicall.org/ftp/ideasman42/gridfill_detect_nonsquare.png

7 years agosorting utility functions for simple cases - sorting pointers by float for example.
Campbell Barton [Thu, 5 Sep 2013 22:24:12 +0000 (22:24 +0000)]
sorting utility functions for simple cases - sorting pointers by float for example.

7 years agoFixing a problem with variance shadow maps blurring out on transparent receivers...
Daniel Stokes [Thu, 5 Sep 2013 22:05:52 +0000 (22:05 +0000)]
Fixing a problem with variance shadow maps blurring out on transparent receivers in the Game Engine reported by Sam Cameron on the IRC.

Also correcting some slight blurring over time by making sure the color buffer is cleared for shadows.

7 years agoalign BevelSort strict to save some bytes. use camel case.
Campbell Barton [Thu, 5 Sep 2013 21:45:05 +0000 (21:45 +0000)]
align BevelSort strict to save some bytes. use camel case.

7 years agofix [#36656] text editor undo error when undoing paste command
Justin Dailey [Thu, 5 Sep 2013 21:36:19 +0000 (21:36 +0000)]
fix [#36656] text editor undo error when undoing paste command

When tabs to spaces is enabled and a paste command is undone, the improper number of characters could get removed. Also fixed issue with shift + left/right only selecting a max of 1 character.

7 years agorename positive_mod to mod_i, make it work with nagative numbers (matching pythons...
Campbell Barton [Thu, 5 Sep 2013 20:54:32 +0000 (20:54 +0000)]
rename positive_mod to mod_i, make it work with nagative numbers (matching pythons modulo), and use in a few more places.

allow mesh-checker-deselect to have a negative offset.

7 years agocode cleanup:
Campbell Barton [Thu, 5 Sep 2013 19:56:49 +0000 (19:56 +0000)]
code cleanup:
- add missing headers from cmake (own omission)
- quiet rna_test.c unused define warnings.
- minor style edits
- spelling corrections and ignore all uppercase words with spell checking script.

7 years agoCleanup (mostly #defines -> enums, and bitflags using bitshift operator!).
Bastien Montagne [Thu, 5 Sep 2013 18:12:37 +0000 (18:12 +0000)]
Cleanup (mostly #defines -> enums, and bitflags using bitshift operator!).

7 years agoCode cleanup: use boolean instead of int for colormanagement
Sergey Sharybin [Thu, 5 Sep 2013 17:13:43 +0000 (17:13 +0000)]
Code cleanup: use boolean instead of int for colormanagement

7 years agoAdded a brie instruction how to build simple memtest
Sergey Sharybin [Thu, 5 Sep 2013 16:32:44 +0000 (16:32 +0000)]
Added a brie instruction how to build simple memtest

7 years agoGhost test application could be compiled again
Sergey Sharybin [Thu, 5 Sep 2013 16:22:07 +0000 (16:22 +0000)]
Ghost test application could be compiled again

Was an IRC request to have Ghost application up
and running for investigation purposes.

7 years agoFix metaball f-curves not showing up in graph editor.
Brecht Van Lommel [Thu, 5 Sep 2013 16:15:01 +0000 (16:15 +0000)]
Fix metaball f-curves not showing up in graph editor.

7 years agoFix #36649 and #36650: animation of freestyle line thickness and linestyle did
Brecht Van Lommel [Thu, 5 Sep 2013 15:47:52 +0000 (15:47 +0000)]
Fix #36649 and #36650: animation of freestyle line thickness and linestyle did
not render correct in animations, due to missing updates.

7 years agoExpose theme color of shadow UVs (These include UVs that are drawn in
Antony Riakiotakis [Thu, 5 Sep 2013 15:09:10 +0000 (15:09 +0000)]
Expose theme color of shadow UVs (These include UVs that are drawn in
texture paint modes and as modified mesh uvs overlay) and UVs of other
objects.

7 years agoCtr-Alt-F radial control operator for texture painting, controls the
Antony Riakiotakis [Thu, 5 Sep 2013 14:02:59 +0000 (14:02 +0000)]
Ctr-Alt-F radial control operator for texture painting, controls the
rotation of the brush mask texture.

Unfortunately secondary path does not work here because we do not have a
permanent switch to choose between primary-secondary brush texture. Use
operator property instead.

7 years agoCode cleanup: use boolean instead of int for space_clip
Sergey Sharybin [Thu, 5 Sep 2013 13:37:53 +0000 (13:37 +0000)]
Code cleanup: use boolean instead of int for space_clip

7 years agoCode cleanup: get rid of crappy height cast to double
Sergey Sharybin [Thu, 5 Sep 2013 13:37:46 +0000 (13:37 +0000)]
Code cleanup: get rid of crappy height cast to double

7 years agoCode cleanup: use boolean instead of int for tracking API
Sergey Sharybin [Thu, 5 Sep 2013 13:37:36 +0000 (13:37 +0000)]
Code cleanup: use boolean instead of int for tracking API

7 years agoCompositor cleanup: Merge conversion operations into a single file (see also r59820).
Lukas Toenne [Thu, 5 Sep 2013 13:32:14 +0000 (13:32 +0000)]
Compositor cleanup: Merge conversion operations into a single file (see also r59820).

Most convert operations can share a common base class with a single socket reader (except channel separate/combine nodes).

7 years agoTidy up paint options, patch by Sebastian Koenig, with minor changes
Antony Riakiotakis [Thu, 5 Sep 2013 13:15:29 +0000 (13:15 +0000)]
Tidy up paint options, patch by Sebastian Koenig, with minor changes
(ommit texture paint changes, they made the interface more difficult to
discern).

Also, move stroke input samples to stroke panel

7 years agoBugfix #35920
Ton Roosendaal [Thu, 5 Sep 2013 13:03:03 +0000 (13:03 +0000)]
Bugfix #35920

Adding a new node in Node Editor failed for "High DPI" (Only Mac retina now).

- Py script for adding nodes was doing dpi magic, which it shouldn't. It has
  been replaced with a (temporary) API call to set the correct cursor location.
  (Thanks to Lukas T for helping here)

- The SpaceNode->cursor[2] property now is *only* storing the coordinate
  in "adding new node space". Use of this has been removed from the code where
  possible, with as only exception the code to draw noodles while adding them.

Special coder note: Nodes should respect the DPI value, and draw larger with
larger buttons if you increase this size. The hack here is that this can only
work nice if also the node positions are scaled accordingly.

A better fix could be to check on scaling the node view itself for it. That
then would also remove this Python API call that was added in this commit.
However, that again might fight with how buttons layout code works now...
needs some careful checking.

7 years agoRemoved unused variables used only in BLI_assert, this triggers compiler warning...
Lukas Toenne [Thu, 5 Sep 2013 12:10:49 +0000 (12:10 +0000)]
Removed unused variables used only in BLI_assert, this triggers compiler warning in release builds.

7 years agoadd function for rotating linked list so at item is last.
Campbell Barton [Thu, 5 Sep 2013 11:40:38 +0000 (11:40 +0000)]
add function for rotating linked list so at item is last.

7 years agogrid-fill can now fill a single, closed edge loop.
Campbell Barton [Thu, 5 Sep 2013 11:07:49 +0000 (11:07 +0000)]
grid-fill can now fill a single, closed edge loop.
the active vertex is used when possible, else the corner vertex is detected.

this should replace the grid-fill-manager addon by Alexander Nedovizin.

7 years agoUpdate Ceres to 1.7.0 release
Sergey Sharybin [Thu, 5 Sep 2013 10:48:44 +0000 (10:48 +0000)]
Update Ceres to 1.7.0 release

For Blender this release is interesting because of:

- Covariance estimation (not used in Blender yet, but now we
  might use it for keyframe selection instead of havingown
  implementation).

- Significant performance improvements to loss function and
  dense linear solvers and automatic differentiation.

  Unfortunately, didn't notice speedup of tracking itself,
  but camera reconstruction now happens around 2 times faster
  on my laptop,

- Better inner iteration step acceptance and stopping.

7 years agoFix #36113, Translate's wrapping has 1 pixel gap in X and Y after scale node.
Lukas Toenne [Thu, 5 Sep 2013 10:45:21 +0000 (10:45 +0000)]
Fix #36113, Translate's wrapping has 1 pixel gap in X and Y after scale node.
The issue with wrapping is that it requires correct interpolation of the border pixels. Since interpolation is done at the far left end of the node tree in buffer/image/etc read operations, the wrapping
setting can not be used directly in those operations (otherwise in-line translate operations would cause conflicts). To make wrapping work correctly we need to add a buffer in front of the translate
operation, which can then be interpolated correctly based on wrapping. The WrapOperation becomes a variant of ReadBufferOperation, which uses its wrapping setting to determine the correct "extend" mode
for interpolation of the buffer.

7 years agoExtend mode option for MemoryBuffer reading in compositor. This will allow proper...
Lukas Toenne [Thu, 5 Sep 2013 10:45:19 +0000 (10:45 +0000)]
Extend mode option for MemoryBuffer reading in compositor. This will allow proper interpolation of pixel values when using wrapping in the Translate node. Implemented in inline functions, so won't cause
overhead if constant values are passed (as happens with most calls using the default argument).

7 years agoadd positive_mod() utility function.
Campbell Barton [Thu, 5 Sep 2013 10:12:00 +0000 (10:12 +0000)]
add positive_mod() utility function.

7 years agoMerge some operations into a single file
Sergey Sharybin [Thu, 5 Sep 2013 09:39:38 +0000 (09:39 +0000)]
Merge some operations into a single file

This merges all mix operations into a COM_MixBaseOperation
(naming could be better, but this way it corresponds to what's
going on with math operations.

Same was done with RenderLayers operations.

Overall this gives 20% of bf_compositor library compilation
time decrease. And it was rather annoying to have tens of
files with just a single-line constructors anyway.

TODO:
- All Convert operations could also be merged into a single file,
  but that would require adding some ConvertBaseOperation to
  reduce code duplication (ideally). Leaving it unchanged for now.

- Some operations' headers seems to be wrongly including MixOperation
  header, they need to include NodeOperation instead it seems.

  This is rather harmless, but would be nice to doublecheck on this
  eventually.

7 years agofix for error in bmesh api, selection setting needs to go via BM_elem_select_set...
Campbell Barton [Thu, 5 Sep 2013 08:38:06 +0000 (08:38 +0000)]
fix for error in bmesh api, selection setting needs to go via BM_elem_select_set else the total selected elements count isn't mantained.

7 years agoApply patch [#36601].
Nathan Letwory [Thu, 5 Sep 2013 06:58:27 +0000 (06:58 +0000)]
Apply patch [#36601].
Submitted by Saurabh Wankhade (sauraedron).

This patch adds camera shift and dof export and import in a Blender profile.

7 years agosimplify idprop reallocation with MEM_recallocN
Campbell Barton [Thu, 5 Sep 2013 04:26:08 +0000 (04:26 +0000)]
simplify idprop reallocation with MEM_recallocN

7 years agoBGE: Removing an unused rendertools argument from BL_ConvertActuators().
Mitchell Stokes [Thu, 5 Sep 2013 04:19:05 +0000 (04:19 +0000)]
BGE: Removing an unused rendertools argument from BL_ConvertActuators().

7 years agoFix broken GLSL shader after recent changes.
Brecht Van Lommel [Thu, 5 Sep 2013 00:37:10 +0000 (00:37 +0000)]
Fix broken GLSL shader after recent changes.

7 years agoFind missing files now keeps relative paths relative instead of turning them
Brecht Van Lommel [Thu, 5 Sep 2013 00:37:06 +0000 (00:37 +0000)]
Find missing files now keeps relative paths relative instead of turning them
into absolute paths.

7 years agoremove freebsd7 config. its fairly old and not maintained.
Campbell Barton [Wed, 4 Sep 2013 23:44:41 +0000 (23:44 +0000)]
remove freebsd7 config. its fairly old and not maintained.

7 years agofix [#36459] Official blenderplayer can not go fullscreen on Linux
Campbell Barton [Wed, 4 Sep 2013 23:43:25 +0000 (23:43 +0000)]
fix [#36459] Official blenderplayer can not go fullscreen on Linux
use modified patch from Alex Fraser (z0r)

7 years agoBGE: Removing the touch sensor and converting all touch sensors to collision sensors.
Mitchell Stokes [Wed, 4 Sep 2013 22:14:14 +0000 (22:14 +0000)]
BGE: Removing the touch sensor and converting all touch sensors to collision sensors.

7 years agoGhost_SDL: Fixing the DEF_CURSOR macro so it works in release builds.
Mitchell Stokes [Wed, 4 Sep 2013 21:57:14 +0000 (21:57 +0000)]
Ghost_SDL: Fixing the DEF_CURSOR macro so it works in release builds.

7 years agoremove error return value from BLI_bvhtree_insert, no callers were using.
Campbell Barton [Wed, 4 Sep 2013 20:33:50 +0000 (20:33 +0000)]
remove error return value from BLI_bvhtree_insert, no callers were using.
in the case of an error - assert, rather then fail silently since it wont be working as expected anyway.

7 years agouse strict flags for kdopbvh, also assert when invalid treetype is passed, rather...
Campbell Barton [Wed, 4 Sep 2013 20:03:33 +0000 (20:03 +0000)]
use strict flags for kdopbvh, also assert when invalid treetype is passed, rather then failing silently.

7 years agoCode cleanup / Cycles:
Thomas Dinges [Wed, 4 Sep 2013 16:24:58 +0000 (16:24 +0000)]
Code cleanup / Cycles:
* Removed unused member of the device_memory template.

7 years agoCode cleanup / Cycles:
Thomas Dinges [Wed, 4 Sep 2013 16:11:21 +0000 (16:11 +0000)]
Code cleanup / Cycles:
* Avoid special code, when Subsurface is enabled.
Ideally we should only use the function, and get rid of the extra duplicate, but this is slower on CUDA.

7 years agoCompile fix / Cycles:
Thomas Dinges [Wed, 4 Sep 2013 13:37:35 +0000 (13:37 +0000)]
Compile fix / Cycles:
* 'T' is now also used for the Subsurface closure.

7 years agoAdd new cursor types to data handling to account for Intuos 4 device (pen and eraser).
Nathan Letwory [Wed, 4 Sep 2013 12:10:02 +0000 (12:10 +0000)]
Add new cursor types to data handling to account for Intuos 4 device (pen and eraser).

Thanks to Ayden Polat for helping to find out the cursor type codes.

7 years agofix for building on msvc
Campbell Barton [Wed, 4 Sep 2013 06:50:15 +0000 (06:50 +0000)]
fix for building on msvc

7 years agobetter fix for r59794, register a gesture when the mouse goes outside the actionzone.
Campbell Barton [Wed, 4 Sep 2013 05:25:29 +0000 (05:25 +0000)]
better fix for r59794, register a gesture when the mouse goes outside the actionzone.

7 years agofix for window join action being interpreted as a split.
Campbell Barton [Wed, 4 Sep 2013 05:06:38 +0000 (05:06 +0000)]
fix for window join action being interpreted as a split.

The limit for dragging a gesture on an area corner was smaller then the area hot-spot,
so you could click on the right-most side of the bottom-left corner, drag left - pass the gesture threshold and still be in the same area. so a motion intended as a join would register as a split.
Happened more with high DPI values. fix by ensuring the drag limit is always higher then the hotspot.

7 years agofix for glitch splitting horizontally with a high dpi, could make areas smaller then...
Campbell Barton [Wed, 4 Sep 2013 03:52:25 +0000 (03:52 +0000)]
fix for glitch splitting horizontally with a high dpi, could make areas smaller then the header which pushed the original view out of the screen.

7 years agostyle cleanup
Campbell Barton [Wed, 4 Sep 2013 03:30:41 +0000 (03:30 +0000)]
style cleanup

7 years agotweaks to fly mode
Campbell Barton [Wed, 4 Sep 2013 01:49:20 +0000 (01:49 +0000)]
tweaks to fly mode
- rotating the view is faster.
- arrow keys work (was only wasd-rf before)
- when stationary wheel or +/- will set z direction (so mouse wheel always sets the fly axis back to z)

7 years agodebug option for modifier stack calculation USE_MODIFIER_VALIDATE,
Campbell Barton [Wed, 4 Sep 2013 01:29:34 +0000 (01:29 +0000)]
debug option for modifier stack calculation USE_MODIFIER_VALIDATE,
checks that every modifier gives a valid mesh (very slow) - so off by default even in debug mode.