Campbell Barton
af39f26360
fix, uvproject modifier wasn't copying the uv layer name,
...
also edit var names from recent commit to better fit with other functions.
2011-08-01 05:25:30 +00:00
Campbell Barton
9da712a581
replace dutch variable name 'aantal' with 'tot'
2011-08-01 02:58:44 +00:00
Campbell Barton
f48b906261
fix for failure to create curve knots when both endpoint and bezier U were enabled.
...
use default when invalid settings given.
removed odd/annoying bit shifting of the flagu/v for such basic function made code hard to understand and would fail if new flags were added.
2011-08-01 02:52:08 +00:00
Janne Karhu
5c8344bcc9
Bug fix: loading a file that had particles using a dupligroup from a liblinked file without the library file being present crashed
2011-07-31 16:26:02 +00:00
Campbell Barton
2620bd0ade
fix for error in recent commit.
2011-07-31 12:46:34 +00:00
Campbell Barton
c74bb09584
fix for material slot removal (r38879)
...
- The object ID was being passed to the data_delete_material_index_id() from object_remove_material_slot(), rather then the object data. (so the material slot fix wouldnt run in that case).
- add support for fixing text object materials too.
2011-07-31 12:43:41 +00:00
Dalai Felinto
5b3bb37343
reverting part of #38876 (whitespace edits)
...
the new if/else nesting introduced in the previous commit makes no sense.
(since I was here I add a comment for extrainfo and did some small cleanup)
2011-07-31 11:21:48 +00:00
Dalai Felinto
432bd158fb
bugfix [ #28111 ] material.pop breaks mt->mat_nr
...
create a new parameter for materials.pop() to not remove material slot.
this way the mat_nr is still the old one.
for the default behaviour we now have material remapping (i.e. data_delete_material_index_id(id, index)).
This new function is brought from the material_slot remove function.
2011-07-31 11:12:38 +00:00
Campbell Barton
f4a1dc4c8d
when converting curves from poly -> nurbs, dont enable Bezier-U flag.
...
Not sure why this was enabled, possibly from copy/paste with bezier->nurbs code?
If you have meny poly lines there was no nice way to convert these into a smoothed nurbs curve.
Ran into this when trying to convert generated ivy into smooth nurbs.
2011-07-31 07:58:50 +00:00
Campbell Barton
c7a1a19153
whitespace edits, had odd space/tab mix
2011-07-31 07:54:24 +00:00
Campbell Barton
c19e88ac26
fix for building without bullet
2011-07-31 07:45:54 +00:00
Guillermo S. Romero
e8c3c4097a
SVN maintenance.
2011-07-31 06:03:14 +00:00
Campbell Barton
f4293067c1
py api: sphinx doc corrections, pep8 cleanup and style edits, also added __all__ to some modules which were missing it.
2011-07-31 03:15:37 +00:00
Nicholas Bishop
670f58023c
== PBVH ==
...
OK, after that failure of committing a bunch of old junk, hopefully
this is what I actually meant to commit :)
* Added big comments to some of the fields in struct PBVHNode. I
always forget the details of these, so finally wrote it down
properly.
* Changed types of PBVHNode.face_vert_indices and PBVHNode.flag to
better reflect their contents.
* There should be no functional changes here.
2011-07-31 02:34:53 +00:00
Nicholas Bishop
6c3bb8b903
EditMesh-based skin node drawing
2011-07-31 02:03:48 +00:00
Nicholas Bishop
cff57b14a1
Imported bsphere.c, mostly ifdef'd out for now
2011-07-31 02:03:39 +00:00
Nicholas Bishop
ccf186017a
Added stub for Skin modifier UI
2011-07-31 02:03:33 +00:00
Nicholas Bishop
cae05598b1
Added DNA and RNA for skin modifier, stubbed in skin modifier functions
2011-07-31 02:03:28 +00:00
Nicholas Bishop
601eb68420
Added SkinNode DNA and customdata.
2011-07-31 02:03:21 +00:00
Dalai Felinto
dfc661565a
patch [ #27909 ] Added constants in bge.constraints by Solano Felicio (solano) + some changes in rst
...
I named all the BGE modules with their actual names (e.g. Rasterizer, Video Texture, ...). so in the API index.html page they look more like the other Blender modules.
I did the same for the bgl module.
For bge.constraints this patch exposes the constants values for debug mode and createConstraints (they were hardcoded innts before).
+ making all the "todo" and #comments into rst comments (.. comments)
Thanks Solano, it's great to get help to those tasks :)
2011-07-30 23:16:22 +00:00
Alexander Kuznetsov
6e788c37df
Hides console on win32 even if python path is 2 or more lines
...
Adding tlhelp32.h header
2011-07-30 19:09:34 +00:00
Ton Roosendaal
805a169f70
Bugfix #28121
...
Linked Library objects or object->data should not allow to go
to sculptmode. Also cleaned up mode menu with invalid entries then.
2011-07-30 15:45:27 +00:00
Campbell Barton
d163ce5595
bpy fix for crash/assert on running dir() on a non collection property + some other minor corrections.
2011-07-30 13:18:04 +00:00
Ton Roosendaal
681b26a48e
Bugfix #28109
...
Old issue with OSX Cocoa code: shift+scrollwheel should send
a 'horizontal wheel' event to Blender. Blender only recognizes
scroll events in general though. The old code then just didn't
send an event at all, not passing on shift+scrolls.
Now the scroll event is sent anyway, relying on Blender's
keymapping to define what to do with shift+scroll.
This fixes things like shift+scroll to scale ListBox widgets.
2011-07-30 10:14:50 +00:00
Campbell Barton
f66ec41b6a
quiet some compiler warnings & fix possible (but unlikely) crash.
...
also added GPLv2+ header to resources.c.
2011-07-30 09:24:10 +00:00
Thomas Dinges
6a27da310c
While looking at the bug report, found some more issues...
...
This is the result of RNA renaming at it's glance. ;-)
2011-07-29 20:59:46 +00:00
Thomas Dinges
99997ccd18
Fix for [ #28117 ] Diffuse reflection IPO curve not imported correctly from 2.49b files
2011-07-29 20:46:30 +00:00
Alexander Kuznetsov
6b987910e4
Patch [ #27925 ] by Andrew Cox and me
...
Modifier key sticks after Alt-tab on Win32
2011-07-29 20:21:37 +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
Thomas Dinges
336a47cdcf
* Code cleanup
...
A row with alignment for 1 property = useless: ;-)
2011-07-28 18:19:15 +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
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
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
0facd795f8
automatically update the redirect from http://www.blender.org/documentation/250PythonDoc/ when uploading docs
2011-07-28 03:08:35 +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
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
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
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
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