Commit Graph

49894 Commits

Author SHA1 Message Date
Sergey Sharybin
24b27b0474 Create/delete keyframe for motion tracks in clip editor
Use I to create a new keyframe, Alt-I to remove the ketframe.
2013-09-09 11:55:52 +00:00
Sergey Sharybin
6217a080db Avoid using "bundle" in condole message print
According to bf-vfx the word "bundle" was confusing
for artists.
2013-09-09 11:40:41 +00:00
Sergey Sharybin
ea94411db6 Enable vertex snapping to bundle positions
This means it's possible now to snap stuff to
reconstructed tracks positions.
2013-09-09 11:37:37 +00:00
Sergey Sharybin
cf8cddf07a 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.
2013-09-09 09:48:26 +00:00
Campbell Barton
0392acc607 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.
2013-09-09 09:33:34 +00:00
Sergey Sharybin
35e3111475 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.
2013-09-09 08:50:12 +00:00
Lukas Toenne
854f99b31e 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.
2013-09-09 06:31:30 +00:00
Campbell Barton
00bd7da674 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.
2013-09-09 05:42:26 +00:00
Campbell Barton
66efedd096 enable strict flags for mesh_evaluate.c 2013-09-09 03:12:23 +00:00
Campbell Barton
40b6532ec8 remove use of BLI_array in BKE_mesh_mpoly_to_mface(). was over-allocating anyway so just allocate the array once. 2013-09-09 02:16:22 +00:00
Campbell Barton
2646bbdccb 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.
2013-09-09 02:11:44 +00:00
Joseph Mansfield
9707bdfe75 Code cleanup: Minor function capitalization fix 2013-09-09 00:06:23 +00:00
Campbell Barton
fdce634310 screw tool used uninitialized normal to detect flipping direction.
lookes like bug from bmesh merge, restored from 2.4x.
2013-09-08 22:52:48 +00:00
Campbell Barton
108a4c41c4 code cleanup: warnings and redundant checks. 2013-09-08 20:25:31 +00:00
Thomas Dinges
5a6bcd1d42 Cycles:
* Refactor PathState struct and functions into its own file.
2013-09-08 18:59:39 +00:00
Tamito Kajiyama
74a4ac85f4 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).
2013-09-08 17:56:04 +00:00
Thomas Dinges
3b9edee711 Cycles:
* Fix some compile errors, when building without Branched Path.
2013-09-08 17:20:47 +00:00
Bastien Montagne
470dc6de4b Some fixes to tips... 2013-09-08 14:01:14 +00:00
Campbell Barton
648f2102d8 update bmesh doxy docs, remove double-promotion warnings in remove-strict-flags cmake macro. 2013-09-08 06:55:58 +00:00
Campbell Barton
3527d2fb27 code cleanup: quiet warnings 2013-09-08 06:05:42 +00:00
Campbell Barton
385cbb657d 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.
2013-09-08 03:39:45 +00:00
Sergey Sharybin
ba95dc859d Remove unused constant. 2013-09-07 19:44:01 +00:00
Sergey Sharybin
f00349293f Code cleanup: us commented out arg names rather than leaving them if unused 2013-09-07 19:41:46 +00:00
Campbell Barton
e492fad130 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.
2013-09-07 12:59:16 +00:00
Bastien Montagne
3da3c36644 Usual blenderplayer stub fix... ;) 2013-09-07 12:46:48 +00:00
Campbell Barton
4f369c1e2d use strict flags for gridfill, use unsigned ints. 2013-09-07 08:41:29 +00:00
Campbell Barton
0423d2b252 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.
2013-09-07 08:13:39 +00:00
Campbell Barton
65fcc29d0c missing NULL check in recent commit, also skip some calculations in mean_value_half_tan functions for degenerate cases. 2013-09-07 06:56:27 +00:00
Campbell Barton
7e068a16f0 avoid divide by zeto in node preview drawing. 2013-09-07 04:35:26 +00:00
Campbell Barton
ec986b2c34 rna wrap WM_cursor_warp 2013-09-06 23:17:29 +00:00
Campbell Barton
2c688788e6 wrap cursor setting so python can make use of it, eg:
- win.cursor_set('WAIT')
- win.cursor_modal_set('TEXT')
- win.cursor_modal_restore()
2013-09-06 22:54:22 +00:00
Campbell Barton
35cd649c66 rename cursor setting functions to make modal set/restore more clearly related functions. 2013-09-06 22:34:29 +00:00
Thomas Dinges
da2c76d9f7 Code cleanup / Cycles:
* Some cleanup for disabled Volume code.
2013-09-06 16:07:49 +00:00
Brecht Van Lommel
f9c901e84d 3D View: add shift+Z shortcut key to switch to Rendered draw mode. 2013-09-06 13:25:54 +00:00
Brecht Van Lommel
f634509dc2 CMake and scons update to detect OS X 10.9, cmake patch by Jake Kauth. 2013-09-06 12:43:27 +00:00
Brecht Van Lommel
0fd100edd4 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.
2013-09-06 12:11:15 +00:00
Sergey Sharybin
7d416b8d79 Woops, minr style changes are needed. 2013-09-06 10:23:21 +00:00
Sergey Sharybin
1718c002d6 Avoid tracks reallocation and planes traversal in tracks_map_merge
Would save us a bit of time when doing 2D tracking.
2013-09-06 10:21:56 +00:00
Sergey Sharybin
567e3b47cc On the second thought, no need to go between straight and premul when doing AA for plane warp node 2013-09-06 09:56:04 +00:00
Campbell Barton
63ade11564 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.
2013-09-06 06:48:17 +00:00
Campbell Barton
6fdb2ed861 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
2013-09-06 06:27:22 +00:00
Campbell Barton
6439ae9d51 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. 2013-09-06 05:44:18 +00:00
Campbell Barton
e045e324a4 error in recent gridfill commit, calculating span last failed. 2013-09-06 02:59:25 +00:00
Campbell Barton
fbeeec7bd0 starting blenderplater wasnt flipping use_deprecation_warnings when it should, also use values directly without converting to ints. 2013-09-06 02:50:28 +00:00
Campbell Barton
4320a7c9df fix for bug in GHOST/SDL, events dont always have a window (which ghost needs).
fallback to the window with the active opengl context.
2013-09-06 01:40:20 +00:00
Daniel Stokes
8f3b4a77ef 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.
2013-09-05 23:09:14 +00:00
Campbell Barton
ac60079ef2 grid-fill now detects non-square grids (this is what users would expect)
http://www.graphicall.org/ftp/ideasman42/gridfill_detect_nonsquare.png
2013-09-05 22:58:35 +00:00
Campbell Barton
7a38fe97fd sorting utility functions for simple cases - sorting pointers by float for example. 2013-09-05 22:24:12 +00:00
Daniel Stokes
6cc3aec8bc 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.
2013-09-05 22:05:52 +00:00
Campbell Barton
677b6972b5 align BevelSort strict to save some bytes. use camel case. 2013-09-05 21:45:05 +00:00