Bastien Montagne
ce20487fa7
Merging r38765 through r38817 from trunk into vgroup_modifiers.
2011-07-29 13:45:22 +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
Thomas Dinges
336a47cdcf
* Code cleanup
...
A row with alignment for 1 property = useless: ;-)
2011-07-28 18:19:15 +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
722474a7ea
fix [ #28095 ] Select Pattern don't select all the bone in edit mode
...
& some style changes.
2011-07-28 07:55:09 +00:00
Campbell Barton
b71ccf3e06
fix error in writing dupligroups for X3D export, may have effected other exporters too.
2011-07-28 07:10:39 +00:00
Campbell Barton
e2522cead2
report an error when user blender versions other then 2.4x for animation playback.
2011-07-28 05:09:31 +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
Bastien Montagne
b830c0e394
Merging r38740 through r38764 from trunk into vgroup_modifiers.
2011-07-27 18:57:57 +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
Thomas Dinges
9a250bea61
Fix part of [ #28088 ] bad button spacing with layout engine for menu items.
...
* Fixed a cut off text.
* small cleanup
2011-07-26 20:05:17 +00:00
Bastien Montagne
07dc73fa31
Merging r38694 through r38739 from trunk into vgroup_modifiers
2011-07-26 18:28:43 +00:00
Campbell Barton
9e1a553127
set the development cycle to 'beta'.
2011-07-26 07:41:14 +00:00
Campbell Barton
71692e802f
py api:
...
- added menu templates
- move template menu into the header of the text editor (so users will find more easily)
- updated mathutils examples, switching the order of multiplication.
2011-07-26 07:39:00 +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
e882925b49
more vector order switching.
2011-07-25 09:31:39 +00:00
Campbell Barton
799714fbc9
minor edits to animation playback operator
...
- remove own copyright from script
- print command before executing (helps troubleshooting)
2011-07-25 07:14:54 +00:00
Campbell Barton
4f4eeb826a
style changes for operator scripts & some pep8 edits.
2011-07-25 06:40:16 +00:00
Campbell Barton
6065390f4c
fix for DingTo's recent commit with the animation player, it ignored the case where the player is not an absolute path but found in the users $PATH (as is common on *nix systems).
...
now try and execute player, reporting the exception rather then checking the player file exists.
also made some pep8-80 style edits.
2011-07-25 06:38:21 +00:00
Campbell Barton
a07d7edb82
swap vertor multiplication order for add torus.
2011-07-25 06:09:39 +00:00
Campbell Barton
d4552034c6
edits to quick effects scripts
...
- use uv layer data api rather then operator.
- switch vector rotation order.
- made some style changes, use 80 width.
2011-07-25 05:54:32 +00:00
Campbell Barton
3e91de7ffd
External image operators.
...
- use bpy.data.is_saved (was using a workaround from when before this attribute was added)
- fixed a bug where editing relative paths could fail.
2011-07-25 05:10:44 +00:00
Campbell Barton
5132be21d1
fix [ #28075 ] After the correction of No.38528 is applied, the following phenomenon has been generated.
...
own fault in recent addition of bpy.path.basename() not supporting byte paths.
2011-07-25 04:00:11 +00:00
Campbell Barton
7f60ee6cb5
reverse vector multiplication order for some internal functions.
2011-07-25 03:59: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
Thomas Dinges
4ab7c6ae1a
2.5 World Buttons:
...
* Exposure and Color Range buttons were missing, added them back.
2011-07-24 11:24:30 +00:00
Daniel Salazar
cb2423e849
Add Push/Pull to toolbar
2011-07-24 00:59:03 +00:00
Thomas Dinges
43994ce213
2.5:
...
* Removed some old not used code.
2011-07-23 22:08:37 +00:00
Thomas Dinges
39edc53558
2.5 External animation player:
...
* Fixed an error when "Custom" was used and the path was empty (variable reference before assignment)
* The Operator now raises an error if there is no path or the path given is not available.
2011-07-23 21:45:22 +00:00
Thomas Dinges
8cbd88aeef
2.5 UI:
...
* Added back icon to open the Splash Screen in the info header, next to version string info.
* Removed an unnecessary toggle argument for particle mode select buttons. The Toggle argument is only intended for booleans, not enums.
2011-07-23 15:36:51 +00:00
Daniel Salazar
89c062038a
Let's try default High Quality for object align, it's slow but it's simply the correct way, users can disable while tweaking the align modes and then enable again for final result IF they are working on *dense* meshes
2011-07-22 15:54:54 +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
Campbell Barton
76e91d7a5f
fix [ #27922 ] using preset_paths() with an absolute path returns twice the same thing
...
raise an error when an invalid subdir is passed to preset_paths()
2011-07-20 15:33:27 +00:00
Campbell Barton
4ad43aaf16
added bpy.path.basename because "//" prefix breaks os.path.basename.
2011-07-20 08:10:01 +00:00
Daniel Salazar
fd7825e7dc
Speedup, do only one global matrix grab per obj
2011-07-19 15:30:19 +00:00
Daniel Salazar
1191c1ead9
Object Align operator: coudn't resist and added a high quality (slower) option to get perfect alighment on complex shapes with rotation/scaling :D
...
sexy example:
http://www.pasteall.org/pic/show.php?id=15171
2011-07-19 15:07:29 +00:00
Daniel Salazar
c7d8d28939
Object Align operator now correctly computes a *global* bounding box for all objects. This makes rotated or scaled objects work like they should. Now it's still derived from object's bounding box so it will not be completly acurate on complex objects.. to solve this Id need to cycle over all verts. Don't think that's a good idea to do in py
2011-07-19 13:27:05 +00:00
Jeroen Bakker
4024b14b43
fix for [ #28012 ] Mat ID messy with shader nodes
...
Issue was that the Shader tree execution changed the ShaderInput.
Changes are that the UI is updated that only the main material will have the pass_index this is displayed in the "render pipeline options" panel.
When the material is not a node material the pass_index will be shown at the "options" panel
To test enable nodes on the material
Add a new input material
change the pass_index of the material (render pipeline options)
Enable RenderPass material ID and use the compositor to read out the material pass
Jeroen
2011-07-19 08:31:53 +00:00
Campbell Barton
f4b6d00926
fix for bpy.path.abspath(), if a path was passed it would get the last directory cut off, broke copying images on export.
2011-07-19 05:05:54 +00:00
Campbell Barton
ce00a32f05
fix [ #27996 ] Smart UV Unwrap Still Results in Overlaps
...
real fix this time :S, I thought using old code from 2.4x would fix but quaternion needed to be inverted.
2011-07-18 06:44:41 +00:00
Campbell Barton
8dd72c476e
fix [ #28005 ] Python Add-Ons are constantly reloaded if twice in the path
...
Addons are checked for their timestamps and reloaded when it changes but this failed when, 2 addons had the same name since different times caused 2 reloads on every redraw.
Now when duplicate addons are in the path now give a error message in the UI and print path conflict in the console and don't thrash reloading.
2011-07-18 05:41:46 +00:00
Campbell Barton
13e82ff8e1
fix [ #27971 ] Blender OBJ export with Z-Up setting produces an error and fails
...
changes to extensions coming up...
2011-07-18 05:07:54 +00:00
Campbell Barton
7e4ccf9349
template for patch exporting objects in a scene.
2011-07-17 13:29:50 +00:00
Brecht Van Lommel
f94c9d5d61
Fix python error in image sampling panel drawing when
...
there is no texture slot available.
2011-07-13 18:07:30 +00:00
Brecht Van Lommel
74536efa91
Fix #26704 : activating a texture node inside material nodes did not show that
...
texture in the texture properties.
2011-07-13 17:52:23 +00:00
Campbell Barton
b0ffa7fc58
patch [ #27950 ] Patch to add the ability to generate random points on mesh faces
...
from Andrew Hale (trumanblending)
2011-07-13 07:50:21 +00:00
Jeroen Bakker
b724c7f27e
Add delete with reconnect feature.
...
this will reconnect nodes as if the deleted node is muted.
Operation is added to the space_node node menu and to the keymap as CTRL-X
to test this just add some nodes to the space_node
select one or multiple nodes and press CTRL-X
It should reconnect the nodes as they were muted
limitations:
1. it performs a delete and reconnect per node. It does not evaluate all selected nodes as one whole
2. mute only supports Value, Vector and Color data types, so does this feature
3. not usable for nodes where input and output does not match (like colorToBW)
Where reconnect could not be preformed the links will be removed from the model.
Undo works with this delete with reconnect.
2011-07-12 18:59:54 +00:00
Campbell Barton
dbc9e36f72
make python3.3 compatible, __class__ is no longer in the class methods namespace.
2011-07-11 05:50:49 +00:00
Campbell Barton
301e5b4ea0
fix for various python bugs and remove unused var.
2011-07-10 17:26:15 +00:00
Campbell Barton
b62a956cc8
cleanup for python scripts - unused vars and imports
2011-07-10 12:51:37 +00:00