Commit Graph

27161 Commits

Author SHA1 Message Date
Sergey Sharybin
a36dd050ed Camera tracking integration
===========================

- Merge Movie Distort and Movie Undistort nodes into one node
  called Movie Distortion where action (distort/undistort is specified).
- Implemented more proper distortion/undistortion for scaled images.

NOTE: Please, delete distortion nodes with current blender first
      before opening files with blender versions from this commit/
2011-09-28 13:31:32 +00:00
Sergey Sharybin
3323a36861 Camera tracking integration
===========================

- Fixed crash when creating new scene.
- Fixed usage of uninitialized variable.
2011-09-28 13:31:18 +00:00
Sergey Sharybin
78c7ec6401 Merging r40615 through r40652 from trunk into soc-2011-tomato 2011-09-28 10:45:39 +00:00
Campbell Barton
c8b0d25794 fix [#28158] Image crop keyframes/fcurves do not 'stick' to strip 2011-09-28 10:05:56 +00:00
Campbell Barton
450ea01002 transform sequencer update was checking against the wrong transform mode. 2011-09-28 09:47:30 +00:00
Campbell Barton
5e3110af05 add support for a 4th item for rna property enums in python so the numeric value can be passed, this is so you can animate the enum and keep the values even if you add items in the middle of the enum. - request from ZanQdo. 2011-09-28 09:18:20 +00:00
Sergey Sharybin
3a4b6da674 Fix #28601: SEGFAULT: Regression in free_imbuf_seq
Actually, it's NULL-pointer dereference in rna_Sequence_update caused by RNA cache.

Discussed with Joshua and he thought it's acceptable for now to add
extra NULL-check here.
2011-09-28 08:56:40 +00:00
Sergey Sharybin
2d151cda1c Fix crash when starting baking fluid when baking thread is already started. 2011-09-28 08:31:02 +00:00
Campbell Barton
4158cee688 color strip was showing image crop and and offset twice, also made 'Make Metastrip' key shortcut Ctrl+G (so shift+G can be used for select group like object mode) 2011-09-28 08:03:02 +00:00
Campbell Barton
bc593cac23 fix for incorrect use of strlen() with the sequencer rna (no need for strlen()+1) 2011-09-28 06:48:17 +00:00
Campbell Barton
ba58bc51fd fix [#28725] No way to control fluid simulator from Python API?
now exec() blocks while doing fluid bake, invoke starts a background job (texture bake also works this way).
2011-09-28 06:26:46 +00:00
Campbell Barton
018fa1540e whitespace edits, make formatting for functions consustent at least within the file. 2011-09-28 05:53:40 +00:00
Campbell Barton
4208eed25b use __func__ rather than function names in rna prints, some were incorrect.
also replace use of strlen() where checking first char is enough.
2011-09-28 05:20:14 +00:00
Campbell Barton
2bc2752374 correct own fix for #28751 2011-09-28 02:02:57 +00:00
Sergey Sharybin
ac166d5eb6 Fix for MSVC. 2011-09-27 19:04:27 +00:00
Benoit Bolsee
f2c2ba7ef3 Detour: fix bug with steering actuator: object pointer not removed. 2011-09-27 17:47:41 +00:00
Dalai Felinto
c927e37410 OSX CMake bundle - blenderplayer doesn't need locale, data, ..
also blenderplayer is a subset of Blender, so no need to repeat the macros here.
2011-09-27 17:06:10 +00:00
Campbell Barton
3bcbefa558 minor changes to interface code (no functional changes)
- made 2 loops on menu items break out of the loop when the item is found.
- include function names in error prints.
2011-09-27 17:04:38 +00:00
Campbell Barton
3abfb2af43 fix [#28752] Brush Icons do not scale correctly with DPI 2011-09-27 16:39:41 +00:00
Campbell Barton
aaae90af33 fix [#28751] Item in Enum propertie is grayed out
was infact a very old bug where an empty title took the following word for the title, eg: "%t|First Item|Second Item"
the first item would be evaluated as a title.
2011-09-27 16:23:40 +00:00
Sergey Sharybin
cb7b7b3b9e Silence some gcc warnings. 2011-09-27 13:33:32 +00:00
Sergey Sharybin
f90fdd6e8b Camera tracking integration
===========================

- Bundles and camera path should be displayed correct
  when there are several solved cameras in the same scene.
- Added option to use clip from active camera as background
  in 3d viewport.
2011-09-27 13:23:50 +00:00
Sergey Sharybin
2970db8ef3 Merge trunk up to revision 40611 2011-09-27 13:21:45 +00:00
Sergey Sharybin
4b24951ff1 Return back nice eye icon to constraints header (instead of speaker which not so nice in this context, imo) 2011-09-27 13:11:19 +00:00
Campbell Barton
e4c299d975 comment warnings as errors for MSVC - it too easily made small problems like unused vars into errors which gets annoying for non developers.
with GCC we have *some* warnings as errors which works out better.
2011-09-27 12:08:35 +00:00
Bastien Montagne
6b825e6798 Commented and tagged some unused vars (gcc warnings...) 2011-09-27 11:02:19 +00:00
Jens Verwiebe
7ba71fff8c OSX: fix player bundle_creation 2011-09-27 10:51:57 +00:00
Campbell Barton
768806adc0 bpy.app.handlers.frame_change_pre/post handlers. 2011-09-27 10:43:45 +00:00
Bastien Montagne
7fbfca48d2 Minor: Other UI strings typos and tweaks. Also updated french po & mo. 2011-09-27 10:37:02 +00:00
Sergey Sharybin
96e6e6f877 Camera tracking integration
===========================

Fixed incorrect behavior of clean-up operator in special cases.
2011-09-27 10:28:17 +00:00
Sergey Sharybin
12de1f04f1 Camera tracking integration
===========================

Small clean-up of keymap hierarchy: move global clip hotkeys
inside Clip keymaps in user preferences.
2011-09-27 10:04:29 +00:00
Sergey Sharybin
24405d4623 Merging r40598 through r40600 from trunk into soc-2011-tomato 2011-09-27 10:03:26 +00:00
Sergey Sharybin
1d202ba90c Fix for recent commit: mistake in sconscript 2011-09-27 09:40:53 +00:00
Sergey Sharybin
03f3e7b3fc Merging r40572 through r40597 from trunk into soc-2011-tomato 2011-09-27 09:26:46 +00:00
Sergey Sharybin
a1857b407c Fixing typo in comment - no functional changes 2011-09-27 09:21:17 +00:00
Sergey Sharybin
b66f219687 navmesh: code clean-up, should be no functional changes. 2011-09-27 09:09:55 +00:00
Sergey Sharybin
dcccf3fc1f navmesh: solve bad level calls to edit mesh functions
Move navmesh operators from editors/object to editors/mesh
2011-09-27 09:09:52 +00:00
Sergey Sharybin
a25c7f647e navmesh: convert object_navmesh.cpp to plain c. 2011-09-27 09:09:43 +00:00
Campbell Barton
928e2784c6 py api
- use Py_ssize_t when dealing with python sequence sizes
- dont call PySequence_Size(py_b) in a loop (its slow).
- use faster sequence/float parsing in aud.Factory.filter
2011-09-27 05:28:06 +00:00
Campbell Barton
d98bcb8a77 fix for py/rna api bug:
PyC_UnicodeAsByte(), used for getting python strings as bytes wasnt clearning utf-8 conversion errors.
  this would raise an error when getting an operators filepath.
2011-09-27 04:07:48 +00:00
Campbell Barton
f4dec97cef fix for building on windows, clear some warnings too 2011-09-27 01:32:27 +00:00
Martin Poirier
2170301204 [#28681] Switching transform type doesn't register correct operator for 'repeat'.
Reported by Nicholas Rishel

Part of a potential fix, see discussion in tracker.
2011-09-27 01:28:15 +00:00
Sergey Sharybin
4bd96adbcf Camera tracking integration
===========================

Lookup grids used for image distortion/undistortion are now
caching and re-building if distortion settings are changing.

This speedups compositor node for cases distortion model isn't
changing, but first run and runs after changing distortion
coefficients is still slow.
2011-09-26 19:00:12 +00:00
Campbell Barton
58587a3881 replace strncpy with BLI_strncpy, in some cases strncpy was being misused since it doesnt ensure \0 termination.
also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-26 18:51:10 +00:00
Campbell Barton
e897c8e83e fix [#28742] UILayout.menu() with icon misbehaves in headers 2011-09-26 17:32:50 +00:00
Campbell Barton
dc76be62d9 replace strnlen with BLI_strnlen, make some args const - no functional changes. 2011-09-26 17:30:56 +00:00
Campbell Barton
fbdfdfefd8 use BLI_snprintf rather than sprintf for interface functions 2011-09-26 16:53:04 +00:00
Sergey Sharybin
bb46df03ac Camera tracking integration
===========================

Fixed type in checking if on-fly undistortion is needed.
2011-09-26 15:49:03 +00:00
Sergey Sharybin
f51c4a2829 Camera tracking integration
===========================

- Now different areas can use different default oclor for
  new layer creating when making initial stroke.
- Change default color for movie clip to pink.
  It's much useful now because black strokes aren't useful
  at all because it's difficult to notice them and you always
  used to change layer's color before doing manual calibraiton.
2011-09-26 15:39:10 +00:00
Sergey Sharybin
8615218d57 Camera tracking integration
===========================

- If render size is set to "Full Render" and undistorted render
  is enabled, do on-fly undistortion so distortion coefficients
  can be visually verifed before baking.
- Made slight change in libmv-side to survive with large distortion
  coefficients. Hope this change is fine.
2011-09-26 15:07:06 +00:00