Lukas Tönne
c19f3ea1b2
Fixed comment.
2015-05-04 14:31:44 +02:00
Bastien Montagne
e560bbe1d5
Fix possible crash with datatransfer operator when source object was hidden.
...
Mismatch in poll and exec funcs when getting active (source) object...
2015-05-04 14:30:00 +02:00
Antony Riakiotakis
5a8629c0d7
Different drawing for object centers.
...
Code here did depth test always and depth range 0.0.
There is no real reason for object centers to write and get tested
against depth buffer in this case, just disable the depth test instead
;)
Helps with blurry object centers in depth of field mode too (centers
wrote depth 0 and were always blurry)
2015-05-04 13:53:23 +02:00
Porteries Tristan
be30070d86
BGE: Cleanup KX_BlenderSceneConverter.cpp
...
This commit is a little cleanup for whitspaces, braces, spaces around operators and useless keywords struct/class.
Reviewers:sybren
2015-05-04 13:36:11 +02:00
Sergey Sharybin
b7d0ff0ad6
Separate scene simplification into viewport and render
...
This way it is possible to have viewport simplification bumped all the way up,
making viewport really responsive but still have final render to use highest
subdivision possible.
Reviewers: lukastoenne, campbellbarton, dingto
Reviewed By: campbellbarton, dingto
Subscribers: dingto, nutel, eyecandy, venomgfx
Differential Revision: https://developer.blender.org/D1273
2015-05-04 16:31:10 +05:00
Campbell Barton
7e3ee2d15d
Skin Modifier: remove redundant edge-calculation
2015-05-04 20:59:34 +10:00
Campbell Barton
abd68c6e45
Fix T42893: Skin Modifier, changes randomly toggling editmode
...
Own regression, previously it would do a full mesh normal calculation for each isolated shape
(could hang on meshes with many loose parts).
However the normals are needed, instead of doing a full calculation,
just set normals on new faces.
Thanks to Brecht for finding cause!
2015-05-04 20:56:57 +10:00
Brecht Van Lommel
8d5eeab473
Skin Modifier: Add missing operator stack pop
2015-05-04 20:56:57 +10:00
Antony Riakiotakis
93055b1c22
Fix metadata display in sequencer lost after doing a preprocess
...
transform.
IMB_makeSingleUser makes a copy and destroys metadata. I am not sure if
this is the safest way to make a single user ImBuf (setting the refcount
to 0 is simpler and there's less, but no zero, risk of dangling
pointers) but I will leave this as is for now in case there is an actual
need for a copy here. The alternative approach should be tested at some
point.
2015-05-04 12:53:16 +02:00
Tamito Kajiyama
046388830a
Freestyle: Fix for line style ID datablocks not copied when fully copying a scene.
2015-05-04 19:52:03 +09:00
Antony Riakiotakis
b07c2961fa
Don't scale metadata font with zoom - makes strings not consistently
...
adhere to the string length
2015-05-04 12:30:26 +02:00
Antony Riakiotakis
711e2f71a8
Support displaying metadata for images in sequencer preview windows (not
...
backdrop)
2015-05-04 12:18:19 +02:00
Sergey Sharybin
23a79c42b5
BGE Player: Fix compilation error after cleanup commit da8a62a
2015-05-04 14:39:12 +05:00
Campbell Barton
4e1c27f646
Fix T29029: Grease pencil fails in Quad View
2015-05-04 19:12:54 +10:00
Sergey Sharybin
c46f40e9e2
Freestyle: Compilation error fix after recent changes in BKE_object_add()
2015-05-04 13:52:44 +05:00
Campbell Barton
4edc9d50fd
Correct own error in recent quad-view ruler fix
2015-05-04 18:32:47 +10:00
Campbell Barton
74dc4e87a6
Fix Buttons context, invalid object data access
...
Another instance of T44376.
Crash where the Python context would access a stale pointer to the active object.
2015-05-04 18:06:31 +10:00
Campbell Barton
c9e5e81064
Button Space: clear pin flag when NULL'ing pointer
2015-05-04 16:12:12 +10:00
Campbell Barton
77e6a001a9
Fix T44376: Buttons context, invalid data access
...
Removing a scene from the buttons window would crash from a Python operator.
2015-05-04 16:01:20 +10:00
Campbell Barton
8d5e57748a
Cleanup: WM_main_remove_notifier_reference
...
Assumed the `reference` pointer is an ID, currently true, but may not always be.
Add a callback specifically for this purpose since cleaning up notifiers and space-types are different operations.
2015-05-04 16:01:20 +10:00
Campbell Barton
da8a62adce
Cleanup: naming for callback wrappers
2015-05-04 16:01:20 +10:00
Campbell Barton
8515be8a73
Remove redundant outliner lookup freeing objects
2015-05-04 16:01:20 +10:00
Campbell Barton
fdc5f9c0a8
Add name argument to data creation API calls
...
Was adding then renaming, unnecessarily.
2015-05-04 16:01:20 +10:00
Sybren A. Stüvel
4e7ef3f5cd
BGE: Added 'ghost' arg to KX_GameObject.suspendDynamics() method
...
The implementation of this 'ghost' argument already existed in the C++
source, but wasn't exposed to Python yet.
2015-05-04 12:04:09 +08:00
Tamito Kajiyama
dbee634572
Fix typos.
2015-05-04 01:53:34 +09:00
Sergej Reich
ee7538613a
Rigidbody: Fix viewport update when changing collision shape in toolbar
2015-05-03 18:01:47 +02:00
Bastien Montagne
d33b564f91
Fix T44591: Set PBone Group operator did not handled predifined group index in its invoke func.
2015-05-03 16:53:43 +02:00
Krzysztof Recko
dced56f02a
Fix T44185, Fix T44090: hair texture density working unreliable.
...
"Unexisting" particles must be freed after the unexist flag has been set,
which was no longer the case after 78c491e62a .
Reviewers: brecht
Differential Revision: https://developer.blender.org/D1213
2015-05-03 16:21:58 +02:00
Brecht Van Lommel
6159f9a55a
Fix T41739: 3D view solid draw mode missing some material node updates.
2015-05-03 15:39:25 +02:00
Brecht Van Lommel
2775eaf01a
Fix T41893: inconsistent color management on sculpt texture nodes previews.
2015-05-03 15:25:43 +02:00
Bastien Montagne
944e0bd7b5
Cleanup: rename clear_skin & clear_mask operators to skin_clear and mask_clear.
...
So that they match all other op names around - and sensible logic as well.
2015-05-03 15:18:27 +02:00
Bastien Montagne
3a808270df
Fix T44589: No way to add a skin data layer manualy.
...
There are several ways to end up with an object with skin modifier, but no
skin data on the geometry. So we need an operator to add it by hands.
Also tweaked a bit UI of this modifier.
2015-05-03 15:09:48 +02:00
Bastien Montagne
472b3c5828
We do need to transform lnors in BKE_mesh_transform(), much handy for scripts.
2015-05-03 11:55:58 +02:00
Gaia Clary
9715d4c778
Added name attribute to instance_geometry nodes (request for Second Life)
2015-05-02 23:17:40 +02:00
Campbell Barton
6bc8a3f8d3
BMesh: rip-tool can now split off isolated fans
...
Useful since there wasn't a good way to do this previously.
2015-05-03 06:17:32 +10:00
Campbell Barton
dd48ddd605
BMesh: utility to split isolated loop regions
2015-05-03 06:16:59 +10:00
Campbell Barton
33cc5ed495
Cleanup: redundant vars
2015-05-03 06:16:59 +10:00
Porteries Tristan
4fca12e0fa
Fix rna default value in BGE UI.
2015-05-02 21:09:29 +02:00
Campbell Barton
bd5e578804
BMesh: rework BM_vert_is_manifold (simplify logic)
...
- simplify boundary handling (walk from boundary - no need to reset walking)
- early exit when the vert has >2 boundaries
- use BM_vert_step_fan_loop to walk the fan
2015-05-03 04:46:24 +10:00
Campbell Barton
de031b7c89
BMesh: replace radial count with simple checks
2015-05-03 04:41:39 +10:00
Campbell Barton
c826566ce3
Sound now returns even if file fails to load
...
With various codecs its hard to ensure a sound will load or not.
2015-05-03 04:41:39 +10:00
Porteries Tristan
8e4ac2d229
Fix ghash assert during BGE libload.
...
The assert message was caused by the multi call of BLO_library_append_begin in KX_BlenderSceneConverter::LinkBlendFile.
2015-05-02 18:43:39 +02:00
Campbell Barton
53d08ec506
BMesh: BM_mesh_edgesplit
...
Did quite a few checks not to tag bad splits (which wasn't working perfectly)
Instead rely on BM_vert_separate not to create invalid geometry.
2015-05-02 16:24:46 +10:00
Campbell Barton
f283b959e7
BMesh: BM_vert_separate double edge fix
...
Splitting edges could give duplicates.
2015-05-02 16:24:35 +10:00
Campbell Barton
c276cfb3c0
BMesh: return error on mesh validate
2015-05-02 15:52:27 +10:00
Campbell Barton
a5869945c6
Cleanup: bmesh src/dst order in API args
2015-05-02 15:46:03 +10:00
Campbell Barton
5e1c729882
Cleanup: use function attrs for BMesh inline funcs
2015-05-02 15:45:57 +10:00
Brecht Van Lommel
86f80c481c
Fix T44353, Fix T43981: random particle distribution overlaps if number is greater than 256.
2015-05-01 19:21:41 +02:00
Brecht Van Lommel
b6caefdaa9
Fix T43711: dual quaternion deform bug with shearing in deform matrix.
...
This also increases the tolerances in is_orthogonal / is_orthonormal functions,
which were much too low for practical purposes.
2015-05-01 19:21:41 +02:00
Brecht Van Lommel
bf7098a93f
Auto pack: don't show "No new files have been packed" on every .blend file save.
2015-05-01 19:20:42 +02:00