Commit Graph

49420 Commits

Author SHA1 Message Date
Sergey Sharybin
c8b863288f Merging r46096 through r46110 from trunk into soc-2011-tomato 2012-04-30 12:09:25 +00:00
Sergey Sharybin
0974368b32 Tomato: versioning patch for current files which have got curves view open 2012-04-30 11:31:22 +00:00
Campbell Barton
5255c23cb7 code cleanup: clang warning - use of a pointer before checking its NULL. 2012-04-30 11:08:53 +00:00
Campbell Barton
8f3ed0501e code cleanup: quiet clang warnings, these would likely never but wont hurt to quiet them, 2012-04-30 10:47:32 +00:00
Campbell Barton
5979893711 style cleanup: edits to convex hull. 2012-04-30 10:39:35 +00:00
Sergey Sharybin
288a734b6f Tomato: disable texture buffers for intel cards due to they're constantly blinking with black frames
Also remove unused code.
2012-04-30 10:04:20 +00:00
Campbell Barton
d113fd8ab7 WITH_PYTHON_INSTALL_NUMPY option for unix/cmake, just copies from site-packages. 2012-04-30 09:38:32 +00:00
Campbell Barton
60c9addf79 - improve select grouped prefix/suffix from recent patch
- added select similar direction (Y axis)
2012-04-30 08:24:44 +00:00
Sergey Sharybin
9151d46d7d Tomato: initial commit of mask editing tools into SVN
- Added new dtaablock called Mask which might be re-used in any area.
  Currently editing of masks happens in clip editor and they might be used in
  compositor nodes only.
- Added new mode to clip clip editor to interact with masks.
  Implemented basic tools to create shapes, splines and points. Also implemented
  idea of UW points for feather which means feather points are have got U
  coordinate along spline (which is measured from 0 to 1) and W is it's weight
  meaning distance from main spline.
- Spline points might be parented to movie tracks.
  Interface for this isn't best yet.
- Rasterisaztion of masks happens in compositor node (Input -> Mask)
  Input image of this ode is used as reference for mask resolution.
  Currently all splines of all shapes are rasterizing independently which
  means shapes with holes are not supported.
  Also feather rasterization is not implemented.

  Rasterized was implemented by Pete Larbell, thanks!

Do not consider this is something finished, there's still lots of things to
be done (especially from interface and usability points of view).
2012-04-30 07:43:21 +00:00
Bastien Montagne
238af29b39 Adding Hungarian language. 2012-04-30 07:43:04 +00:00
Sergey Sharybin
16f06d4fe4 Merging r46074 through r46095 from trunk into soc-2011-tomato 2012-04-30 06:55:03 +00:00
Thomas Dinges
cf0a7e2a4d Sequencer Preview Area:
* Fixed missing update, when changing render resolution.
2012-04-29 22:25:31 +00:00
Robert Holcomb
502e594abb Fixed UI bug in distance, chroma, and difference nodes that caused the threshold to be limited by the falloff value. These should be independent. Cleaned up how falloff works in keying nodes. 2012-04-29 20:07:29 +00:00
Nicholas Bishop
f7ec94cbc6 Add per-brush weight field.
Patch from Jaggz H, thanks!

[#31096] Weight-painting: Brush-specific weights
http://projects.blender.org/tracker/?func=detail&atid=127&aid=31096&group_id=9

Each brush's weight can now be set individually, can also enable
unified setting (same as size and strength have.)

Added readfile code to the patch: subversion bumped to 1, brushes get
default weight of 0.5, unified weight enabled by default and value
from old vgroup_weight field.
2012-04-29 20:04:25 +00:00
Sergey Sharybin
ebe4ffa8de Tomato: refactoring of dopesheet to allow different sort orders in list of channels
Store list of channels displaying in dopesheet separately from list of tracks.
This allows to re-sort channels in dopesheet independently from list of all
tracks (currently only alphabetic sorting is implemented).

This also allows to cache assorted information (like tracked segments of track)
but currently such a things are not bottlenecks and could be done after merge
dopesheet view into trunk.

TODO:
- Still have some deadlocks when drawing selected channels.
  Skipping channel background or keyframe drawing helps here but
  this need to be resolved.
- Bump sub-version and wrote code needed to convert pre-dopesheet interface
  with opened curve view displaying properly.
- Probably it'll worth caching tracked segments.
2012-04-29 20:04:12 +00:00
Campbell Barton
44d81faa43 patch [#30821] Wiki Quick Hack: Text editor duplicate line
from Justin Dailey (dail)

made this Ctrl+D, to replace Delete.
2012-04-29 18:53:43 +00:00
Campbell Barton
daae72e17b patch [#30834] Quick Hack: Select similar for bones in edit mode
from Felix Schlitter (dalai) 

made some changes to select length measurement.
2012-04-29 18:23:33 +00:00
Campbell Barton
1b47e2678e style cleanup: missed these from previous cleanup 2012-04-29 17:55:54 +00:00
Mitchell Stokes
0331c77df1 Fix for [#31166] 2.63 applyRotation() makes Dynamic and Rigid object spin very fast
This bug was caused by r45902. CcdPhysicsController::RelativeRotate() was reading 2 values past the input because it was actually being passed a float[12] when it asked for a float[9] by KX_BulletPhysicsController::RelativeRotate(). Now KX_BulletPhysicsController::RelativeRotate() passes in a float[9] like it should have done to begin with.
2012-04-29 17:23:19 +00:00
Campbell Barton
343edf2722 style cleanup: function calls & whitespace. 2012-04-29 17:11:40 +00:00
Sergey Sharybin
ebbc038e4f Tomato: fixed opengl issue with intel cards
Issue was caused by some mixes of glRect called to draw zero-width rectangles
and glCalllist.

Resolved by not using glRect if rectangle is "degenerated".
2012-04-29 16:56:56 +00:00
Nicholas Bishop
70f1279eab Add convex hull operator (bmesh operator and wm operator.)
Image-heavy user documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/Convex_Hull

Thanks to Campbell for providing code review:
http://codereview.appspot.com/6114060
2012-04-29 16:09:40 +00:00
Nicholas Bishop
650edc90b1 Add GHASH_ITER macro 2012-04-29 16:09:28 +00:00
Campbell Barton
e701f9b670 style cleanup: whitespace / commas 2012-04-29 15:47:02 +00:00
Sergey Sharybin
f8e134db13 Tomato branch: correction to dopesheet background color versioning check 2012-04-29 15:30:54 +00:00
Joshua Leung
038c12895f Bugfix [#28826] Show Hidden button in Dopesheet and Graph Editor doesn't quite
work

Show Hidden was handled by the same filtering function as Only Selected, but the
filters were being tested incorrectly (or to be precise, only Only Selected was
being considered).

This meant that it was only possible to show F-Curves belonging to hidden data
if that data happened to be selected first.
2012-04-29 15:05:19 +00:00
Brecht Van Lommel
22de538eb1 Cycles: missed merging this file from tomato branch, for normal output in node. 2012-04-29 14:23:50 +00:00
Sergey Sharybin
a18e18264b Merging r46062 through r46073 from trunk into soc-2011-tomato 2012-04-29 14:10:13 +00:00
Joshua Leung
bdd014bbd4 Bugfix [#31128] Vertex Slide can't be aborted with ESC key 2012-04-29 13:58:43 +00:00
Sergey Sharybin
d30ee954f8 Remove variables tagged as unused. Easier to synchronize with current patches and makes
patches easier to read when variables are creating or e-using, but not un-commenting.
2012-04-29 13:45:31 +00:00
Joshua Leung
38c2d34d47 Bugfix [#31029] Select all in view3D don't update the graph editor immediately
One-liner fix. The code was assuming that editor.refresh() would do a
editor.redraw() too (like for Dopesheet), but that wasn't the case.
2012-04-29 13:24:10 +00:00
Joshua Leung
d3d93ee4a2 Code cleanups - whitespace 2012-04-29 13:20:28 +00:00
Campbell Barton
40489e378d quiet unused warnings 2012-04-29 13:19:22 +00:00
Bastien Montagne
d47528b2f4 Pose armature cleanup: remove old commented code replaced by use of new generic pchan_to_pose_mat().
After two months, think we can get rid of it, it’s in svn anyway if we ever need it!
2012-04-29 13:18:59 +00:00
Campbell Barton
04d8ef3c47 wireframe option to crase edges at the hub, much nicer subsurf 2012-04-29 12:33:56 +00:00
Sergey Sharybin
c27c87dde4 Camera tracking: backport refactoring made in local branches with masking and dopesheet view into trunk
Mostly related on changes in poll functions for tracking operators and some changes
to how interface is initializing for different view types.
2012-04-29 12:32:26 +00:00
Sergey Sharybin
1e73bf60f9 - Synchronize with changes in trunk
- Reverted parts of recent trunk merge related on changes for preview
  image save skip needed for startup.blend generation
2012-04-29 11:16:40 +00:00
Campbell Barton
41a5e731a2 bmesh: new wireframe tool
- makes wireframe from faces.
- options similar to inset (even offset, relative scale)
- copies face settings and loops (uvs, vcolors)
- optionally replaces the existing geometry.
2012-04-29 10:44:00 +00:00
Sergey Sharybin
8cd9d67318 Merging r46043 through r46061 from trunk into soc-2011-tomato 2012-04-29 10:15:04 +00:00
Sergey Sharybin
3d1349609c - Tag unused variables
- Use (void) instead () for function declarations without arguments
2012-04-29 09:34:51 +00:00
Tamito Kajiyama
ba5991592e Merged changes in the trunk up to revision 46057. 2012-04-29 01:51:25 +00:00
Tamito Kajiyama
2585d52405 Merged changes in the trunk up to revision 46045.
Conflicts resolved:
doc/python_api/sphinx_doc_gen.py
source/blender/blenkernel/intern/subsurf_ccg.c
source/blender/editors/mesh/editmesh_tools.c
source/blender/makesdna/DNA_scene_types.h
2012-04-29 00:59:04 +00:00
Nathan Letwory
b23186b2a4 compile fixes:
* near and far var names confused mingw64, renamed
* mingw defines a macro named DrawText, confusing the DrawText function usage from KX_FontObject.
2012-04-29 00:44:49 +00:00
Tamito Kajiyama
d8e12e8710 Suppressed "unused but set variable" warnings. 2012-04-29 00:19:05 +00:00
Joerg Mueller
88750597c7 Also updating CMakeLists.txt. 2012-04-28 23:40:38 +00:00
Nathan Letwory
72ec4c813a fix pthread path for windows builds 2012-04-28 23:15:34 +00:00
Joerg Mueller
5abadf1f75 Fix for windows compile. 2012-04-28 22:59:55 +00:00
Daniel Genrich
8bf8a128c2 Smoke: Support for moving obstacles. (Merge from Smoke2 branch)
Sponsored by the Blender Development Fund.
http://www.blender.org/blenderorg/blender-foundation/development-fund/

Remarks:
The original code was not designed to support moving obstacles so I had to introduce some velocity constraints into the code to prevent smoke from exploding. If this causes problems with "fire" emulation, please let me know.
2012-04-28 21:46:43 +00:00
Campbell Barton
4465d2f419 bmesh api functions, not used yet:
BM_iter_elem_count_flag()
  BM_iter_mesh_count_flag()
2012-04-28 18:39:37 +00:00
Sergey Sharybin
38b80df618 Merging r45936 through r46042 from trunk into soc-2011-tomato
y
2012-04-28 18:27:32 +00:00