Commit Graph

50914 Commits

Author SHA1 Message Date
Campbell Barton
96cd8b9401 style cleanup 2013-10-29 03:04:46 +00:00
Dalai Felinto
a7b44c82e5 Triangulate Modifier: using different ngon and quad methods
Quads: Beauty, Fixed, Fixed Alternate, Shortest Diagonal
Ngons: Beauty, Scanfill

* Shortest Diagonal is the default method in the modifier (popular
  elsewhere), but beauty is the default in Ctrl+T).

* Remove the need for output slot and beauty operator to be called
after Clt+T

Patch with collaborations and reviewed by Campbell Barton
2013-10-29 02:42:51 +00:00
Keir Mierle
427844c28d Eagerly attempt to refine a track before doing a brute search
Before the refinement phase of tracking, a brute force SAD search
is run across the search area. This works well but is slow;
especially if the guess for the track's location is accurate.

This patch runs a refinement phase before running a brute force
search, hoping that the guessed position (in x2, y2) is close to
the best answer. If it is, then no brute search is done. If it is
not, then a normal brute force search followed by refinement is
done.

In some cases this may produce worse tracks than before; the
regressions will need investigation. The predictive motion model
(to be implemented) will reduce the probability of that happening.
2013-10-29 01:06:50 +00:00
Campbell Barton
5f05de0c1e patch [#37218] Split operator for armatures
from Henrik Aarnio (hjaarnio)
2013-10-29 00:10:03 +00:00
Campbell Barton
41587de016 patch [#37217] Make WM_gesture_lines draw the lasso unfilled. (Adding reroute nodes, cutting node links)
by Henrik Aarnio (hjaarnio)
2013-10-29 00:05:03 +00:00
Campbell Barton
22396540d7 patch [#37219] RenderParts.partsdone is not a boolean, but a counter
from Lawrence D'Oliveiro (ldo)
2013-10-28 23:59:28 +00:00
Campbell Barton
0177d555c7 patch [#37229] Save process slot in blender-softwaregl script
from Lawrence D'Oliveiro (ldo)
2013-10-28 23:48:53 +00:00
Campbell Barton
c11afb4a81 patch [#37231] Bone fill sets bone to connected, even if neither of its points is at the tail point of points it's connecting.
from Henrik Aarnio (hjaarnio)
2013-10-28 23:45:36 +00:00
Campbell Barton
f0780904bc correct error in recent commit. 2013-10-28 23:35:25 +00:00
Sergey Sharybin
4ab478ffe1 Make it possible to track specified clip
Added a property to track_marker operator to be
able to render clip which name was passed to the
operator instead of clip from current clip editor
context.

Very much useful for automatic tests.
2013-10-28 21:49:49 +00:00
Daniel Genrich
421346cefe Fix compile error using Visual Studio 2012. 2013-10-28 19:43:53 +00:00
Brecht Van Lommel
70e9191e15 Fix #37184: film exposure + transparency not working well in cycles viewport. 2013-10-28 19:01:01 +00:00
Keir Mierle
d10abe6d4d Fix bug where libmv tracking incorrectly succeeds on failure
Before this patch, if Ceres returned USER_SUCCESS indicating that
Ceres was only changing the tracked quad slightly between
iterations (indicating convergence), no final correlation check
was done. This leads to incorrectly returning that the tracking
was successful, when it actually failed.
2013-10-28 18:34:19 +00:00
Jens Verwiebe
869031f6be OSX/codesigning: Instructions on codesigning in case i get lost :-P 2013-10-28 18:13:27 +00:00
Jens Verwiebe
4ef6f82a10 OSX/codesigning: add the signing rules used for releases 2013-10-28 17:08:07 +00:00
Sergey Sharybin
ecf2f55667 Fix #37187: ghost/test/multitest fails to build
Commited patch provided by Lawrence D'Oliveiro, thanks.
2013-10-28 12:54:18 +00:00
Sergey Sharybin
e667f12783 Fix #37221: Multilayer EXR inputs generate pink frame/last displayed frame when using an image sequence offset
generally speaking, if multilayer image fails to load for current
frame doesn't mean anything bad. It might be used to make it so
image sequence is being alpha-overed somewhere in the middle of
scene time.

Made it so if the whole file fails to load, image node will
deliver black transparent color, the same what happens for
regular (non-multilayer images).

Also needed to tweak code in load_multilayer_sequwnce to make
sure no cached frames are pointing to a freed memory.
2013-10-28 12:16:17 +00:00
Campbell Barton
3264461598 move bmesh array lookup data and utility functions from editmesh into bmesh,
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces.

developers note:
- EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free
- EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index
- EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free
- ED_uv_element_get -> BM_uv_element_get
2013-10-28 02:05:33 +00:00
Campbell Barton
0773fd7b78 fix for decimator editing the data it loops over in an unsupported way. 2013-10-28 01:58:05 +00:00
Sergej Reich
7d66d3298c cmake: bsp needs moto 2013-10-27 13:58:13 +00:00
Andrew Hale
7be81ffaf5 Expose MVertSkin customdata layer in Python. This allows scripts to change parameters which are used by the skin modifier (such as radius) 2013-10-27 12:16:45 +00:00
Campbell Barton
dee671276d rename BM_vert_at_index -> BM_vert_at_index_find (since this searches the mempool).
needed for other changes - coming.
2013-10-27 10:01:35 +00:00
Bastien Montagne
e293a0b153 Update OpenEXR to 2.0.1, this seems to fix some issues.
I *really* have to go back over all our patches in this script and try to port them back in respective projects!
2013-10-27 08:19:08 +00:00
Antony Riakiotakis
aed672ac1e Border select for sculpting, using B shortcut, warmup for more advanced
masking, like lasso selection.
2013-10-27 03:31:19 +00:00
Campbell Barton
01da2c0e53 fix [#37195] particles crash with viewport render 2013-10-26 22:38:12 +00:00
Sergey Sharybin
9f32e83175 Weighted tracks
Added a weight slider to track which defines
how much particular track affects in a final
reconstruction. This weight is for sure
animateable.

Currently it affects on BA step only which in
most cases will work just fine.

The usecase of this slider is to have it set
to 1.0 most of the time where the track is
good, but blend it's weight down to 0 when
tracker looses the track. This will prevent
camera from jump.

Tutorial is to be done by Sebastian.
2013-10-26 13:22:38 +00:00
Campbell Barton
4a15df1571 remove null checks for macro definitions, if these fail then something is broken elsewhere, better not fail silently. 2013-10-26 08:01:33 +00:00
Campbell Barton
a4203573cb fix for metaball editmode duplicate with PET 2013-10-26 06:48:56 +00:00
Campbell Barton
3c1dce0d9b fix for BM_faces_join_pair() making the assumption that only the 2 faces use an edge, face winding could be flipped incorrectly.
also remove search for shared edges - all callers pass the edge in.
2013-10-26 05:05:37 +00:00
Campbell Barton
ff7dbdbaee rename give_cursor to ED_view3d_cursor3d_get 2013-10-26 04:07:18 +00:00
Campbell Barton
b461cc9cd4 code cleanup: merge doxygen comments into C source. 2013-10-26 03:56:32 +00:00
Campbell Barton
7f9cdae280 fix for outline width theme option being ignored for non mesh object types. 2013-10-26 02:14:07 +00:00
Campbell Barton
48c1e0c0fc spelling: use American spelling for canceled 2013-10-26 01:06:19 +00:00
Campbell Barton
00160d4a1b remove unused var 2013-10-26 01:03:16 +00:00
Campbell Barton
2b2c03aa7c fix for UI glitch with HSVCUBE color picker, color was noticeably not very smooth or aligned.
- HSV values need to be shifted.
- drawing the quads wasnt aligned well to colors.
2013-10-25 23:50:55 +00:00
Campbell Barton
bb66da5e02 holding ctrl now snaps the hue for color wheel and hsvcube.
this makes it easy to set primary colors without using RGB sliders.
2013-10-25 23:05:34 +00:00
Campbell Barton
a304b5a988 correct typo 2013-10-25 22:12:05 +00:00
Campbell Barton
2a387436bb code cleanup: use bool for shift arg, order args more consistently between functions. 2013-10-25 22:09:31 +00:00
Jonathan Williamson
b7f0a1fabe Updating tooltip for Fill Holes "Sides" option.
This makes the tooltip much more descriptive to tell the user what the setting does. Suggestion by Thomas Beck and bcon13.
2013-10-25 14:12:22 +00:00
Sergej Reich
826713809e rigidbody: Add "Apply Transformation" button
This is just the "Apply Visual Transform" operator.
It's very usefull for rigid body simulations but hard to find and users
usually don't know about it/don't know it's usefull to apply rigid body
transformations.
It seems bit out of place (especially the tooltip) so we might need to
do a bit more here.
2013-10-25 11:54:10 +00:00
Sergej Reich
692693b92f Remove duplicate cmake enries in game engine and compositor 2013-10-25 11:00:16 +00:00
Campbell Barton
03aa664b23 replace snap values with enum and bool depending on use (it wasn't clear which was used when both were int's).
Ctrl+Shift now snaps normal button to 15deg increments.
2013-10-25 07:47:08 +00:00
Campbell Barton
d859bcf3ad patch [#37197] angle snapping for NORMAL button
from Philipp Oeser (lichtwerk) with minor edits.
2013-10-25 06:59:57 +00:00
Campbell Barton
5b6e6b7285 code cleanup and add mball select similar into the menu 2013-10-25 06:22:15 +00:00
Campbell Barton
93edbf3510 add check for cmake that source files are not included multiple times 2013-10-25 06:21:38 +00:00
Campbell Barton
4aa02d8038 patch [#37188] Remove filename entry specified twice
from Lawrence D'Oliveiro (ldo)
2013-10-25 05:21:17 +00:00
Campbell Barton
d78899dafb patch [#30689] select similar for metaballs
from Cyrille Ruggero (kalado) with some edits.
2013-10-25 05:17:55 +00:00
Sergej Reich
451b60f1a3 Fix building with scons
Can't actually test here so hope this is enough.
2013-10-25 03:56:17 +00:00
Sergej Reich
92729bc776 rigidbody: Use bullet's own fixed constraint
Should be no functional changes.
2013-10-25 03:45:00 +00:00
Sergej Reich
472a021aca bullet: Update to version 2.82 (bullet revision 2705)
Remove patch that has been applied upstream.

Fixes several bugs.
2013-10-25 03:43:20 +00:00