Commit Graph

28717 Commits

Author SHA1 Message Date
Sergey Sharybin
6afa4da928 Fix #30152: Several drag and drop of image on mesh crashes
Issue was caused by making and loading editMesh in drop_named_image_invoke,
which lead to freeing/changing pointers used by CustomData layers. Some of
this pointers might be used by DerivedMesh, so we need to update DerivedMesh
after loading EditMesh.
2012-02-12 11:21:35 +00:00
Sergey Sharybin
6bfd6c01fd Regression fix for "Show Seconds" in Sequencer.
It was missed RNA property in Sequencer space which lead to issues after recent
refactoring of related areas.
2012-02-12 09:04:12 +00:00
Janne Karhu
5a2454c3f8 Fix [#29737] Can't edit particle hair if particle count is 0.
* Hair wasn't flagged as "done" if particle count was 0 before setting particles as hair, so particle edit mode didn't work.
2012-02-12 00:43:57 +00:00
Janne Karhu
670bde28dd Fix [#29530] Changing to particle mode could crash in some cases
* If a baked particle didn't have any cached keys creating an edit path for it crashed.
2012-02-12 00:32:31 +00:00
Janne Karhu
a7458742b1 Fix [#29265] Particle Instance: Create Along Paths + Children inconsistent with actual children hair particles
* Hair particle rotations weren't calculated properly for particle locations along a path and the "particle on path" calculations were not correct in many other ways too.
* Now the particle's location along a path is interpolated directly from the cached paths if it exist. These paths are always correctly calculated.
* Paths are now cached if a particle instance modifier using the particle system with the path option exists.
2012-02-12 00:25:52 +00:00
Campbell Barton
0327b9a0cf minor include cleanup, add GPL header (copied from BKE_animsys.h 2012-02-11 19:43:06 +00:00
Bastien Montagne
24fc50907d Fix [#30136] Adding Sequence Plugin fails.
Problem was in how file selector is called by the effect_strip_add operator invoke. WM_operator_filesel() is not suited, as it directly calls exec if filepath is already set, and sequencer_generic_invoke_xy__internal() will set that path unless otherwise told. So using rather the same way to do as the one used by the other "strip_add" operators...
2012-02-11 16:08:45 +00:00
Bastien Montagne
3af2f8a50d Fix [#30122] "Tweak" mouse event values were not loaded from keymap files.
The problem was, those values were not included in the event type agnostic event_value_items list, hence RNA keymap item creation just ignored them.
2012-02-11 14:50:26 +00:00
Campbell Barton
b81bfd86b4 use ValueError when vector/matrix multiplications sizes are not supported, was using TypeError for mat*vec and ValueError for vec*mat. 2012-02-11 14:27:36 +00:00
Campbell Barton
5e1f6f0174 fix for crash adding movie strips that were not a supported format. 2012-02-11 13:19:25 +00:00
Campbell Barton
2ff2d345f5 dont add the name field to theme presets for now. 2012-02-11 12:23:23 +00:00
Campbell Barton
dbea322b26 resetting the theme wasnt changign the panel header. 2012-02-11 12:16:34 +00:00
Campbell Barton
758c228263 update gpl header in cmake files 2012-02-11 04:05:00 +00:00
Brecht Van Lommel
18edbd103d Fix #30131: mac UI font corruption in release candidate, refined test for
ATI/Apple cards with broken non-power-of-two-textures missed some cards,
checked against list of GL_RENDERER values, hopefully complete now.
2012-02-10 17:12:44 +00:00
Dalai Felinto
6a598148a7 bge font objects: fix for difference in size when object has a parent
for after 2.62 I would like to try if using doubles would help to increase the precision here.

Also now that the mipmap patch is reverted we may want to look at this problem from a different perspective.
RES could be calculated taking the object size in relation to the camera (i.e. size and distance, ignoring rotation).
That may solve both problems of wrong resolution and lack of smoothness.

For the time being users still need to use object.resolution to fine tune the rendered text.
2012-02-10 07:52:21 +00:00
Dalai Felinto
17dadffd66 reverting commit [43876] Fix for aliased fonts in the game engine 2012-02-10 06:18:32 +00:00
Dalai Felinto
e90e522942 bugfix [#30127] alpha in FontObjects not working in blenderplayer 2012-02-10 05:10:52 +00:00
Brecht Van Lommel
8e81da423c Fix #30071: crash with cycles glsl, textures functions (which are stubs still)
got out of sync with node changes.
2012-02-08 16:48:26 +00:00
Campbell Barton
5a42ff381c correct 2 sphinx warnings. 2012-02-08 16:36:04 +00:00
Sergey Sharybin
f0db5e8735 Fix for duplicated vertices in UV sphere when it's creating with large radius.
Issue was caused by not enough threshold limit used for removing doubles.
Switched to adoptive threshold value calculation based on smallest length
of segments in meridians and parallels.
2012-02-08 11:04:56 +00:00
Sergey Sharybin
65f454a160 Movie Clip Editor: manual calibration will now respect GP layer's hidden flag 2012-02-08 09:40:34 +00:00
Sergey Sharybin
32e0612bc3 Fix #30102: Vertex and edge incorrect selections
Select Linked operator was setting Limit by Seams property automatically
depending on current selection mode. But this property only used to be
set to truth if selection mode is set to Face, in other cases this property
is being reused from previous operator run. This leads to incorrect
behavior of selecting linked in vertex mode after this operator was
used in face selection mode.
2012-02-08 07:20:49 +00:00
Campbell Barton
054e10ac13 fix [#30090] Cloth modifier related crash when loading old file
own fault when adding int64 support. `void` type was being used to workaround a different bug in the ClothSimSettings struct.
2012-02-08 05:20:23 +00:00
Campbell Barton
1f74789d12 Correct mathutils documentation, also correct some python spelling errors and add makefile target check_spelling 2012-02-08 04:37:37 +00:00
Brecht Van Lommel
9467ddb903 Fix #30081: the fix for #30026 related to rendering indirect/environment light
with material ambient zero broke backwards compatibility too much. The behavior
to have ambient zero affect things even if it is not used as a factor does not
make much sense but keeps things compatible. Now instead fixed the use of
uninitialized memory.
2012-02-07 21:04:10 +00:00
Sergey Sharybin
2bfaade0ac Returned back maximal value of bitrate. Higher values are actually makes sense with DNxHD only. 2012-02-07 20:39:51 +00:00
Sergey Sharybin
67e32b4a7b Fix for wrong pixel format used for qtrle 2012-02-07 20:39:40 +00:00
Brecht Van Lommel
acb796c623 Fix #30089: crash with cycles viewport rendering while in text edit mode.
Cause was Object.to_mesh(), which could cause invalid memory access when
calling it on text objects in edit mode.
2012-02-07 18:08:15 +00:00
Sergey Sharybin
dc72e79274 FFmpeg output fixes and small improvement
Most part of this commit fixes issues with FFmpeg output with
currently supported codecs:

- avcodec_encode_video might return zero which doesn't mean error
  happened, but blender will handle this as error and will stop
  rendering to video file.
- Changing output video codec wouldn't update "expert" options
  set for video output which leads to some sideeffects like
  ignored Lossless option for x264 codec.

This fixes allowed to add QTRLE codec easily.
2012-02-07 17:11:56 +00:00
Sergey Sharybin
b49d257209 Fix #30076: RenderLayer area blocks mouse scrolling
In fact all list templates used to block mouse scroll. It's because mouse
scrolls list's scroll bar. But mouse scroll also used to be "eaten" even
if there's no scroll in list template.
This commit makes scroll even be ignored by list templates if there's
no scroll bar on list.
2012-02-07 16:53:14 +00:00
Bastien Montagne
a7e6e5354b Fix [#30099] Wrong python path returned. "bpy.data.keys" instead of expected "bpy.data.shape_keys".
The "plural" name for ID_KE was wrong in idcode.c (bke), not matching the MainCollectionDef one used in rna_main.c.

Checked the others too, everything seems ok now.
2012-02-07 15:14:08 +00:00
Sergey Sharybin
4cb9c2db86 Fix #30052: VSE: metastrips don't move with Extend (E)
Issue was caused by transformation tools weren't taking metastrip clips into
account, so strip inside of merastrips are placedon different from metastrip side
of time cursor, extension happened in unexcpected way.
2012-02-07 14:27:08 +00:00
Sergey Sharybin
f282f39f53 Fix #30094: Subdivision Surfaces Modifier corrupts Copy Location
Issue was caused because of missed MDeformVert layer on subdivided cube.
If regular object is constrained to mesh object, extra customdata mask
is adding to such target. But armature bones are handling separately
and there was no such thing happens.
Ideally this code should be deduplicated to avoid such kind of issues,
but better not to do it so close before release.
2012-02-07 13:29:58 +00:00
Sergey Sharybin
c4542acc8b Fix #30091: Shift-Ctrl-Alt-RMB problem in face mode
Select Edge Rings with extension policy wasn't working properly in
face selection mode because it's used to call Select Loop operator
because edge rings can be selected only in verts/edges mode.
On this call of another operator extension policy wasn't set to
newly calling operator.
Now Select Edge Rings still calls Select Loops (which is a bit nasty)
but properly sets extension flag.
2012-02-07 12:47:17 +00:00
Joerg Mueller
77ab18ebc3 Fix for [#29910] Crash on reading KX_SoundActuator.sound
aud is now imported automatically on BGE start.
2012-02-07 11:22:50 +00:00
Campbell Barton
aae52ef635 Documentation: add missing info about the fileselectior using hard coded property names. 2012-02-07 06:07:02 +00:00
Campbell Barton
297a21c39a Code Cleanup:
don't call CTX_data_scene(C) for every marker drawn
also remove unneeded call when scene was already defined as well as redundant scene cast.
2012-02-06 22:17:41 +00:00
Joerg Mueller
10985c38d6 Bugfix for part 1 of [#30052].
Removed the if, because it's also in the function called.
2012-02-06 17:24:51 +00:00
Campbell Barton
8f3170a17c no functional change: NC_SPACE|ND_SPACE_VIEW3D notifier was getting an Object as a reference, currently this argument isn't used, but every other use passes a view3d, so better pass a view3d here too. 2012-02-05 21:58:24 +00:00
Campbell Barton
212337139c fix [#30062] Weight, Texture,Vertex Paint - Face Selection Mask Icon: Out of Sync
missing notifier for header redraw.
2012-02-05 21:48:41 +00:00
Domino Marama
2cb3fe3dfd Patch #30050 by Juha Mäki-Kanto (kanttori)
Fixes for Collada exporter.
Adds Second Life compatibility for armatures
Adds objects parentinverse to exported transform if it's non-identity
Fix mismatch between add_inv_bind_mats and add_joints_source accessor counts
Fix bone exports in world space should be local space
2012-02-05 16:19:28 +00:00
Thomas Dinges
fa163003c9 Release schedule:
* BCon4, important bug fixes only.
* Update readme.html and links to release logs, which now point to http://www.blender.org/development/release-logs/blender-262
2012-02-05 16:05:36 +00:00
Sergey Sharybin
04a079668c Movie Clip Editor: cleanup of display panels
- Split display options into two panels:
  * Display, which contains all general display options related on editor itself
  * Marker Display, which contains options which makes sense for markers themselves
   and not used so often.
- Remove Show GPencil option which doesn't actually make sense because strokes might
  be disabled from GPencil panel
- Removed Show Pyramid option and show pyramid for KLT tracker as default.
- Added hotkey to toggle Show Disabled (Alt-D)
- Added hotkey to toggle Show Pattern (Alt-S)

Changes in interface and hotkeys are done by Sebastian Koenig.
 Thanks for the patch!

Own changes in interface were related on Aspect Ratio. It doesn't make
much sense for tracking (camera pixel aspect is what you'll want to use,
but for masking it would make much more sense because when you just
want to create a mask for footage you don't actually have camera).
Just removing from interface seems not so nice for now.

Merged from soc-2011-tomato rev43872
2012-02-05 13:43:58 +00:00
Sergey Sharybin
35c8226d28 Fix #30073: metaball + edit mode + proportinal edit hotkey
Was missed registration of PET toggling operators.
2012-02-05 11:42:20 +00:00
Benoit Bolsee
223216a36f BGE bug #21947: Softbodies not using object size. Fixed by scaling the shape before creating the soft body. 2012-02-05 09:32:35 +00:00
Benoit Bolsee
5e92c4e381 win32 quicktime: missing include. How comes nobody else got this problem? 2012-02-05 09:29:53 +00:00
Campbell Barton
761122da2f Code Cleanup: minor changes & sync with bmesh. 2012-02-05 07:40:15 +00:00
Campbell Barton
4acab3eb33 Code Cleanup: line length and use Py_ssize_t for PyC_AsArray utility function. 2012-02-05 02:04:26 +00:00
Brecht Van Lommel
04266c2225 Fix: non-power-of-two-textures were always disabled on ATI/Apple due to poor
support in some older cards, now it does a more precise check for problematic
cards so that it can be enabled on new cards that do support it properly.
2012-02-04 19:57:09 +00:00
Benoit Bolsee
4c7e769aa1 BGE bug #29133: Render to Texture not working. Fixed by using same viewport to render and capture. 2012-02-04 17:20:38 +00:00