Commit Graph

66005 Commits

Author SHA1 Message Date
Campbell Barton
85e0609c54 use char for BMHeader type and flag (saves 2 bytes per edge/loop/vertex/face)
also found mouse_mesh_shortest_path was casting edit selecton to the wrong type.
2011-11-01 14:36:23 +00:00
Campbell Barton
a1e95e2e18 replace as many uses of BM_Get/SetIndex as possible with tagging with a temp flag, some uses need index values to be set, so this will need more effort to replace (crazy space and solidify for eg). 2011-11-01 12:51:38 +00:00
Brecht Van Lommel
4b48a5a497 Fix #29101: 2D Tilt on Bezier Curve Bug?
Changing tilt for 2D curves doesn't really hurt, just makes things not so
clear tosee what's going on because you're changing value which isn't used
at all for 2D curves. Disallwo to run TRANSFORM_OT_tilt operator for 2D curves.

Also made a correct fix for incorrect shortcut for tilt in 3D viewport toolbar,
it was really confusing to have almost the same operators (TRANSFORM_OT_tilt and
TRANSFORM_OT_transform with mode=tilt) in keymap. Better to use tilt operator
in toolbar.
2011-11-01 11:00:08 +00:00
Tamito Kajiyama
c72376fc04 Sorted modifier menu items in the alphabetical order in the Parameter Editor mode. 2011-11-01 09:53:30 +00:00
Sergey Sharybin
0d12eed5a7 Camera tracking integration
===========================

Automated image sequence offset calculation for image input node and image editor.

Calculate offset or sequence when loading image in node or editor and also
re-calculate offset when switching currently displaying image in editor or
source image in input node. This kind of recalculation is needed because offset
is stored in ImageUser structure so when you're switching from one sequence to
another it can be really confusing because offset from previous sequence would
be used for new sequence.

NOTE: Not sure this commit is fine to be included in tomato merge commit,
      prefer to test it further and commit as separate change after merge.
2011-11-01 09:52:08 +00:00
Campbell Barton
63eb94e504 rename BM_FLIPPED --> BM_TMP_TAG to use as a temp tag anywhere. 2011-11-01 09:48:20 +00:00
Tamito Kajiyama
ac6bdfb653 Added two stroke geometry modifiers: Parameterization and Guiding Lines. 2011-11-01 09:47:41 +00:00
Campbell Barton
dd8a575c22 correct header, for some reason gcc doesnt warn about this 2011-11-01 09:47:19 +00:00
Campbell Barton
c529631c1e uncommented particle mirror, tested and it works fine. 2011-11-01 09:21:23 +00:00
Campbell Barton
9aa901cccc svn merge -r41422:41431 ^/trunk/blender 2011-11-01 09:05:38 +00:00
Campbell Barton
2ad80bf3bb vertex group mirror
- now works in vertex select + weight paint mode.
- added option not to mirror all vertex groups.
2011-11-01 08:11:55 +00:00
Campbell Barton
bcdcbb65c1 macro to check if an object type supports vgroups 2011-11-01 06:45:36 +00:00
Campbell Barton
e3f03d72b6 added path traversal flag - BPATH_TRAVERSE_SKIP_MULTIFILE,
so path manipulation functions dont run multiple times on the same path in the case of sequence strips where the one directory is used as the base for many images.
2011-11-01 06:26:55 +00:00
Campbell Barton
b6e445a61f BMesh todo - mirror vertex groups back. 2011-11-01 05:43:35 +00:00
Campbell Barton
d4f1275585 subdivide smooth now works as in trunk.
- r35832 joeedh removed this with comment "removed the "smoothness" parameter (which never worked, anyway, even in trunk)", not sure I agree here... just because its not perfect doesnt mean its not working, anyway, to support in bmesh at the same level as trunk is not much effort.
- calculating the coordinates was being done on every shape key, I can see this could be useful to subdiv worked on all shape keys BUT the existing code didnt do this properly, for it to work right the normals would need to be updated for each shape key too when calculating smoothing, so now just calculate the new subdivided location and apply the difference to all other shape keys.
2011-11-01 05:17:46 +00:00
Campbell Barton
8cfef06d23 enable bmesh subdivide smooth, this isn't working quite right yet.
also remove some invalid BMESH_TODO's
2011-11-01 04:31:25 +00:00
Campbell Barton
f3f3a42566 use math functions for mesh subdivide smooth (easier to follow for bmesh, no functional changes). 2011-11-01 04:19:21 +00:00
Campbell Barton
b03e78e1af minor cleanup edits 2011-11-01 03:02:33 +00:00
Campbell Barton
f1301de733 svn merge -r41420:41422 ^/trunk/blender 2011-11-01 02:59:55 +00:00
Campbell Barton
e4896c999f name qtcreator projects based on branch names (if svn is found and its a branch), was too confusing with multiple IDE's open calling all projects 'Blender'. 2011-11-01 02:24:40 +00:00
Campbell Barton
e08c4a00d2 svn merge -r41371:41420 ^/trunk/blender 2011-11-01 02:01:09 +00:00
Campbell Barton
a5959e767e hopefully fix problem with cmake on osx (older gcc version) 2011-11-01 00:34:09 +00:00
Brecht Van Lommel
4e0d8ccf96 Fix #29084: material/texture nodes crash introduced in 2.60, execdata is being
lazely created but this wasn't done in a thread safe way.
2011-10-31 17:00:59 +00:00
Brecht Van Lommel
bdb279ec5b Fix crash in texture nodes, when no derivatives available, other nodes already
did this check.
2011-10-31 16:44:24 +00:00
Sergey Sharybin
5492c4df5c Camera tracking integration
===========================

Split property used to define tracking camera focal length into two separated properties,
so now you can specify focal length in needed units directly without taking into account
units used for displaying.
2011-10-31 16:03:24 +00:00
Sergey Sharybin
c3b2b00232 Camera tracking integration
===========================

Remove moravec detector. It doesn't work really fine and it's times slower than fast detector.
2011-10-31 14:27:32 +00:00
Brecht Van Lommel
56421d869d Fix: selecting with z-buffer hiding did not work when graphics card settings
enabled antialiasing, overriding application settings.

The fix for this got lost when the FSAA option was added and later disabled
again. Added it back now, and also disable AA for UI widgets since it makes
them look too blurry, they already do their own AA.
2011-10-31 14:08:14 +00:00
Sergey Sharybin
8e42433f02 Camera tracking integration
===========================

- Changed 3D viewport reconstruction settings to more usable defaults
- Some code clean-up
- Option to place markers for detected features across the whole frame,
  inside grease pencil areas or outside of grease pencil areas.
2011-10-31 14:01:40 +00:00
Miika Hamalainen
cd338a4130 Merge with trunk r41411 2011-10-31 13:18:14 +00:00
Miika Hamalainen
0a37e6ab97 Dynamic Paint:
* Redesigned alpha blending and paint drying algorithms. Now it gives much better results when using low brush alpha or when surface has initial color set.
* Fix: "Slow" dissolve/dry was scaled incorrect when using substeps. Also adjusted time to better match non-"slow" setting.
* Fixed possible issues when using image textured brush.
* Fix: particle brush panel was no longer visible since last commit.
* Adjusted default surface values.
* Some more code cleanup.
2011-10-31 13:01:06 +00:00
Jens Verwiebe
a664e779ac OSX: make ZOOM-gesture on trackpads half the speed, added comment for experimental all-time-trackpad assumption 2011-10-31 12:31:48 +00:00
Campbell Barton
9c801a6d85 Correction to own commit r41169 2011-10-31 09:52:43 +00:00
Campbell Barton
2ceeaf9721 fix [#29089] Faces created for "rims" by solidify modifier have incorrect visibility 2011-10-31 07:17:35 +00:00
Campbell Barton
797d2bbd88 use_verify option to defvert_sync_mapped and defvert_sync was flipped, also minor edits to defvert_verify_index() - no functional change. 2011-10-31 06:13:20 +00:00
Campbell Barton
1a2188af41 fix [#29090] Vertex paint: in mask mode, select all (hotkey "A") does not work 2011-10-31 03:55:01 +00:00
Campbell Barton
9905094f5d fix own error r41191 getting id property string lengths. 2011-10-31 01:50:04 +00:00
Andrew Wiggin
12ace958f5 Miscellaneous warning fixes (mostly unused local vars) and trivial cleanups 2011-10-31 00:44:12 +00:00
Thomas Dinges
65b92d820a Sculpt UI:
* Code cleanup.
2011-10-31 00:35:14 +00:00
Andrew Wiggin
9c5a620e4d Fix problems with setting (and respecting) correct visibility of rim faces created by solidify modifier 2011-10-31 00:34:19 +00:00
Andrew Wiggin
f1dcd1f157 Small optimization in mesh-to-bmesh convert (avoid a bunch of alloc, free, realloc of loop customdata) 2011-10-31 00:28:52 +00:00
Campbell Barton
dc1b3d88b8 fix [#29098] File save dialog cannot handle extra periods in file name 2011-10-31 00:23:42 +00:00
Andrew Wiggin
83cef039af Fix a minor bug with incorrect ordering of arguments to customdata api 2011-10-31 00:10:51 +00:00
Thomas Dinges
d3f63bf54c Another Bconf Feature Request. :)
Some UI and code cleanup for the "Symmetry" panel in sculpt mode. 
* Made X, Y, Z Buttons toggle buttons, as the other X,Y,Z in the "Options" panel above in sculpt mode, for consistency.
2011-10-31 00:03:18 +00:00
Sergey Sharybin
6de5c38e73 Camera tracking integration
===========================

Fix for collada importer/exporter.
2011-10-30 23:58:21 +00:00
Sergey Sharybin
18471ec3a7 Camera tracking integration
===========================

Small changes to current frame label in motion-tracking graph view.
2011-10-30 23:47:57 +00:00
Sergey Sharybin
6ae17256b7 Camera tracking integration
===========================

- Hopefully last fix for sensor-related compilation error.
- Set SAD correlation and KLT pyramid level for tracks created
  on previous version of Blender.
- Do not flip current frame number when it's getting to close to
  right boundary of clip editor.
2011-10-30 23:35:01 +00:00
Thomas Dinges
9c115ccc40 Blender Conference Feature Request by Jonathan:
* Made "V3D_BGPIC_EXPANDED" true per default, so when you add a new background image, you don't have to expand the UI to select the image.
2011-10-30 23:01:24 +00:00
Sergey Sharybin
5f183e2f02 Camera tracking integration
===========================

Rest of recent compilation error fix (this stuff better be kept
separated to make it easier to separate patches for trunk integration).

Made behavior of tracks selection more consistent with other areas:
- Make track active when starting sliding it.
- When using extend selection clicking on non-active track make it active
  instead of immediately hiding it.
- Reset offset from locked selection when using non-extending selection.
2011-10-30 22:56:45 +00:00
Tamito Kajiyama
12f2c06d34 Fixed a crash due to invalid pointers to temporary scenes for stroke rendering.
Freestyle generates a temporary scene containing a number of stroke meshes to
achieve stroke rendering using the Blender internal renderer.  This temporary
scene may appear in the outliner and undergo user interaction when the stroke
rendering takes a long time.  The crash was due to the deletion of the scene
without taking care of references to the scene from screens, one of which was
the outliner.
2011-10-30 22:53:24 +00:00
Sergey Sharybin
17ec8827b0 Camera tracking integration
===========================

Woops. Fix for previous fix.
2011-10-30 22:46:59 +00:00