Commit Graph

29118 Commits

Author SHA1 Message Date
Ton Roosendaal
7cef4ea008 IRC bugreport:
Splitting/joining editors (areas) was possible in full-screen mode.
That's not possible, crashes on going back to previous.
2011-03-23 16:36:41 +00:00
Campbell Barton
a94e9c5955 fix [#26456] weightpaint mode with armature modifier, armature mode
disable bone selection in weightpaint mode when the armature is not in pose mode.
2011-03-23 16:05:35 +00:00
Ton Roosendaal
9019d3b1f2 Additonal fix for r35724
(bugfix #26573, #26574 and #26551)

Layer visibility code for hotkeys uses different code still, added same
new DAG_on_visible_update() in this operator.
2011-03-23 15:15:42 +00:00
Campbell Barton
2c4999eccb missed committing this before 2011-03-23 15:14:21 +00:00
Campbell Barton
66670b8f7f fix for building collada on linux 2011-03-23 15:07:30 +00:00
Nathan Letwory
3c45a2d298 COLLADA: supporting barebone class for <extra> support (incomplete). 2011-03-23 14:25:35 +00:00
Campbell Barton
392829c6ea fix [#26588] In render view, Blender crashes when collapsing an opened split render pane if you have the histogram tab open in the pane your collapsing. 2011-03-23 14:24:13 +00:00
Brecht Van Lommel
edc5cf1f96 Fix #26573, #26574 and #26551: objects on layers not visible on load or undo
restore, would not get their dependencies updated when they became visible.
It happend with a shrinkwrap modifier in these reports, but could happen with
other modifiers too.

Now we keep track of which layers have ever been updated since load, and tag
objects on them to be recalculated when they become visible.
2011-03-23 14:06:44 +00:00
Campbell Barton
72fe34efb2 tweaks not to load webbrowser or math modules on startup. 2011-03-23 13:04:35 +00:00
Campbell Barton
f87b37b3ef allow unregistered rna classes to have rna properties assigned before registration.
this is useful for the register() class method which is called before the class gets structRNA assigned.

eg:

class MyClass(bpy.types.PropertyGroup):
    @classmethod
    def register(cls):
        cls.name = StringProperty()  # assigned but registration is delayed.
2011-03-23 12:44:22 +00:00
Janne Karhu
f35c396676 Fix for 1. in [#26212] ParticleSystem.particles issues
* Exposed dynamic hair data in rna to allow exporting hair dynamics.
2011-03-23 10:57:45 +00:00
Brecht Van Lommel
f64f979a10 Fix wrong CINE_SCOPE_24FPS RNA enum identifier. 2011-03-23 10:33:06 +00:00
Joshua Leung
9b1ee158e5 Bugfix:
NLA Header was broken by recent Py UI-script changes
2011-03-23 09:22:28 +00:00
Nathan Letwory
82f99a0db0 Adding header for offsetof() 2011-03-23 09:18:09 +00:00
Janne Karhu
55b6315166 Fix for [#26580] Rekey deselects active verts
* Just a missing flag after rekeying.
2011-03-23 08:52:53 +00:00
Campbell Barton
6984924b96 fix implicit declaration 2011-03-23 01:50:14 +00:00
Campbell Barton
95173a4ae8 minor changes to master unpack script. 2011-03-23 01:08:10 +00:00
Nathan Letwory
4470783264 Fix [#26474] double_sided wrong in COLLADA Export
reported by Juan Linietsky

The export was not really wrong, but Maya expects their profile to be present inside <geometry>. Added this for mesh with ME_TWOSIDED flag set.

Ideally this will change in the future to be controllable through options to the exporter (like current Google Earth and 3DS Max extensions for <double_sided>).
2011-03-23 00:19:38 +00:00
Nathan Letwory
ee99cf5aa5 Wrong extension tag: show_double_sided -> double_sided 2011-03-23 00:03:52 +00:00
Nathan Letwory
de89e78589 Fix [#26475] <instance_material> wrong in COLLADA export.
reported by Juan Linietsky
fix by Imran Syed (freakabcd)

Use material index suffixed to material name to create symbolic name.
2011-03-22 22:51:02 +00:00
Nathan Letwory
60b94886c8 Small tweak to material export: only export as <lambert> when spec intensity is 0.0 and diffuse shader is set to Lambert. Other cases will be handled in due time, until then phong. 2011-03-22 22:00:26 +00:00
Dalai Felinto
a4e2ece786 Logic rna: actuator --> renaming Motion Actuator to 'MOTION' and tooltip fix
internally it's still called Object Actuator, but for the user at least it's better motion.
2011-03-22 19:39:53 +00:00
Erwin Coumans
c7f37b84d8 remove constructors, they cause compile errors under Fedora 2011-03-22 16:30:46 +00:00
Nathan Letwory
f78e11dc38 [#26476] <specular> and <shininess> missing from Colada
reported by Juan Linietsky

Export <specular> for <phong> and <blinn> shaders, <shininess> was already being written for these.
<lambert> shader doesn't have <shininess>.

Right now we write <phong> when blender spec is phong, <blinn> when blender spec is blinn. When spec is
any other shader, and diffuse shader set to lambert, we export as <lambert>. Any other combination defaults
right now to <phong>. This will change when Blender specific profiles have been created for the shader
combinations in Blender.
2011-03-22 15:28:56 +00:00
Brecht Van Lommel
e5eed21a6b Buildbot master tweaks: use generic builder for scons win32, unpack fixes. 2011-03-22 15:25:18 +00:00
Ton Roosendaal
636ceed094 Bugfix #26562
Keymap fix for UV/Image editor: the modal zoom/pan functions were checking
for hardcoded events to end. Now it uses the key from keymap.
2011-03-22 15:20:25 +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
fc7c3c663e - weight paint poll would crash if no area was found.
- don't print a line for each operator run when in background mode.
- extrude was using an invalid type for RNA access.
2011-03-22 14:04:47 +00:00
Janne Karhu
a69524358b Bug fix: Fluidsim crashed after clicking "bake" multiple times
* Fluid baking didn't check if there was already an ongoing job before starting a new job.
2011-03-22 13:30:50 +00:00
Campbell Barton
ddb9893ca9 some more corrections to incorrect rna get/set types. 2011-03-22 13:30:20 +00:00
Brecht Van Lommel
04a63cb393 Buildbot updates: working windows scons build, and run slave_*.py scripts
to compile/test/package directly from svn, easier to make changes this way.
2011-03-22 13:05:05 +00:00
Campbell Barton
5528781f79 add BLI_assert() type checks for RNA property get/set functions, since there ended up being quite a lot of these in blenders source.
These wont be compiled into release builds, and will only print errors by default (unless WITH_ASSERT_ABORT is enabled at compile time).
2011-03-22 12:56:57 +00:00
Nathan Letwory
e8dc841199 Version and platform name were in wrong order. 2011-03-22 12:54:13 +00:00
Campbell Barton
a79820d284 properties were being used with wrong type functions, this resulted in bad memory access when getting int from an enum. 2011-03-22 12:53:36 +00:00
Janne Karhu
4c3899ca09 Fixing the particle emitter interpolation (#25385 & #26493) further
* The interpolation should only be done if the dynamics were calculated, since otherwise animation keys can't be set after parenting.
2011-03-22 12:53:18 +00:00
Campbell Barton
a2acecc9d2 allow system info operator in background mode. 2011-03-22 11:44:46 +00:00
Campbell Barton
82d13ad999 add missing mem-free on vertex group sorting & dont crash when calling fullscreen in bg mode. 2011-03-22 11:19:02 +00:00
Nathan Letwory
d2a721cfd5 Add buildslave target for builder.blender.org integration 2011-03-22 10:26:53 +00:00
Campbell Barton
d485a54b59 crash fix for Normalize All VGroups on a lattice without vgroups (probably other tools too - bug was in ED_vgroup_give_parray).
Also fix for crashes running operators in bg mode by using setting poll functions: WM_OT_search_menu, MESH_OT_extrude_repeat, SCREEN_OT_new
2011-03-22 10:13:42 +00:00
Campbell Barton
cfc904f3f1 - support transform operators running in backgruond mode (was crashing)
- fix for crash getting the extrude mode enum value when a non-mesh edit object was active.
2011-03-22 09:14:27 +00:00
Nathan Letwory
a1567aa7c0 Printing error message would fail on exception. 2011-03-22 08:58:49 +00:00
Mitchell Stokes
481b4842cf Blenderplayer: Fixing import issues. Using PyImport_ExtendInittab() for the Blender modules allows them to be imported in the Blenderplayer. 2011-03-22 08:35:56 +00:00
Campbell Barton
91e4a1bdf8 fix for crashes moving armature layers and applying loc/scale/rot in armature editmode. 2011-03-22 08:30:07 +00:00
Campbell Barton
a5867232b1 poll functions were for keymap operators were still raising errors in some cases.
remove unused script dirs.
2011-03-22 08:21:16 +00:00
Campbell Barton
1b80538fea fix [#25688] undocumted functions in pyapi
expose collection function docs.
2011-03-22 04:28:51 +00:00
Mitchell Stokes
3384679aec BGE Dynamic Loading:
* Adding keyword arguments to LibLoad
   - load_actions (Default: False) Ensures that all actions are loaded. Otherwise, just actions used by objects in the scene are loaded.
   - verbose (Default: False) Turns on extra prints (eg SceneName: MyScene).
 * Also making error reporting better for when an invalid group/idcode is given.
2011-03-22 02:39:08 +00:00
Campbell Barton
2299d674f4 operators called from python were not getting their reports back into python errors.
eg:
- console calls operator
- operator calls report
- report went into header rather them back into the console as an error.
2011-03-22 02:38:39 +00:00
Martin Poirier
a503713d6c Moving netrender to addons 2011-03-22 01:40:22 +00:00
Campbell Barton
f3686b5885 py/api registration:
move calls to the classes register/unregister function into register_class() / unregister_class() and add docs.

also other minor changes:
- remove face sorting keybinding, was Ctrl+Alt+F, this is quite and obscure feature and face order normally doesn't matter, so access from Face menu is enough.
- add commented out call to mesh.validate() in addon template since its useful to correct incomplete meshes during development.
2011-03-22 01:38:26 +00:00