Campbell Barton
331dd678c7
error with recent commit, thanks Ender79 for finding.
2011-11-18 17:28:19 +00:00
Campbell Barton
4f7ecd79fe
speedup for editmesh tesselation (approx 4.4x speedup in optimized builds),
...
this is important because it runs while transforming the mesh in editmode.
also made this code a bit more efficient.
2011-11-18 16:06:20 +00:00
Campbell Barton
cb2b92ce27
mesh_recalcTesselation speedup, ski[ check for 3-4 sided faces - dont use scanfill in these cases.
...
overall 6x speedup on an optized build (Suzanne subsurf level 5, applied)
2011-11-18 12:18:44 +00:00
Campbell Barton
42c0250b28
fix [ #28676 ] Tris to Quads: "Max Angle" is not interpreted correctly
2011-11-18 09:41:39 +00:00
Campbell Barton
e1250f2168
svn merge ^/trunk/blender -r41954:41961
2011-11-18 09:34:45 +00:00
Campbell Barton
d498dd3939
make RNA_def_float_rotation usable for single value rotations (not arrays).
2011-11-18 09:23:55 +00:00
Bastien Montagne
7084ab4f43
Moving spanish code from es_ES to es for now (as the best spanish translation is es.po...).
...
Else, gettext first search into es_ES (and es_MX it seems???), before using content from es, which currently is not good.
2011-11-18 09:16:29 +00:00
Sergey Sharybin
971065ec9a
Set floor fails to make camera be in positive Z half-space if it was parented to other object.
2011-11-18 08:48:33 +00:00
Campbell Barton
aa19d53de1
edits to 41957, main changes to render layer removal.
...
- report an error if the layer can't be removed
- check the render layer is in the list before removing
2011-11-18 08:42:44 +00:00
Sergey Sharybin
9f0a6dca13
Added methods new and remove to scene.render.layers, so now render layers
...
can be created and removed from scripts.
2011-11-18 07:11:54 +00:00
Campbell Barton
c63873ad22
exclude addons_contrib for release builds for scons/osx too
2011-11-18 05:14:13 +00:00
Campbell Barton
5600d214f1
svn merge ^/trunk/blender -r41939:41954
2011-11-18 05:06:53 +00:00
Campbell Barton
c6c6a3578b
tab -> spaces
2011-11-18 04:55:43 +00:00
Campbell Barton
e9be8b4a0a
document py gotchas
...
- dont assume you get the data names you ask for
- beware of collisions with library names
- beware of py modules calling sys.exit
2011-11-18 04:48:27 +00:00
Campbell Barton
e7f52d9953
addons in contrib now have their own 'Testing' category which is off by default.
2011-11-17 20:11:20 +00:00
Campbell Barton
8c6057d5e3
exclude addons_contrib/ for release builds.
2011-11-17 19:43:59 +00:00
Bastien Montagne
14e103b827
Tweaks and fixes to UI messages, found while translating in french.
2011-11-17 19:26:50 +00:00
Andrew Wiggin
8a8566c894
Fix [ #29256 ] Import images as planes add on doesn't work correctly in bmesh
2011-11-17 18:48:49 +00:00
Campbell Barton
22b5a3735f
add flag FUNC_USE_MAIN for rna functions which don't need the context. (currently unused)
2011-11-17 18:41:37 +00:00
Campbell Barton
d90e3759bc
centralize some of the came install commands, were being copied between osx/win/linux
2011-11-17 18:23:34 +00:00
Campbell Barton
92ed90d2fa
pyapi feature from 2.4x
...
allow collection subscript to contain the library or None.
eg:
bpy.data.objects["Mesh", "/subsurf_test.blend"]
bpy.data.scenes["Scene", None]
# also works with get()
bpy.data.armatures.get(("some_armature", "//some_lib.blend"), None)
2011-11-17 08:47:34 +00:00
Konrad Kleine
096f7c06b1
Fixed comment in BLI_dlrbTree_search_exact
2011-11-17 08:02:36 +00:00
Campbell Barton
db44a92a11
pydrivers: 'frame' is now in the driver namespace,
...
- no need to link to scenes when using a frame from the pydriver, this made linking rigs for eg, quite messy.
- advantage that we get subframe values (where scenes from was fixed to a whole number).
2011-11-17 07:08:09 +00:00
Andrew Wiggin
cc64af9bfa
warning cleanup
2011-11-17 06:08:58 +00:00
Campbell Barton
dfeda8688e
svn merge ^/trunk/blender -r41932:41939
2011-11-17 05:33:02 +00:00
Andrew Wiggin
1038c76c55
Add access to UVs from python, patch python unwrap scripts to work wtih ngons
2011-11-17 05:03:07 +00:00
Campbell Barton
1cfbde0eb4
pass encoding to uses of decode() incase the default isnt utf-8. ignore decode errors in some cases.
...
This should fix an error with generated qtcreator projects.
also replace decoded bytes for unicode escape sequences in the VIEW3D_MT_edit_text_chars menu.
2011-11-17 04:05:54 +00:00
Antony Riakiotakis
68fa959de5
BLI_mempool redefined causing compile time error, removing duplicate typedef
2011-11-16 22:20:17 +00:00
Brecht Van Lommel
7fbf5fbe87
UI: editor splitting widgets in corners now draw antialiased, also fix 1 pixel
...
inconsistency between bottom-left and top-right.
2011-11-16 20:36:06 +00:00
Bastien Montagne
819d1f417d
Fix [ #29190 ] VSE bugs.
...
Only real bug was, that effect strips' start frame and length were editable. Made all four frame properties readonly on RNA level for those kind of strips (those for which get_sequence_effect_num_inputs returns a non-null value).
Also fixed the tooltip of frame_final_duration.
2011-11-16 20:03:54 +00:00
Campbell Barton
3ed866d2fc
svn merge -r41926:41932 ^/trunk/blender
2011-11-16 19:57:20 +00:00
Campbell Barton
3dcc9aef96
merge mempool changes from bmesh (adds mempool iterator).
2011-11-16 19:31:42 +00:00
Campbell Barton
93581ab815
remove NULL check for the pool, trunk doesnt have this, caller better check.
2011-11-16 19:26:11 +00:00
Sergey Sharybin
9b17d39ce0
Fix #29260 : Missing "Extend" parameter for Border Select
...
Added "Extend" flag to border select operators for editors:
- UV Editor
- Sequencer
- NLA
- Info Space
- Graph Editor
- File Browser
- Clip Editor
- Action Editor
- Channels and markers regions
Can be used for custom keymaps.
2011-11-16 19:22:14 +00:00
Campbell Barton
508c7f3ebd
better alignement for BLI_mempool struct
2011-11-16 19:17:33 +00:00
Campbell Barton
9d05ccf9e8
svn merge -r41899:41926 ^/trunk/blender. also sync mempool with trunk and move BLI_mempool_alloc out of mempools header where it was inlined
2011-11-16 19:06:38 +00:00
Miika Hamalainen
9f51785c4d
Dynamic Paint:
...
* Wave simulation speed doesn't anymore depend on surface size, but uses relative distances instead. This change will likely change simulation behavior on existing saves, but can be easily tweaked back using the "Wave Speed" parameter.
* Added a new wave brush type, "Depth Change". It uses the change of brush intersection between frames, giving a better looking "wake" for moving objects. It also doesn't leave any "dent" to the surface while remaining still.
2011-11-16 18:32:28 +00:00
Campbell Barton
707fcc42a3
replace macros with math functions
2011-11-16 17:37:20 +00:00
Campbell Barton
9087cb91d4
quiet compiler warnings for BLI_array defines, split BLI_array_append into BLI_array_append / BLI_array_append_r, the latter returning the new array location.
2011-11-16 17:09:41 +00:00
Campbell Barton
1af839081b
minor edits, move mempool stack vars into the nested scope when they aren't likely to be used, also formatting edits (was quite un-blender like).
2011-11-16 16:50:30 +00:00
Campbell Barton
4d9766aacf
minor cleanup
...
- remove / comment unused python vars
- replace mul_v3_fl(somevec, -1.0f); with negate_v3(somevec);
2011-11-16 16:38:37 +00:00
Brecht Van Lommel
0566694f6e
Cycles: cmake build system tweak, might solve compile issue.
2011-11-16 16:28:19 +00:00
Brecht Van Lommel
b4d453212a
Fix #29292 : cycles not loading linked image datablocks correctly.
2011-11-16 16:10:11 +00:00
Brecht Van Lommel
cb09ad43e1
Fix #29293 : NLA Strip modifiers don't survive save/reload. One letter
...
can make a big difference :)
2011-11-16 16:08:45 +00:00
Campbell Barton
aaf14ead15
edit the _BLI_array_growone macro so it doesnt give the error that values are calculated but not used.
2011-11-16 15:49:48 +00:00
Brecht Van Lommel
c6bbe25c29
Fix #29093 : world zenith up and down texture influence were not working
...
correct. These were decoupled from horizon influence for 2.5, but not
actually used in the render engine.
2011-11-16 15:47:25 +00:00
Campbell Barton
0c017bf146
tag index arrays as dirty when any element is removed, also check validity on operator init/exit (check was missed in some cases before)
2011-11-16 14:36:23 +00:00
Brecht Van Lommel
004cb6ba1b
Fix #29160 : material node "Texture" didn't use default texture coordinates
...
anymore when nothing was connected to the socket.
2011-11-16 14:13:43 +00:00
Brecht Van Lommel
ed5815fc7f
Fix #29243 : unlink texture datablock from material node in texture properties
...
could crash, RNA pointer from context was invalid.
2011-11-16 13:49:51 +00:00
Sergey Sharybin
7177ee0245
Pep8 changes for motion tracking py scripts
2011-11-16 13:39:58 +00:00