mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
set_view_mat() needs to be preserved through make_copy()
This commit is contained in:
parent
540e5ff85e
commit
c301075586
@ -2019,6 +2019,11 @@ CData(const Lens::CData ©) {
|
||||
_convergence_distance = copy._convergence_distance;
|
||||
_keystone = copy._keystone;
|
||||
|
||||
// This matrix might have been explicitly set by the user (if
|
||||
// UF_view_mat is applied), so we must preserve it. Other matrices
|
||||
// are implicitly computed.
|
||||
_lens_mat = copy._lens_mat;
|
||||
|
||||
_user_flags = copy._user_flags;
|
||||
_comp_flags = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user