Commit Graph

4570 Commits

Author SHA1 Message Date
Sergey Sharybin
8cd9d67318 Merging r46043 through r46061 from trunk into soc-2011-tomato 2012-04-29 10:15:04 +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
Sergey Sharybin
38b80df618 Merging r45936 through r46042 from trunk into soc-2011-tomato
y
2012-04-28 18:27:32 +00:00
Thomas Dinges
3865276eb8 User Preferences/ Themes
* Tooltip section was there twice (User Interface category) 
Issue introduced in r45092!
2012-04-28 17:16:38 +00:00
Sergey Sharybin
51a4188105 Camera tracking: support of tripod motion solving
Expose option into interface to use modal solver which currently
supports only tripod motion.

This solver requires two tracks at least to reconstruct motion.
Using more tracks aren't improving solution in general, just adds
instability into solution and slows down things a lot.

Refirement of camera intrinsics was disabled due to it's not only
refines camera intrinsics but also adjusts camera position which
isn't necessary here

To use this solver just activate "Tripod Motion" checkbox in
solver panel.

Merged from tomato: svn merge ^/branches/soc-2011-tomato -r45622:45624 -r46036:46037

P.S. Quite experimental yet, requires more checking and probably
tweaks to prevent camera jumps when tracks apperars/disappears
from the screen.
2012-04-28 14:54:45 +00:00
Sergey Sharybin
a49a64b710 Camera tracking: small improvements to tripod solver"
- Disable camera refirement due to it's not only refines camera intrinsics
  but also adjusts camera position which isn't necessary here
- Detect rigid transformation between initial frame and current instead
  of detecting it between two neighbour frames.
  This prevents accumulation of error and seems to be working better
  in footages i've tested.
2012-04-28 14:40:37 +00:00
Brecht Van Lommel
2c592b0d96 Point Cache: allow baking external smoke caches. This needs to be cleaned up
a bit, I couldn't fully understand how the External setting is supposed to
work to make further changes, but this should make it work at least.
2012-04-28 09:00:11 +00:00
Brecht Van Lommel
61752c926d Addons: "persistent" parameter for addon_utils.enable(), so that you can enable
addons from a startup script and keep them enabled after loading .blend files.
2012-04-28 09:00:09 +00:00
Thomas Dinges
de923eba57 * UI fix for last commit, forgot to remove the plugin text strings. 2012-04-28 08:32:00 +00:00
Thomas Dinges
0281ff408d Plugin system:
* Remove RNA, Operator and UI for Texture and Sequence plugins.
Since 2.5x no effort has been done to bring that back, so there is simply no reason in keeping that code and the UI for that ;-)
* Low Level code still exists and is unchanged.
2012-04-28 08:27:09 +00:00
Campbell Barton
da1e128d77 fix for modal timer template, wasnt updated for changes to themes. 2012-04-27 10:00:21 +00:00
Campbell Barton
458600d692 don't have spaces in idnames, confuses py types:
http://www.blender.org/documentation/blender_python_api_2_62_4/bpy.types.Whole%20Character.html
2012-04-26 18:07:15 +00:00
Campbell Barton
af7eb3f210 fix for buffer overrun crash with saving scene name longer then 24 characters.
writing render info would try write= 64 length string into 24 length buffer.

updated py script to extract render info too.
2012-04-26 04:03:25 +00:00
Thomas Dinges
3a94746169 2.6 Ocean Modifier UI:
* Fix an alignment issue, column_flow layout apparently does not use the whole width, leaving a small gap on the right side. This should be fixed in the layout engine, but too close to release now.
2012-04-25 18:12:41 +00:00
Brecht Van Lommel
713de1b1f4 Point Cache: allow baking external smoke caches. This needs to be cleaned up
a bit, I couldn't fully understand how the External setting is supposed to
work to make further changes, but this should make it work at least.
2012-04-24 17:59:57 +00:00
Campbell Barton
c2ede58d68 fix [#31083] "Hide Selected" through Menu Operation doesn't work well 2012-04-24 17:50:01 +00:00
Sergey Sharybin
dfe8c55e2d Merging r45877 through r45927 from trunk into soc-2011-tomato 2012-04-24 15:26:26 +00:00
Campbell Barton
6f1019e869 add inset and bridge to mesh specials menu (along side bevel) + typo fix. 2012-04-24 01:04:37 +00:00
Sergey Sharybin
de07f51d9b Merging r45810 through r45876 from trunk into soc-2011-tomato 2012-04-23 10:19:59 +00:00
Campbell Barton
7eaf3eb58e fix [#30937] Pose UI hack needed to be undone, alternate fix is needed.
rather then assigning the enum, default to the active pose when the property isnt set.
2012-04-23 09:17:37 +00:00
Campbell Barton
1642e2888c rename Mesh.uv_loop_layers --> uv_layers
add filtering for document generator to support --partial bpy.types.SomeType
2012-04-22 23:51:50 +00:00
Daniel Genrich
21f6bac0a3 Fix [#30954] Fluid obstacle checkbox has no effect
Note: Supporting obstacles which can be enabled/disabled as animated propoerty is not likely to happen. So I marked this as "Won't fix"/TODO.
I also reverted last commit on this bug because it didn't work and disabled the property from UI to avoid confusion.
2012-04-21 22:09:09 +00:00
Campbell Barton
15eb3452ec style cleanup: pep8, also quiet compiler warning. 2012-04-20 18:50:18 +00:00
Sergey Sharybin
f380a5430f Merging r45801 through r45809 from trunk into soc-2011-tomato 2012-04-20 13:15:57 +00:00
Brecht Van Lommel
90332f69a7 Tomato branch: "persistent" parameter for addon_utils.enable(), so that we can
enable addons from a startup script and keep them enabled after loading .blend
files.
2012-04-20 12:55:44 +00:00
Campbell Barton
3d851bfd5b knife tool modifications
from user freedback it seems there are 2 use cases, both valid.
* Select geometry and cut the selection in half (as 2.4x worked)
* Point-to-point define the faces to cut, dont cut through everything (only cut what you see).

With the second, since you are already selecting the edges to cut and snapping to them. only cutting the selecting is limiting/annoying.


Modifying these options while the knife tool runs doesn't work well, so expose under 2 keys, K, Shift-K.
2012-04-20 10:52:13 +00:00
Sergey Sharybin
4a168f9c78 Merging r45708 through r45717 from trunk into soc-2011-tomato 2012-04-17 16:42:12 +00:00
Campbell Barton
09f722740f move rip out into its own file 2012-04-17 10:25:23 +00:00
Sergey Sharybin
4f158eee25 Merging r45693 through r45707 from trunk into soc-2011-tomato 2012-04-17 10:09:47 +00:00
Campbell Barton
1142a504cb remove the poll function from import/export templates 2012-04-17 05:49:07 +00:00
Campbell Barton
0de1ed5787 add import operator python template. 2012-04-17 05:47:32 +00:00
Sergey Sharybin
6e40088604 Partial revert of rev45691: allow lightmap undo and add comment why redo was disabled 2012-04-16 14:27:22 +00:00
Campbell Barton
37a79f4727 fix [#30972] Editmesh split by materials not working. 2012-04-16 13:49:04 +00:00
Sergey Sharybin
5ebd70b7b5 Merging r45620 through r45692 from trunk into soc-2011-tomato 2012-04-16 12:47:34 +00:00
Sergey Sharybin
798385fa90 Fix #30968: Lightmap Pack - no new image limit
Disable operator register and redo flags because it might modify non-mesh
data when in edit mode. This doesn't work properly with current undo stack
design.
2012-04-16 11:54:28 +00:00
Campbell Barton
d9fa08e73d rename wm.blenderplayer_start label from 'Start' to 'Start Game In Player', also made it check if the player is found before running. 2012-04-16 02:28:18 +00:00
Thomas Dinges
583957470c UI:
* Remove un-descriptive Tooltip from Cloth preset menu.
2012-04-15 21:10:14 +00:00
Thomas Dinges
5496e87eee Fluid Simulation:
* Replaced the hard coded viscosity presets with Python ones.

* Added version check, so older files load fine.
Loading new files into 2.62 also works fine.
2012-04-15 21:02:08 +00:00
Campbell Barton
bab7b47a71 code cleanup: minor edits, use function for getting console module. 2012-04-15 14:51:37 +00:00
Campbell Barton
20a37ba8f8 fix [#30956] Unwrapping, Lightmap Pack broken 2012-04-15 14:14:15 +00:00
Benoit Bolsee
5f0c43d2c2 BGE bug #30515: Sensor physics mode missing UI for use_actor option. This option tells whether the sensor object is only affected by objects that have the Actor option on or any object. The option was missing from the UI. 2012-04-15 11:47:08 +00:00
Sergey Sharybin
ec4edb94d9 Camera tracking: initial commit of dopesheet view for clip editor:
- Changed regions to use the whole main region for such views as
  curves and dopesheet. This allows to have own panels with
  tools/properties in this areas.
- Active clip is getting synchronized between different clip editor
  editors in the same screen, so updating of curve/dopesheet views
  happens automatically when one changes current clip in one of this
  editors.
- Curves and dopesheet are still using PREVIEW region type instead of
  re-using main region.
- To deal with vertical synchronization in dopesheet, re-initialization
  of preview region happens.
- Panels in toolbox and properties panels are now separated to rely
  on current view mode, some operators and poll functions still need
  to be updated.
- Added new screen called "Movie Tracking" where layout is configured to
  display timeline, main clip window, curves and dopesheet.
2012-04-14 12:03:23 +00:00
Sergey Sharybin
37c02ddee1 Camera tracking: revert changes made for texture buffer frame drawing.
Will be applied as another cleaned-up patch.
2012-04-14 12:03:03 +00:00
Sergey Sharybin
f9d9b4635d Camera tracking: support of tripod motion solving
Expose option into interface to use modal solver which currently
supports only tripod motion.

This solver requires two tracks at least to reconstruct motion.
Using more tracks aren't improving solution in general, just adds
instability into solution and slows down things a lot.

Refirement of camera intrinsics is supported by this solver.

To use this solver just activate "Tripod Motion" checkbox in
solver panel.
2012-04-14 12:02:47 +00:00
Sergey Sharybin
bfca79a657 Merging r44227 through r45619 from trunk into soc-2011-tomato 2012-04-14 10:46:47 +00:00
Campbell Barton
9a79bd38ad don't constrain single edge extrude, annoying for retopo
see: http://www.youtube.com/watch?v=5AzRpFfWR6k

request from ZanQdo, VenomGFX & Jonathan Williams.

For previous functionality Z, Shift+Z.
2012-04-14 05:09:23 +00:00
Bastien Montagne
20110e703e Do not hide (gray out) lens/lock to object/lock to cursor options in Quad views (View panel)... 2012-04-13 15:21:26 +00:00
Sergey Sharybin
11d24cb58f Fix own typo in previous commit for dupligroup offset 2012-04-13 12:51:26 +00:00
Sergey Sharybin
54e648d114 Move "From Cursor" operator which sets dupli group offset to own operator
Previously it used to use cursor location from time when panel was drawn,
which in some cases lead to using previous cursor location instead of current.
2012-04-13 12:14:20 +00:00
Campbell Barton
1cf0358a33 bmesh todo: vertex dirtmap now working again.
also renamed Polygon helper property from 'loops' to loop_indices
2012-04-13 08:41:30 +00:00