Brecht Van Lommel
5c3d8c1eb6
Cycles: fix missing node editor redraw when assiging/removing materials.
2011-10-16 16:53:24 +00:00
Brecht Van Lommel
d5b679253a
Cycles:
...
* Sun, area and point lights with size now supported
* Cast shadow option to disable shadow casting for lamps
* Emission strength of materials tweaked such that setting strength to 1.0
basically makes the material "shadeless" in that the value of the color
input will be the resulting color in the image.
2011-10-15 23:49:01 +00:00
Brecht Van Lommel
d293d74942
Cycles: more tweaks to get old/new shading systems working better together, for
...
now also made non-material/world/lamp stuff use old texture datablocks, no time
to get this fully working now. Still some python tweaks to do to ensure the right
panels show.
2011-10-15 20:43:45 +00:00
Brecht Van Lommel
9c959d98fe
Cycles: make Attribute node work, code for it was implemented in kernel, only
...
missing was the ability to specify the attribute name in the node. This makes
it possible to use multiple uv or vertex color layers now.
2011-10-15 20:13:35 +00:00
Brecht Van Lommel
19a42adc61
Cycles: fix nodes gone missing after new/old shading node compatibility changes.
2011-10-15 16:20:41 +00:00
Brecht Van Lommel
9ebfcea8f3
Cycles: revert commit that joined surface/volume socket into a single shader socket,
...
on second thought this makes it a bit too difficult to understand what's going on.
2011-10-12 23:03:12 +00:00
Brecht Van Lommel
7d86c6b157
Cycles: add compatibility check to node link menu.
2011-10-12 16:09:35 +00:00
Brecht Van Lommel
aff03aa778
Cycles: tag shading nodes as being compatible with the old/new shading system,
...
so they only appear in the list when needed. Old shading nodes were previously
disabled entirely, breaking internal renderer compatibility.
2011-10-12 15:54:53 +00:00
Brecht Van Lommel
c3c44f8736
Cycles: don't use glsl in textured draw mode, to keep things simpler and faster
...
there for now. Also add viewport color setting for materials for solid draw mode.
2011-10-12 15:48:26 +00:00
Brecht Van Lommel
9ec1114765
Cycles: make node with multiple input sockets with the same name work. Previously
...
nodes like Mix had their sockets renamed to Color1/Color2, but doing this breaks
compatibility for the internal renderer, so restored it now.
2011-10-12 15:45:52 +00:00
Brecht Van Lommel
7503a7edfb
Cycles: replace surface/volume sockets in output nodes with a single shader socket,
...
decided it's better to render objects as either surface or volume.
This may break the volume rendering patch, but shaders with volume closures still
get tagged as having volume closures, so it should be fixable without too many
changes.
2011-10-12 15:42:35 +00:00
Brecht Van Lommel
85818c8209
Cycles: add python render engine option to use new shading nodes or not, instead
...
of hardcoded check for cycles. Also some other minor code cleaning tweaks.
2011-10-11 17:19:55 +00:00
Brecht Van Lommel
4f33d65ba1
Cycles: svn merge -r40411:40934 ^/trunk/blender
2011-10-11 14:30:53 +00:00
Campbell Barton
79f21f88c2
fix for drag-n-drop ID's for renaming (own fault when fixing #24016 )
2011-10-11 10:59:52 +00:00
Dalai Felinto
435a0ccda7
Adding FA (Persian - Farsi) language to po + flipping Arabic name in the Language Enum
2011-10-11 05:52:58 +00:00
Campbell Barton
93e4de7552
fix for py/rna assigning an invalid index. also give better error message in this case.
2011-10-11 05:45:59 +00:00
Campbell Barton
85a2280c86
fix for crash in BLI_join_dirfile() when the dir is longer then the target string.
...
starting blender in a dir longer then 240 chars would crash.
2011-10-11 05:21:24 +00:00
Xiao Xiangquan
45ad9faf34
Handle "Open Recent..."
2011-10-11 05:02:45 +00:00
Campbell Barton
fa5275cdfa
- bpy.path.abspath(), added optional library argument since any paths from linked datablocks are relative to this, not the blend files path, this saves kludgy path code wherever libraries may be used.
...
- Image "Edit Externally" operator can now edit relative library images.
also minor edits to navmesh.
2011-10-11 04:09:11 +00:00
Campbell Barton
e8bcccae33
create navmesh operator would crash on non-mesh objects, add type check and report if no mesh objects are selected.
2011-10-10 22:06:07 +00:00
Sergey Sharybin
21a755b4f5
Fix #28857 : 2.60 rc1 regression?
...
If displacement mapping is used, normals shouldn't be flipped.
2011-10-10 14:32:08 +00:00
Campbell Barton
90b3bd84da
fix [ #28850 ] With "Auto-keyframe" on, the "Selection to Cursor" option doesn't create keyframe.
2011-10-10 12:56:21 +00:00
Sergey Sharybin
92c4fe8713
Revert "Fix #28863 : Inconsistent UI inside of the UV/ImageEditor window"
...
This reverts commit 40899 due to UI department feedback.
2011-10-10 10:35:18 +00:00
Campbell Barton
ac1e737aa8
correct operator name from my own recent changes and edit navmesh rna prop name for consistency
2011-10-10 10:24:26 +00:00
Campbell Barton
54adf3de62
fix bad svn ID tags
2011-10-10 09:44:14 +00:00
Campbell Barton
bc40f11093
header cleanup (no functional changes)
2011-10-10 09:38:02 +00:00
Bastien Montagne
1c0ff6109d
Now append/link will start at current blend file directory, if available (lastest used lib keeps priority).
2011-10-10 08:25:28 +00:00
Campbell Barton
317d11214e
add in empty modifier slot so dynamic paint files don't break.
2011-10-10 07:50:39 +00:00
Sergey Sharybin
849c64dc50
Fix #28863 : Inconsistent UI inside of the UV/ImageEditor window
...
Make panels which are on left be toggled by T, and which are on right by N.
2011-10-10 07:40:44 +00:00
Campbell Barton
2de1bd7dc5
updates to navmesh
...
- 2 new navmesh operators, reset and clear navmesh data.
- rename operators to be more consistent with existing names.
- some minor edits to draw function, was getting the custom data for every index when it already had the array.
2011-10-10 07:21:42 +00:00
Campbell Barton
70cd4b77bb
edit error macro formatting (confuses some editors)
2011-10-10 07:10:53 +00:00
Campbell Barton
aa3b531839
fix for using uninitialized stack memory in mesh_foreachScreenFace__mapFunc(), used for face selection.
2011-10-10 06:56:28 +00:00
Campbell Barton
f0cd9f987d
- for some reason navmesh wasnt drawing when VBO was enabled.
...
- fix navmesh crash (may well have been from own changes)
- changing VBO's now redraws all windows - useful for checking if VBO draws differently.
2011-10-10 02:56:26 +00:00
Campbell Barton
bdd7c2d3f4
fix documentation error - [ #28862 ] Method 'difference' doesn't exist in Quaternion object.
2011-10-10 01:14:49 +00:00
Campbell Barton
f6cd962df7
bug #28848 also mentions Ctrl+Backspace isnt working.
...
added support for ctrl+backspace/delete.
2011-10-10 01:11:40 +00:00
Campbell Barton
a0469c7030
fix [ #28860 ] CRASH loading scene
...
Sequence strips with missing scenes were missing a NULL check.
2011-10-10 00:38:32 +00:00
Campbell Barton
5699014440
add 3 PLY and STL export tests.
2011-10-10 00:29:23 +00:00
Campbell Barton
7b3ea6cc2c
mesh VBO drawing code was swapping red/blue vertex colors - this is confusing because MCol.r is blue and MCol.b is red but not excuse! (and how come nobody noticed this?).
...
- fixed this error in 4 places.
2011-10-10 00:01:44 +00:00
Campbell Barton
39c4e3ae3c
fix for editmode opengl drawing (bug from own recent optimization), need to set glShadeModel() outside glBegin(GL_QUADS / GL_TRIANGLES).
2011-10-09 23:04:31 +00:00
Campbell Barton
17b66b46ad
fix crash for recent navmesh edits when setting a non-mesh object to a navmesh.
...
also minor cleanup.
2011-10-09 21:43:13 +00:00
Campbell Barton
7306eb84f0
move NavMesh draw code out of being a modifier and into DerivedMesh drawing hack (which IMHO is less bad then mis-using a modifier only to override drawing calls).
2011-10-09 21:11:51 +00:00
Campbell Barton
f19022f8e0
increase the hit radius for vertex selection in weight paint mode - increased to 50 (same as editmode), was 3.
2011-10-09 08:39:38 +00:00
Campbell Barton
8714fb7019
replace sprintf with strcpy where no formatting is done and return value isn't used.
2011-10-09 06:03:38 +00:00
Campbell Barton
6778f7ae05
clear some warnings.
2011-10-09 04:11:18 +00:00
Campbell Barton
e60a7fbc57
correction to RNA class api references (only used for docs)
2011-10-09 02:24:51 +00:00
Campbell Barton
ee8078fb12
fix for BUILTIN_KSI_WholeCharacter keying custom string/collection/group properties
2011-10-09 02:11:43 +00:00
Campbell Barton
a378668ac2
text edit: selecting zoomed in text with the mouse had an incorrect offset.
2011-10-09 01:11:07 +00:00
Campbell Barton
e50a485836
text editing: make jumping left/right both act the same way (was skipping an extra char when jumping left).
2011-10-09 00:54:41 +00:00
Campbell Barton
db4b3742a1
button text editing: home/end were not moving the cursor position, only the selecton.
2011-10-09 00:45:26 +00:00
Campbell Barton
a016fdd499
fix [ #28848 ] Editing object name (e.g.), Ctrl-Shift-Arrows don't work as Ctrl-Arrows.
2011-10-09 00:35:31 +00:00