Commit Graph

19160 Commits

Author SHA1 Message Date
dd72ffe3ff py/rna api:
- bpy.context wasnt being created from the python bpy.types.Context type defined in bpy_types.py (bpy.context.copy() failed for eg.)
- bpy.context.copy() was returning C defined methods like FloatProperty(), which are not useful in this case, removed.
2010-06-09 19:31:10 +00:00
6b21085ed5 enable adding objects in background mode by not using the context to get the object added. 2010-06-09 19:20:05 +00:00
e3daab158c fix for crash setting the objects layers 2010-06-09 15:56:50 +00:00
e2bc4ca9ce Fix #22317 View reamins in camera's view after camera is deleted (again)
The problem was not in the editors, the code in blenkernel have a XXX
in the perspective value. Now unlink_object also update the ARegion.
2010-06-09 15:35:10 +00:00
1a36867017 recent addition: Shift+H in node editor was switching the preview of node types that didnt support it. 2010-06-09 14:17:22 +00:00
6cc6f8495f - added a flag argument to WM_operator_properties_filesel() currently only used for relative path option.
- added relative option to saving external multires data
- renamed multires external functiosn to have save / pack as suffix.
- added TODO's for file select operators that should support relative paths but dont.

- also disable openmp on linux cross compile, mingw currently isnt linking -lgomp
2010-06-09 14:04:34 +00:00
c023cd20fc attempt to fix problem with quicktime on MSVC 2010-06-09 08:33:22 +00:00
eb081dd991 rename rna function obj.make_display_list(scene) --> obj.update(scene)
also added 3 optional bool arguments, 'object', 'data' & 'time', matching the object recalc flags.
2010-06-09 08:24:31 +00:00
Dalai Felinto
3e56c4dda1 Logic Editor: bugfix for "Unable to Add Controllers sometimes" (reported in IRC by Daniel Salazar (ZanQdo)
What was happening; if
the old code (2.49) was changing the status from 0 to 1 inside the interface code. e.g. if (!ob->status) ob->status = 1;
Initializing it properly (in blenkernel) and making sure the new status is ever 0 (in rna_object.c) should fix it.

And yes, the log is bigger than the patch !
2010-06-09 08:00:45 +00:00
668a5156cd Fix [#22188] Minor UI bug with panels in the properties window.
This prevents header-less panels (such as object name in object properties) from being re-sorted
when dragging other panels.

Also minor tweak, make the 'a' key shortcut to open and close panels only work with there are no 
other modifier keys (like alt).
2010-06-09 07:55:49 +00:00
6d49d7043a Fix [#22111] Quad View panes have wrong view when switching between Global/Local View
Joe already committed this to render branch in r28545, but it's not in trunk. 
The code that was committed doesn't seem to work properly, either, needs braces.
2010-06-09 04:54:10 +00:00
1c693079a2 Fix [#22538] Crash when Selecting Particle Properties Tab (File-dependant)
psys->parent pointer wasn't getting handled in lib_link_particlesystems()
2010-06-09 02:42:20 +00:00
23d68fed88 Changed the HairKey location rna prop to give a location in object space,
rather than in its own internally used emitting-face-coordinate-system 
(which is how the data is stored in DNA - that data now exists in rna as 
hairkey.location_hairspace)

Basically this makes the hair information that's in rna a lot more useful, 
making it possible to export hair strands to external renderers for example.
2010-06-09 01:17:51 +00:00
d4518ca79e Fix #22534 linking object data for two forces results in crash.
This is because the make_links_data_exec don't check for the
object type like before, so try to access the obdata of an empty
and blender crash.

The solution is not the best, we have a new function
allow_make_links_data to check if we can links data from one
object to another.

The real solution is build the menu like the 2.4x, so only
show the options that we allow for the object type that
we have select/active.

Matt, any suggestion ?
2010-06-08 20:24:28 +00:00
c5cee16630 better not have an instant crash key, script reload currently disabled ubless running in debug mode.
removing keying sets and netrender makes reloading work so probably a problem with how rna works with these classes.
2010-06-08 10:56:59 +00:00
7caae1104e Reverting Tom's change to Merge to Quad in Trunk too 2010-06-08 10:42:35 +00:00
c5605c10d6 Assorted View2D formatting tidyups... 2010-06-08 00:51:57 +00:00
920850e630 Bugfix #22453: Jump to Next keyframe doesn't work on some frame
Jump to keyframe would get 'stuck' if it encountered a keyframe on "fraction" frames. Now, it will try multiple times until it finds one.
2010-06-08 00:08:45 +00:00
8e1a63dbc9 Merge -c 29322 from COLLADA branch into trunk. 2010-06-07 20:37:56 +00:00
740897a69e set the default options for new cameras to be the same as the default blend file 2010-06-07 20:08:03 +00:00
eb50486df2 Fix COLLADA build error. This was caused by the difference in OpenCollada versions between Windows and Linux/Mac. Windows uses OpenCollada revision 746, Linux/Mac - 721. 2010-06-07 20:07:31 +00:00
416e82b022 node toggle preview and hidden socket key shortcuts (Ctrl+H, Shift+H) 2010-06-07 20:03:40 +00:00
d9690e9295 Reverting commit 21540, incorrect bugfix. 2010-06-07 19:16:56 +00:00
52caf71ee2 Bugfix: copying a newly-created vertex group caused a crash. 2010-06-07 18:50:19 +00:00
6a8bff9570 Fixed bug #21540, Array Modifier Capping refresh on open problem.
* Problem was that the modifier directly accessed ob->derivedFinal, but that wasn't being built if the object was on a different layer. Changed to mesh_get_derived_final.

Notes:
* I fixed this for array and boolean, reported in the bug; there might be other places affected by this mistake. It's an easy fix if so.
* The datamask being passed in isn't especially correct. Possibly we should be accessing the datamask being used to build the array modifier DerivedMesh? Anyway, at least this will get the mesh to show up in the viewport.
2010-06-07 18:20:59 +00:00
e012fc8107 Fix #22487: Shrinkwrap ignores preceding deform modifiers
ShrinkwrapCalcData->vert contains verts from derivedMesh this coordinated
are deformed by vertexCos only for normal projection (to get correct normals)
for other cases this field contains undeformed dm's coordinates and
vertexCos should be used
2010-06-07 17:38:52 +00:00
f8346b1bcd Fix bug #22317 View reamins in camera's view after camera is deleted.
The object in the view3d don't get update, so point to the delete
camera and make Blender crash when you go into fly mode.
2010-06-07 16:24:24 +00:00
c13c3d0081 Smoke UI:
* Greying out for Smoke High Resolution Panel.
* Code cleaning, removed some unnecessary declarations.
2010-06-07 15:28:17 +00:00
180a9f1a81 fix for crash with the job system progress bar on load, matt you may want to check if this case should be happening at all. 2010-06-07 14:54:42 +00:00
ae8bba2165 Fix #22331: mesh deform modifier not caculate all shape keys when using 'apply shape keys in edit mode'
This modifier used undeformed coordinates from emDM.
Added method getVertCos to emDM, so meshdeform now could use it
to get deformed coordinates form any derived mesh.
2010-06-07 14:38:59 +00:00
d57ebc4ecc Fix [#22413] drag & drop images don't work untile you move the object 2010-06-07 07:47:27 +00:00
1dd36c243d Fix [#22494] Operator panel vanishes 2010-06-07 06:50:56 +00:00
8cb33327d8 Fixed bug #22515, RegionView3D has weird width/height values
* Changed the RNA for RegionView3D to not inherit from "Region", which is "ARegion" in DNA. As far as I know, in order to inherit like that the RegionView3D struct would need to start with an ARegion struct?
2010-06-07 05:45:30 +00:00
0a7d036f32 Fixed bug #22293, v2.49b to v2.5alpha2 incompatibility
* UV data on multires meshes wasn't getting imported properly. Fixed by separately loading in all "first-level" data from the old multires data type into mesh. Note that an "incorrect" data layers might still be loaded and be active on the mesh, but the correct layers should now also show up in the UV layer selector.
2010-06-07 04:48:22 +00:00
876e71844b Committing tom's fix that went to his student's branch instead 2010-06-07 03:57:49 +00:00
3efcdf5d47 Fixed bug #22361, missing graphics when sculpting with pinned shape keys
* Problem was that the sculpt PBVH was only used for redrawing if the derived mesh's vertices were equal the base mesh's vertices, which isn't the case when sculpting on shape keys.
2010-06-07 03:48:41 +00:00
61f50707a4 'fix' [#22527] Lens angle under View in 'N' panel does not change the camera view
Made the UI more clear that the Lens value is for the 3d view space data only.
2010-06-07 03:44:54 +00:00
e27756f0dc Fix [#22504] Fluid is completely broken in latest 2.5 build (04.06.2010)
Silly typo - some other tweaks too.
2010-06-07 03:02:47 +00:00
a8acb22f6a Fixed bug #22518, Segfault on loading file
* Problem was a pointer not being updated after the tree was changed
2010-06-07 02:42:26 +00:00
665506ced8 == Sequencer ==
Applied: [#22490] Add Passepartout to Sequence Editor for frame ranges
Thanks to Keith Boshoff	 (wahooney) for the patch!
2010-06-06 20:19:22 +00:00
c998c676b5 Made the operator panel larger to make more space for the operator settings. Was always too small before. 2010-06-06 20:00:44 +00:00
05188c26ce Merge -c 29280 from COLLADA branch into trunk. 2010-06-06 19:32:12 +00:00
ce9d2b8eb4 Small fix for sample line tool. Set luma data to 0 when out of bounds. 2010-06-06 16:26:49 +00:00
8eaa8a0763 Removed non working operator options from the 'redo' user interface.
This cleans up things like transform and duplicate a lot, which previously exposed lots of options that didn't work with tweaking.
2010-06-06 15:38:50 +00:00
640fb84bed - Added checking if modifier is active in find_multires_modifier
- Pass MultiresModifierData to reshape functions
2010-06-06 15:22:27 +00:00
d153c765bc CMake:
- WITH_LCMS added option, was supported in scons.
- commented web plugin option since its not maintained.
- some formatting changes and removed includes that are not needed for source/creator/CMakeLists.txt.
2010-06-06 13:32:58 +00:00
b4f12db4ec Don't report the python code for operators type which don't have the
'REGISTER' flag set.
2010-06-06 08:52:33 +00:00
8adf33c8a4 Add particle system rna pointer property to the particle system modifier 2010-06-06 08:51:53 +00:00
6e0340d0b5 removed cmake include path in recent cleanup which was needed. 2010-06-06 08:25:42 +00:00
ed338da8c9 - WITH_CXX_GUARDEDALLOC working again
- CMake building without python or fluidsim working again (broke in recent commit)
- remove BLI_short_filename(), it wasnt used anywhere.
2010-06-06 01:15:44 +00:00