Brecht Van Lommel
b26d3f371a
Fix #30603 : cycles incorrect ray differentials when rendering with panorama
...
camera, causing bump map issues.
2012-03-20 19:32:12 +00:00
Lukas Toenne
9687c1fd2e
Remaining fix for #30606 . Added a simple link limit check when replacing nodes and relinking inputs, to avoid double links on inputs.
2012-03-20 17:56:12 +00:00
Daniel Genrich
8186c5e429
Smoke bugfix: Fix copy paste + bad "if's" resulting in missing releation in depsgraph (smoke collision groups not working, collision object relations wrong).
2012-03-20 17:51:14 +00:00
Brecht Van Lommel
e89642ef99
Fix #30600 : extrude in vertex select mode did not copy attributes like smooth/flat
...
flag from adjacent face. It did work for edge select mode, now uses same code.
2012-03-20 17:02:03 +00:00
Sergey Sharybin
d78accb585
Correction for previous commit to make normals direction always inside
2012-03-20 17:00:25 +00:00
Lukas Toenne
8486a2187f
Partial fix for #30606 . In node tree updates also update the sock->link pointers when only the NTREE_UPDATE_NODES flag is set, this happens when duplicating a node, which can lead to wrong pointers on the duplicated but unlinked node.
2012-03-20 16:59:00 +00:00
Sergey Sharybin
5ae9ad9113
Fix #30420 : Metaball Shading Inverted in Raytrace Reflection (Blender Internal)
...
Issue was caused by negative scale of camera. Metabolls are using procedural
normals and in case of negative scaled camera normals for them shall be flipped.
2012-03-20 16:17:34 +00:00
Brecht Van Lommel
8b4c1f729b
Cycles: fix issue reported in IRC, rendering a material that mixes a transparent
...
and glass BSDF would give a different result with/without using light passes.
2012-03-20 16:16:17 +00:00
Sergey Sharybin
6628318fdb
Port mball_to_mesh to use polys.
2012-03-20 14:23:22 +00:00
Janne Karhu
ad1a181316
Fix for [ #30445 ] Particle simulation, rekey crashes blender
...
- Entering particle mode crashed due to missing checks if a particle didn't have any baked keys.
- The rekey functionality is only supported for hair, so replaced the operator poll function with the correct one.
- Also replaced a couple of other "only hair" operator poll functions to the correct ones.
2012-03-20 12:59:45 +00:00
Sergey Sharybin
12be17bfa4
Fix #30590 : Crash in multires when undoing extrude [File incl.]
...
Missed initialization of hidden array when copying mdisps data from
one face to another.
2012-03-20 11:51:04 +00:00
Campbell Barton
1272492445
temp disable inset boundary option, it can make invalid meshes, need to look into this further.
2012-03-20 11:45:55 +00:00
Campbell Barton
db13daff24
replace SETCOL defines with inline function: rgba_char_args_set
2012-03-20 09:45:17 +00:00
Campbell Barton
9dd0c4c232
rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines.
2012-03-20 08:42:26 +00:00
Nicholas Bishop
a0ea68a584
Fix uninitialized variable in multires apply base.
...
Reported on BlenderArtists by Guffy, was causing ugly spikes in lower
levels.
2012-03-20 08:23:53 +00:00
Campbell Barton
c5f15da34e
py/rna api - fix for an empty enum flag with no members being displayed as {}, now check for this case and display as set()
2012-03-20 07:52:39 +00:00
Campbell Barton
3b9b53d876
fix [ #30589 ] RNA function descriptions not showing in Python console on autocomplete
...
show rna function description and arguments now.
2012-03-20 07:41:47 +00:00
Campbell Barton
65a71a1bbf
fix [ #30583 ] very old blend files are loading post-bmesh with no face/uv information, just wires
...
versioning code called a customdata update function which ended up clearing tessfaces - before converting polygons to tessfaces.
Added check so tessfaces aren't cleared when there are no polygons.
2012-03-20 05:04:51 +00:00
Campbell Barton
be116242d4
style cleanup
2012-03-20 04:27:14 +00:00
Daniel Genrich
3427749090
Make collision function more general so it can be used by other modifiers, too. [This is preparation work for animated smoke collision]
2012-03-20 04:15:41 +00:00
Campbell Barton
46f157c340
style cleanup
2012-03-20 04:09:43 +00:00
Campbell Barton
bfcd1afe9c
compile fix: linux BLI_gzopen declare was conflicting.
2012-03-20 03:48:32 +00:00
Campbell Barton
b163e19b8d
py api:
...
fix for collection functions not showing up in __dir__,
eg, console autocomplete didnt show up bpy.data.libraries.load
also fix refcounting leak with returning attributes from collections.
2012-03-20 03:13:25 +00:00
Alexander Kuznetsov
f11a6d3a84
Adds support for utf paths on Windows.
...
Not all file formats/calls are supported yet. It will be expended.
Please from now on use BLI_fopen, BLI_* for file manipulations.
For non-windows systems BLI_fopen just calls fopen.
For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-20 02:17:37 +00:00
Campbell Barton
deea1f38b1
real fix for booleans and face shading this time.
...
CDDM_tessfaces_to_faces wasbt updating the polyindex (missed incrementing the polyindex pointer).
also added an assert so non release builds will complain when CDDM_calc_edges_tessface() needs to run before CDDM_tessfaces_to_faces().
2012-03-20 01:33:24 +00:00
Janne Karhu
fcd5550a42
Some advanced particle rotation modes and reorganization of the rotation panel:
...
- More angular velocity modes to support creative effects.
- Renamed "Initial Rotation" to "Initial Orientation" to better reflect the functionality
- Renamed "Spin" angular velocity mode to "Velocity".
- Organized the rotation panel a bit better.
- Also some better names and tooltips for the different rotation values.
2012-03-20 01:00:28 +00:00
Campbell Barton
1362523ce6
CDDM_calc_edges_tessface was being called twice for boolean and explide modifiers, now leave it up to the caller to run.
2012-03-20 00:59:51 +00:00
Campbell Barton
cdfffafd20
partial fix for bug where booleans were using invalid face/poly normals.
...
the problem remains (though not quite as bad) but think this is because of a bug elsewhere.
2012-03-20 00:51:37 +00:00
Campbell Barton
7ba8c9e3bf
patch [ #30595 ] Wiki Quick Hacks: Make Tooltip Background Colour Themeable
...
from luke frisken (lfrisken)
2012-03-19 22:29:16 +00:00
Nicholas Bishop
ccbed13343
Quiet warnings about unused functions and variables.
...
Commented or '#if 0' these functions/variables and marked with
'UNUSED' comment so they can be restored in the future if needed.
2012-03-19 22:21:40 +00:00
Campbell Barton
e6834fcf85
bmesh inset: outset option
2012-03-19 21:40:17 +00:00
Nicholas Bishop
9beef61199
Fix format string warnings (gcc) by using string literals.
...
gcc 4.6 was giving warnings like this:
"warning: format not a string literal and no format arguments [-Wformat-security]"
2012-03-19 21:38:35 +00:00
Campbell Barton
d91deb9e97
bmesh inset:
...
option to inset boundaries.
2012-03-19 21:27:24 +00:00
Nicholas Bishop
9b5151dbdc
Redraw data properties after selecting a bone.
...
This is so that selecting bones while in weight paint mode will show
the correct active vertex group.
2012-03-19 21:21:23 +00:00
Brecht Van Lommel
f18dab65ad
Fix #30531 : mirror modifier with vertex groups did not add both the left and
...
right groups to merged vertices, only one. This made the result asymmetric,
now merged vertices will be part of both groups with half weight.
2012-03-19 21:09:16 +00:00
Sergey Sharybin
82979d5ab5
Fix #30590 : Crash in multires when undoing extrude [File incl.]
...
- Crash was caused by recursively copying directory into itself, fixed
by switching from opendir() to scandir().
- Also do not try to unpack images which doesn't have name.
2012-03-19 20:47:17 +00:00
Nicholas Bishop
fe4ba0a462
Remove debug print in create_vert_poly_map
2012-03-19 20:28:22 +00:00
Campbell Barton
9c642781a6
style cleanup: minor change to bmesh py repr + comment on loop radial next/prev to avoid confusion.
2012-03-19 20:01:59 +00:00
Campbell Barton
4fa92f1e5f
fix for error reported on IRC, sorting zero sized lists would cause a crash.
2012-03-19 19:27:39 +00:00
Bastien Montagne
3dbc34049a
Spelling of UI messages (then -> than).
2012-03-19 19:17:17 +00:00
Brecht Van Lommel
d7b072f450
Fix #30456 : transforming object with a hair particle system, on a frame after
...
the cache end frame would reset to the previous state on confirm. Was an issue
with object animation being evaluated unnecessarily, now make check more
precise.
2012-03-19 18:14:24 +00:00
Brecht Van Lommel
8e0493b290
Fix #30449 : sampled motion blur not working with softbody.
2012-03-19 17:22:01 +00:00
Brecht Van Lommel
c2c0597239
Fix #30594 : UV editor transform tools did not show help/pivot line to indicate
...
transform center as it did in 2.49.
2012-03-19 17:21:46 +00:00
Sergey Sharybin
73a4f7f4e2
Fix for drag-n-drop images into sequencer: it was impossible to select files
...
from a file browser after dropping image strip from an external application.
2012-03-19 10:52:16 +00:00
Campbell Barton
305da3a743
bmesh inset:
...
fix hole when 2+ faces a vert but no edges (would make a hole), now splice the verts back together.
2012-03-19 09:47:32 +00:00
Campbell Barton
543bf45ef0
style cleanup: + some spelling errors for inset
2012-03-19 08:49:49 +00:00
Campbell Barton
6f104aad3a
code cleanup: bmesh api - make arg order consistent - htype before hflag or oflag.
2012-03-19 08:36:27 +00:00
Bastien Montagne
e9da46aec9
Grmml, dummy typo in previous UI message-fix commit… :/
2012-03-19 07:57:35 +00:00
Campbell Barton
59759b23e7
bmesh inset:
...
improve inset code by not allocating an array the size of edges - instead count all inset edges and allocate an array only for those.
also fixes an error where edge lengths were being compared while the verts were being placed. (now do beforehand)
2012-03-19 07:20:54 +00:00
Campbell Barton
86796252da
bmesh: inset tool, access from face menu (Ctrl+F)
...
- Even option (like solidify even option)
- Relative option (insets based on lengths of surrounding edges)
TODO: merge tares when 2+ face corners meet but don't form a contiguous region.
2012-03-19 05:45:15 +00:00