Bastien Montagne
ce20487fa7
Merging r38765 through r38817 from trunk into vgroup_modifiers.
2011-07-29 13:45:22 +00:00
Bastien Montagne
a22f75606e
vgroup_modifiers: Fixed last problems with WP mode, plus a small fix in weightvg_util.c.
...
It seems WeightVG modifiers can’t enable the eModifierTypeFlag_SupportsMapping flag...
2011-07-29 13:25:58 +00:00
Lukas Toenne
fb738f4929
When relinking node group outputs from sockets of different type, automatically change the output to the source type. Feature request by Daniel Salazar.
2011-07-29 07:14:03 +00:00
Campbell Barton
2658949752
pep8 cleanup, also print message when attempting to run in animation player mode.
2011-07-29 01:24:03 +00:00
Brecht Van Lommel
6d2754e07d
Fix #27719 : custom RNA properties fail to update drivers. Hopefully this is
...
not too slow, but now we do a dependency graph tag also for these in addition
to regular ID properties, not sure how to get around it.
2011-07-28 15:51:59 +00:00
Brecht Van Lommel
b8dcf3a662
Fix part of #27944 : color managment discrepancy in GLSL materials with nodes.
2011-07-28 14:28:27 +00:00
Campbell Barton
b948459031
fix [ #28096 ] Custom gradient for weightpainting in mask mode not working properly.
2011-07-28 12:17:24 +00:00
Sergey Sharybin
2dc826f083
New option for multires modifier: Subdivide UVs
...
Enabled by default and also enabled for older filesm so
there should be no regressions.
In some cases it's useful to not use subdivided uvs for multires.
2011-07-28 11:16:10 +00:00
Campbell Barton
784a68e8f1
sequencer add strips now check for overlap by default (option can be disabled for python when this can become problematic for automation).
2011-07-28 03:44:17 +00:00
Campbell Barton
a5631dba89
only initialize snap from the scene settings for view3d and image spaces since snap in the 3D view was enabling snap in the graph editor and sequencer without a button to disable it in those spaces.
2011-07-28 02:15:58 +00:00
Campbell Barton
fb99e23205
minor cleanup of rna
...
- use an rna enum-set for proximity vert/edge/face options.
- rename some flags.
- better conform to rna naming conventions.
2011-07-28 01:38:48 +00:00
Nathan Letwory
7e87165eea
Don't write library_materials tag when there are no materials.
2011-07-28 00:08:03 +00:00
Dalai Felinto
f532ccedf5
refix for #27912 : crash after mesh.materials.pop() (fixed wrongly on rev. 38299 - patch by Benoit Boilsee
...
bug spotted while reviewing a patch.
things are working now
2011-07-27 20:36:11 +00:00
Bastien Montagne
b830c0e394
Merging r38740 through r38764 from trunk into vgroup_modifiers.
2011-07-27 18:57:57 +00:00
Bastien Montagne
048eabf302
vgroup_modifiers: coded a way to test whether the dm needs to be copied (i.e. if the affected cdata layer is or not the original one).
...
However, as this piece of code tends to slow down things (see e.g. scene 5 of WeightVG test blend file), I deactivated it for now...
2011-07-27 18:48:23 +00:00
Campbell Barton
7e466266d3
fix [ #28098 ] Continuous Grab does not work for movement of the "Backdrop" in the Node Editor
2011-07-27 17:49:35 +00:00
Campbell Barton
3b6cb504b1
minor warning fixes for clang-static-checker
2011-07-27 13:03:56 +00:00
Campbell Barton
46cea37266
fix [ #28066 ] Unchecking 'self project' messes up 'Snap to Vertex'
...
this option is useful for all non-grid snapping modes (when in editmode) so make available in those cases too.
2011-07-27 07:22:31 +00:00
Campbell Barton
48a64ffa70
more minor warning cleanups and improve error reporting if text fails to save.
2011-07-27 06:55:20 +00:00
Thomas Dinges
955ba3f7fb
* Fixed a typo in the code (uiLayoutItemSplt -> uiLayoutItemSplit)
2011-07-26 20:22:54 +00:00
Campbell Barton
a460299b08
- bugfix for icon listview where the icons would only wrap once
...
- also quiet some clang warnings
2011-07-26 19:47:56 +00:00
Bastien Montagne
af286ac95b
vgroup_modifiers: Addressed most ideasman’s remarks and suggestions in his last review.
...
*Removed curve init code in readfile (no more needed since the split broke anyway compatibility with earlier WeightVGroup files…).
*Updated get_ob2ob_distance() code (much simpler – I’m not a matrices’ god!).
*Enhanced a few RNA names (Campbell has others in mind here, though, I think).
2011-07-26 18:51:35 +00:00
Bastien Montagne
07dc73fa31
Merging r38694 through r38739 from trunk into vgroup_modifiers
2011-07-26 18:28:43 +00:00
Brecht Van Lommel
3e81de486a
RNA: function calls with optional parameters were not giving correct default
...
values for arrays.
2011-07-26 16:01:09 +00:00
Campbell Barton
ca293c835f
correct misc warnings
2011-07-26 13:33:04 +00:00
Campbell Barton
40353fe0d8
fix for NULL pointer crash with operator repeat, looks like error print got mixed up.
2011-07-26 13:05:22 +00:00
Campbell Barton
06ae122f60
include menu ID's in tooltips when python tips are enabled, there was no way to find the ID of a menu which become annoying if you wanted to reference it from a script.
2011-07-26 09:19:51 +00:00
Sergey Sharybin
7c9033d606
Fix #28087 : Opening files in the text editor ignores the last newline '\n'
...
It was tricky conversion of file buffer to text lines. Should work fine now.
2011-07-26 08:13:27 +00:00
Campbell Barton
9e1a553127
set the development cycle to 'beta'.
2011-07-26 07:41:14 +00:00
Brecht Van Lommel
5b3906728f
Fix #28035 : point density texture doesn't bake.
2011-07-25 16:37:10 +00:00
Brecht Van Lommel
aec8d72ca7
Fix #28079 : UV propertional editing was incorrectly influenced by the
...
mesh X mirror option.
2011-07-25 16:16:32 +00:00
Bastien Montagne
1e2e080853
Adding WeightVG modifiers code. Still some points to tweak, though.
...
NOTE : Haven’t yet tested build with scons, will do asap (unless someone else does :) ).
2011-07-25 15:27:01 +00:00
Campbell Barton
ced8f1dffc
deprecate multiplication orders:
...
vector * matrix
vector *= matrix
vector * quaternion
vector *= quaternion
Use the reverse order instead, enable WITH_ASSERT_ABORT in cmake to promote the warnings into errors.
2011-07-25 01:44:19 +00:00
Janne Karhu
a22de3f73c
Effector calculations are now thread safe.
...
* where_is_object_time was called for every effector evaluation only to determine the object velocity in some rare cases.
* Calculating the effector velocity is now done in the effector precalculation stage.
* Removing this makes the code thread safe and also should give some nice performance boosts when simulating a lot of points.
* Thanks to MiikaH for noticing this problem.
2011-07-24 17:44:22 +00:00
Thomas Dinges
b401d09d8f
* Minor code cleanup / comment changing. No functional changes.
2011-07-24 11:11:23 +00:00
Sergey Sharybin
b154b59938
New dilation function from Morten Mikkelsen (aka sparky).
...
This commit fixes very noticeable seams caused by margins
calculated incorrectly. This commit changes way margin is
calculated in and makes textures really seamless.
Also margin limited to 32 isn't good now -- artists are baking
really large textures nowadays so margin is now limited to 64px.
Thank you, Morten!
2011-07-24 10:26:22 +00:00
Thomas Dinges
43994ce213
2.5:
...
* Removed some old not used code.
2011-07-23 22:08:37 +00:00
Dalai Felinto
742225d9b4
bugfix: [ #28026 ] Copy Game Property broken
...
not exactly a bug, but the option to copy individual properties was not working from the SPACE menu.
I believe this was happening because we are using dynamic enums.
This commit makes the "merge" option to be the default one. So if you call it from the SPACE menu it will be the one used.
2011-07-23 18:03:01 +00:00
Ton Roosendaal
ffc490cbf1
Two fixes in drop-node-on-noodle:
...
- Intersection code was using undefined vector
caused wrong lines to be picked
- Code now also copes with hidden sockets.
If all fails, is just unhides a good socket.
2011-07-22 16:39:06 +00:00
Ton Roosendaal
eed7702c99
Small fix in drop-node-on-noodle: intersect code only did 3 edges of
...
node.
2011-07-22 16:02:56 +00:00
Ton Roosendaal
ea90544d65
Need some fun once a while:
...
On dragging a non-connected node on a noodle, it will insert it.
Functionality tweaks are possible, but it already feels non-intrusive.
Rules:
- Insertion only when a single noodle is intersecting with node.
- Default connects first matching socket type.
- If no socket match, it connects the first.
2011-07-22 15:28:50 +00:00
Campbell Barton
0e933d089d
fix [ #27910 ] baking ambient occlusion, do not consider closer object for blender 2.58a
2011-07-22 05:33:06 +00:00
Campbell Barton
30da1336a8
patch [ #28045 ] Straighten tool from Simple Todos
...
from Kyle Mills (khonkhortisan)
2011-07-22 01:21:20 +00:00
Campbell Barton
6040a28f03
missed this file when adding option to disable frameserver
2011-07-22 00:34:03 +00:00
Campbell Barton
03bae345be
fix [ #28053 ] New material tooltip
2011-07-22 00:31:24 +00:00
Campbell Barton
58895bee7b
fix [ #28052 ] PET: Shift-O cycling skips "random falloff"
2011-07-21 23:36:17 +00:00
Campbell Barton
e6604288c8
cmake - option to disable the frame server
2011-07-21 23:06:51 +00:00
Daniel Salazar
2c798fd86d
Adding Shear transform to UV menu and Ctrl Alt Shift S hotkey (same as in 3D View)
2011-07-21 21:34:08 +00:00
Ton Roosendaal
bbfe3c9c49
Bugfix #28034
...
Blender render optimizes alpha=0 materials away, unless it has
a number of properties... but there wasn't a check for material
being ray-mirror, it then should be rendered always.
2011-07-21 17:40:20 +00:00
Sergey Sharybin
3e9d1d7683
Corrected View Selected operator for image editor so now it works
...
fine for images with different X and Y aspect ratio.
2011-07-21 09:50:39 +00:00