Commit Graph

66005 Commits

Author SHA1 Message Date
Bastien Montagne
65c5be9676 Fix T38843: Bone parallel to world z axis flicking when scale in edit mode.
This commit hopefully fixes all glitches we had when bone was Z-aligned. Note that when you init a transform
with a Z-aligned bone and change it to be non-Z-aligned, you will still get some brutal roll change,
there is not much things we can do here afaik...
2014-02-26 21:36:24 +01:00
Brecht Van Lommel
59a0828ac1 Fix T38856: mark seam in search menu clearing the seam in some cases.
It should not remember the operator property for the next time here.
2014-02-26 20:56:36 +01:00
Brecht Van Lommel
0e492ac482 Fix T36652: .blend file with minimized window not loading correctly on Windows. 2014-02-26 20:50:55 +01:00
Brecht Van Lommel
0de1df49e1 Fix T37756: file > open with file selector already open not restoring screen correctly. 2014-02-26 19:50:12 +01:00
Brecht Van Lommel
c4eab10e5c Fix T38853: right click menu add driver should not be possible to redo.
This was already disabled for the keyframing operators, needs to be done for
drivers as well as this doesn't work.
2014-02-26 18:56:00 +01:00
Brecht Van Lommel
0fa832bed2 Fix T38855: DIRECTORY_PATH vs. DIR_PATH inconsistency in python API docs. 2014-02-26 18:56:00 +01:00
Lukas Tönne
ffa94cb713 Fix for bug reported by Pablo Vasquez (venomgfx) on IRC: Single layer
renders were broken.

This was caused by rB1a79abdad2443ff9f12e7efd95ee78a264a9d60a which
makes a copy of the render layer list for thread safety. The single
layer passed to this function is still in the original list though, so
to get the correct index it has to be looked up there. Otherwise no
active index is set and all layers are rendered every time.
2014-02-26 18:47:25 +01:00
Brecht Van Lommel
e1e247a99b Fix T38710: volume render issue with transparent surfaces. 2014-02-26 18:47:50 +01:00
IRIE Shinsuke
49e8cfd809 Further work to fix T38726: signal viewport to update when adding/removing render layers.
Reviewers: brecht

Differential Revision: https://developer.blender.org/D346
2014-02-26 18:41:06 +01:00
Jens Verwiebe
3ca606ffc3 Locale_wrapper: make the bad_cast catch more clear and fix the std::exception message 2014-02-26 17:33:44 +01:00
Brecht Van Lommel
a856b123ff Fix T38726: missing rendered viewport update when removing render layer. 2014-02-26 17:29:50 +01:00
Brecht Van Lommel
1dbd3ae629 Fix T38831: blender internal enabling shadow pass changes material node diffuse.
It would include/exclude shadow depending on the pass being disabled/enabled,
but that should have no influence on the combined render result. Now it always
includes shadow.
2014-02-26 16:55:50 +01:00
Lukas Tönne
4cfca0adfe Nicer solution to T38846: Split off the render layer forcing from the
validity check for render operator.

This way scene DNA can stay read-only there, cleaner and we don't have
to pass an awkward bool pointer around.
2014-02-26 14:56:27 +01:00
Lukas Tönne
ecbae4ab46 Fix T38846: Render layer checkbox is not refreshed.
The render operator invoke checks render layers, which can force the
render layer to be activated. This requires a notifier, which has to be
done in the operator itself (can't do this inside pipeline code).
2014-02-26 14:39:14 +01:00
Sergey Sharybin
ef2c05c77e Fix crash happening when drawing GP for a track which doesn't have visible marker 2014-02-26 19:42:59 +06:00
Sergey Sharybin
3b44ca08a9 Fix 3D tracks to mesh not aligning mesh properly
Also fixed wrong frame number used for reconstructed object
visualization in 3D viewport.
2014-02-26 19:40:04 +06:00
Campbell Barton
cf0120b189 Fix for own regression: remove doubles deselected faces 2014-02-26 23:42:47 +11:00
Campbell Barton
b5b1ce9d21 BMesh: add overwrite option to BM_mesh_elem_hflag_enable/disable_test 2014-02-26 23:42:47 +11:00
Sergey Sharybin
8a5221750e Ignore zero weighted markers in keyframe selection
It doesn't make sense to use zero-weighted tracks as a correspondences
in keyframe selection.

Such tracks are not guaranteed to be tracked accurately because their
purpose is to add reference points in 3D space without affecting the
solution.
2014-02-26 17:56:10 +06:00
Campbell Barton
4a61df9c95 Fix T38837: Ctrl+RMB can't select posemode
This used to work (unintentionally), now check for paint-select
modes as well as editmode for ctrl+rmb to force object selection.
2014-02-26 16:05:29 +11:00
Campbell Barton
081a3412a9 Paint API: add BKE_paint_select_elem_test: to check on paint selection 2014-02-26 16:00:54 +11:00
Campbell Barton
1dd7e759a0 Sculpt: allow to select objects when in sculpt mode
This was disabled with circle select (which makes sense), but all other
paint modes allow this and sculpt isnt using select mouse.
2014-02-26 15:41:42 +11:00
Campbell Barton
d2548f561c WM: hide screen management and ndof operators from seach popup 2014-02-26 13:48:41 +11:00
Campbell Barton
ece755ffe6 Fix for sequencer add operators showing up in spacebar search. 2014-02-26 13:30:25 +11:00
Campbell Barton
497e1de25b Fix for constraint poll function succeeding when no constraint exists 2014-02-26 13:30:25 +11:00
Sergey Sharybin
70924a7b2e Fix T38548: Edit externally always uses first frame only 2014-02-26 10:58:14 +11:00
Brecht Van Lommel
593d856217 Fix T38836: change screencast timer limits so you can record with higher FPS.
Note that the screencast implementation is quite poor and that you may not even
get the requested FPS, the timing system here is not reliable.
2014-02-25 21:49:38 +01:00
Brecht Van Lommel
8cfb5e91ea Further work for fix T38804: unnecessary empty space in the modifier UI. 2014-02-25 21:49:38 +01:00
Martijn Berger
eb4f2b4897 Fix missing brackets in cpuid bitfield check.
concern raised by lukas_t (rBef73d547cc7c663ad180721094c81b3c81482ac3)
2014-02-25 19:52:38 +01:00
Lukas Tönne
0bef196894 Fix T38811: Cycles particle ids are inconsistent when using multiple particle systems.
Problem is that the particle systems in the cycles database are not
stored in a well-defined order. This means the particle_id for dupli
objects can not simply be assigned using a global running index during
sync.

Now the particle index is assigned locally for each particle system.
When transferring particle data to the device as a single texture, the
particle indices are offset based on the final order of particle systems
in the database.

Reviewers: brecht

Reviewed By: brecht

CC: Andreas80

Differential Revision: https://developer.blender.org/D352
2014-02-25 18:29:11 +01:00
Martijn Berger
ef73d547cc Fix T38815
For AVX support we need to check both OS support and CPU support.
2014-02-25 17:57:05 +01:00
Campbell Barton
03018353f6 Fix T38827: Input preferences can not find Left Mouse or Left Arrow 2014-02-26 00:39:20 +11:00
Campbell Barton
92653fe944 Keymap search: check 'key_modifier' as well as 'type' 2014-02-26 00:13:20 +11:00
Campbell Barton
21cb628399 Assert for invalid customdata allocs 2014-02-25 23:13:17 +11:00
Campbell Barton
ca2b4323a8 Fix T38003: Skin modifier crash with long edges 2014-02-25 23:03:26 +11:00
Sergey Sharybin
dbf653acb7 Disable eager-refinement step of region tracking
This gives much worse results on mango footage (see 04_2e)
so disabling for now for until proper prediction model is landed.

The thing is, currently blender sends input coordinates as the guess to
region tracker and in case of fast motion such an early out ruins the track.
2014-02-25 16:55:24 +06:00
Thomas Dinges
9c755ef652 UI / 3D View: Fix Rigid Body panel, being closed per default. 2014-02-25 10:59:20 +01:00
Sergey Sharybin
f2309ba579 Fix T38824: curve which is constrained on a hidden layer causes cycles crash
Issue was caused by cycles setting scene frame which will update scene for
all the layers (not just visible ones) which confuses depsgraph making
objects which are needed as dependency are not really evaluated.

Made it so setting frame via scene.frame_set() which check whether update
need to be flushed to an invisible objects and do this if so.

Not ideal solution but seems to be safest at this point.
2014-02-25 15:52:56 +06:00
Lukas Tönne
3ae641eb02 Fix T38773: Inconsistent conversion of colors and float values in
Blender Internal shader nodes.

All nodes now use the `nodestack_get_vec` function to convert whatever
input values are connected to the desired type, instead of using the
stack values directly regardless of what they contain.

Note that this might break old node setups that have been adapted to the
faulty behavior, but as discussed in the bug report the 2.70 version is
the right time to fix this.
2014-02-25 10:15:28 +01:00
Sergey Sharybin
bf547a1983 Fix T38806: Proxy file changes don't update until Blender's restart 2014-02-25 13:50:01 +06:00
Campbell Barton
44e53c82d2 Object disable negative object dimensions
these would become positive on update
2014-02-25 18:35:55 +11:00
Sergey Sharybin
d9637fb3be Fix T38745: Curve parent crash when rendering animation
Issue was caused by curve orco calculation for rendering being freed
curve path and not calculating it back.

This left depsgraph in a state that it believed all the object data
is up to date but in fact some parts of data was freed by convert
blender.

Now made it so path is not being freed by render thread. This is
rather a workaround actually because ideally render thread need
to use copy-on-write here or at least use local cache here. But
current logic should be closer to what was happening in previous
release.
2014-02-25 13:27:46 +06:00
Campbell Barton
bb62f9a582 Fix T38778: Properties from bpy.props could be edited as custom props 2014-02-25 17:01:46 +11:00
Campbell Barton
24e1ce25d1 Use string escaping when renaming custom properties 2014-02-25 16:49:14 +11:00
Campbell Barton
18f6bb04fa Fix for custom property editor when property id's contained quotes
Adds bpy.utils.escape_identifier()
2014-02-25 16:19:57 +11:00
Campbell Barton
6a43c2ac1a Fix text select offset /w zoomed UI & popups (colorpicker) 2014-02-25 14:18:04 +11:00
Campbell Barton
073a1f8f7c Revert "Fix T38819: Mark Seam misbehaves when accessed through spacebar search"
This reverts commit d47d030275.

This isn't a bug.
2014-02-25 14:06:37 +11:00
Dalai Felinto
d47d030275 Fix T38819: Mark Seam misbehaves when accessed through spacebar search 2014-02-24 22:48:46 -03:00
Campbell Barton
b6c439d0c4 UI: remove number specific button offset when selecting text 2014-02-25 12:42:17 +11:00
Dalai Felinto
b6bb6d1b2c Fix T38808: image opened with 'relative path', gets absolute path 2014-02-25 11:09:08 +11:00