Campbell Barton
1642e2888c
rename Mesh.uv_loop_layers --> uv_layers
...
add filtering for document generator to support --partial bpy.types.SomeType
2012-04-22 23:51:50 +00:00
Campbell Barton
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
Bastien Montagne
c9d0de49b9
mesh_validate code for bmesh (i.e. polys/loops).
...
Everything seems to work well (many tests making random changes over various meshes went good), but the code is a bit complex and hard to follow, due to the various possibilities of invalid poly/loop combinations… Code also makes more operations than previous tri/quad faces version (hence is a bit slower), but I don’t think we can do otherwise, it’s just the price for bmesh flexibility. ;)
Note: added the py script I used to make the tests, under source/tests/...
2012-03-15 20:10:07 +00:00
Campbell Barton
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
Campbell Barton
1c91d62c7e
use BLI_path_cmp() rather then strcmp()
2012-03-08 02:19:41 +00:00
Campbell Barton
b81bfd86b4
use ValueError when vector/matrix multiplications sizes are not supported, was using TypeError for mat*vec and ValueError for vec*mat.
2012-02-11 14:27:36 +00:00
Campbell Barton
637bc0ddea
Code Cleanup: pep8 edits
2012-02-04 11:10:41 +00:00
Campbell Barton
e3958015db
Code Cleanup: check is / is not when comparing singletons.
2012-02-02 21:07:56 +00:00
Campbell Barton
d8c4e59f67
* fix for error in shape transfer (wrong var name).
...
* fix for error alligning object to the view when no space was set.
also added blenderplayer start to CTest operator blacklist.
2012-02-02 05:11:42 +00:00
Campbell Barton
369ae3d28d
internal cleanup, check.
...
* remove duplicate operator, wasnt used.
* added check for duplicate types for CTest.
2012-02-02 04:59:30 +00:00
Campbell Barton
879c13bbfc
rename rgb_float_to_byte, rgb_byte_to_float to rgb_float_to_uchar, rgb_uchar_to_float and swap args (math functions mostly have dest arg first like strcpy).
2012-01-19 09:09:00 +00:00
Campbell Barton
2019f636b0
misc small changes and bmesh support for testing script
2012-01-17 18:01:16 +00:00
Campbell Barton
ae9582836e
update to modifier testing script
...
added presets for hook/decimate/build/mask
2012-01-16 16:16:55 +00:00
Campbell Barton
a8176a9b48
WIP script to check results of different modifier combinations and display modes, useful for validating bmesh changes don't break specific modifier combinations.
2012-01-09 10:30:27 +00:00
Campbell Barton
89db50a712
patch [ #29534 ] Change Matrix Representation and Access in Python to Conform with Standard Notation
...
from Andrew Hale
Scripts which access matrix row/columns directly and scripts that create new matrices with elements defined will need updating.
For more info see...
* Guide for updating scripts
http://wiki.blender.org/index.php/User:TrumanBlending/Matrix_Indexing
* Discussion thread
http://markmail.org/message/4bpqpxkcvq4wjyfu
2011-12-22 01:05:03 +00:00
Campbell Barton
4d08df734c
unit test for mathutils python module from Andrew Hale, runs in CTest too
2011-12-20 01:49:24 +00:00
Campbell Barton
6e28ac2d7b
pep8 edits and avoid naming conflicts with python builtins
2011-11-24 19:36:12 +00:00
Campbell Barton
d9e99abe37
hide overly picky warnings from 'pylint' for pep8 script, indentation edits.
2011-11-19 16:17:35 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Campbell Barton
617d3cb852
pass -noaudio when running blender for various utilities - doc-gen and tests.
2011-10-19 21:55:27 +00:00
Campbell Barton
5699014440
add 3 PLY and STL export tests.
2011-10-10 00:29:23 +00:00
Campbell Barton
8f5112f191
pep8 update & some minor cmake edits.
2011-09-20 18:29:19 +00:00
Campbell Barton
1f7b41775b
minor warning fixes, also correct some float -> double promotions in shadeoutput.c
2011-09-02 03:32:57 +00:00
Campbell Barton
22d2764d50
use static sets rather then tuples, python optimizes this case.
...
minor change to lightmap unpack collecting unique meshes.
2011-08-08 05:21:37 +00:00
Campbell Barton
0160901c90
- update X3D and FBX testing checksums
...
- building with GHOST/SDL now adds the PREFIX
- image.external_edit operator errors out if the filepath isnt set (was annoying and loaded gimp while running tests)
2011-08-08 03:31:25 +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
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
35ce13562d
script to report deprecated functions of text and their age in days.
2011-07-18 09:49:26 +00:00
Campbell Barton
c2e12d33bd
update checksums for x3d tests
2011-07-01 13:39:35 +00:00
Campbell Barton
13465fd817
update for tests, error out when duplicate modules are found, all ctest tests pass again.
2011-06-09 16:20:00 +00:00
Campbell Barton
617a08162f
update ctest md5sums for import/export to match changes to the scripts, also some minor formatting change for bpy_props.c
2011-06-07 08:47:33 +00:00
Campbell Barton
7f598451fc
fix [ #26906 ] Panorama Button (Camera Data Properties)
...
- render check for ortho/panorama combination wasn't working since the flags were not initialized at the time of checking.
- disable panorama button in ortho mode.
2011-04-15 12:08:17 +00:00
Campbell Barton
28594bc742
minor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for convenience.
2011-04-10 10:45:56 +00:00
Campbell Barton
4b15fcf497
fix [ #26801 ] Undoing Animation modifiers undoes 2 steps.
...
also found grease pencil layer operators were not flagged to use undo.
2011-04-06 01:13:01 +00:00
Campbell Barton
751bbd0b6a
update test checksums (change in normals caused this). also make all imports write blend files so its easy to check what the imports look like.
2011-04-06 00:46:06 +00:00
Campbell Barton
162d02bf50
quiet warning & minor pep8 edits.
2011-04-04 22:42:43 +00:00
Campbell Barton
c8652b301f
pep8 checker, mostly pedantic style changes but also found an error in mesh_utils.mesh_linked_faces()
2011-04-01 02:41:15 +00:00
Campbell Barton
50a06eccff
pep8 cleanup
2011-03-27 05:23:14 +00:00
Campbell Barton
f141c81b5b
- fix for editfont using an enum func on boolean property.
...
- updated FBX export test hash.
2011-03-26 09:36:45 +00:00
Campbell Barton
287a185e90
found text editor X/Y selections coords were booleans and corrections to operator calling script from last commit.
2011-03-22 14:37:45 +00:00
Campbell Barton
f40d33f24b
Added CTest to run most operators in background mode under various conditions to see if any crash.
...
used this to find quite a many errors already.
2011-03-22 14:09:07 +00:00
Campbell Barton
5442e725a5
print how many times the operator failed.
2011-03-20 09:38:25 +00:00
Campbell Barton
35cee79a37
fix so the batch importer can run with addons passed as arguments.
2011-03-20 06:02:47 +00:00
Campbell Barton
3b8d4aa25f
2 tests for ctest.
...
- script_load_addons: loads and onloads all addons, error if any cant be enabled or disabled.
- script_load_modules: loads all blenders modules, error if any modules raise an exception or if any modules in the scripts dir are not tested (except for presets and templates).
These are useful because lazy module loading means a module can have an error which isnt raised until the tools used. This gives a way to detect basic errors that used to happen on startup or when enabling the addon.
2011-03-18 23:58:13 +00:00
Campbell Barton
4f5e20aeb4
remove cmake WITH_INSTALL option since its a target now.
2011-03-16 21:32:20 +00:00
Campbell Barton
1787fdbeed
update x3d test md5s for recent changes, also ensure directory is created or export tests fail.
2011-03-16 12:06:12 +00:00
Brecht Van Lommel
5f7126c96f
Fix "make test" on Mac, couldn't find executable.
2011-03-13 13:09:18 +00:00
Campbell Barton
42e9796c04
builder reports MSVC was setting stack size to 2gig.
2011-03-12 04:31:28 +00:00
Campbell Barton
fc0c016940
replace import *'s with named imports (using * is convenient for some scripts but considered bad practice by python devs)
2011-02-27 15:25:24 +00:00
Campbell Barton
fee5363912
bugfix [ #26094 ] Going to Bone Roll menu brings up python error
...
also correct for pep8 warnings.
2011-02-16 02:25:03 +00:00