Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-14 08:25:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-14 08:25:47 +0400
commit4b7d981c91f1c0ce97471ee55c322e8a9f61107f (patch)
tree8726e3e32325e80c66fc4a86c3617b74c99575d7 /source/blender/makesrna
parentdaa3dd0e9bc4ebc0e61a7d4a2bbce21f1fef0ce8 (diff)
view3d api edits, no functional changes.
rename v3d functions * view3d_to_ob -> ED_view3d_to_object * view3d_apply_ob -> ED_view3d_from_object * view3d_apply_mat4 -> ED_view3d_from_m4 Changed ED_view3d_to_object() not to temp modify the view rotation and don't overwrite the objects recalc.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_space.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 5281e152d54..c92c0d971e8 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -426,7 +426,7 @@ static void rna_RegionView3D_view_matrix_set(PointerRNA *ptr, const float *value
{
RegionView3D *rv3d= (RegionView3D *)(ptr->data);
negate_v3_v3(rv3d->ofs, values);
- view3d_apply_mat4((float (*)[4])values, rv3d->ofs, rv3d->viewquat, &rv3d->dist);
+ ED_view3d_from_m4((float (*)[4])values, rv3d->ofs, rv3d->viewquat, &rv3d->dist);
}
/* Space Image Editor */